Hello Sunchury, Bishal,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that you are having error "Subdomain does not map to a resource" occurs due to either a misconfiguration or the limitations of the trial environment.
You can resolve or work around the issue without abandoning it by following the steps below:
Step 1: Ensure all steps in the "Exercise-Text moderation" module are followed exactly as outlined. Missing a step, such as configuring the subdomain or entering the correct URL, could result in errors. Double-check the specific subdomain details mentioned in the instructions. - https://zcusa.951200.xyz/en-us/training/ and if needed, reset the exercise environment and start fresh to ensure all settings align with the instructions.
Step 2: Azure typically assigns a default subdomain when a resource is created. Since trial accounts may restrict custom domain creation, locate and use this default subdomain. To Find Default Subdomain using Bash command:
# Azure CLI Command to Get Endpoint Details
az resource show --name <ResourceName> --resource-group <ResourceGroupName> --query properties.endpoint -o table
https://zcusa.951200.xyz/en-us/cli/azure/resource?view=azure-cli-latest#az-resource-show
Step 3: Verify the Content Safety resource is deployed and running in the Azure Portal. Navigate to Resource Groups, find the relevant resource, and check its status.
Reference Steps:
- Log in to the Azure Portal.
- Navigate to Resource Groups and locate your resource.
- Check the Overview tab for the endpoint and status.
If the resource is not active, redeploy it using the Azure CLI or Portal interface.
Step 4: Contact Microsoft Learn Challenge Support
If the issue persists despite verifying configurations and using the default subdomain, reach out to Microsoft Learn Challenge Support. Provide detailed information, including:
- Your Azure subscription ID.
- Details of the module and exercise.
- Screenshots of the error.
To Contact Information by emailto: challengesupport@microsoft.com
Step 5: If trial restrictions are confirmed to block the necessary functionality, consider creating a new free Azure account or requesting assistance from Microsoft to extend trial capabilities. You could also explore paid subscriptions if allowed and feasible.
I hope this is helpful! Do not hesitate to let me know if you have any other questions.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.