Error "Subdomain does not map to a resource".

Sunchury, Bishal 20 Reputation points
2024-12-21T00:08:45.7166667+00:00

I am doing "Microsoft Learn Challenge | Ignite Edition: Build trustworthy AI solutions on Microsoft Azure" and in the module "Moderate content and detect harm in Azure AI Foundry by using Content Safety" in the "Exercise-Text moderation" when I run the test as per the instructions it shows an error "Subdomain does not map to a resource". The answer here says to create custom domain in Azure portal but I looked everywhere and we are not allowed to create custom domain. Maybe because it is a trial version to complete the challenge. Help me please I am come so far to quit now. Thanks!

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,004 questions
Azure AI Content Safety
Azure AI Content Safety
An Azure service that enables users to identify content that is potentially offensive, risky, or otherwise undesirable. Previously known as Azure Content Moderator.
26 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sina Salam 14,626 Reputation points
    2024-12-21T04:22:29.2866667+00:00

    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:

    1. Log in to the Azure Portal.
    2. Navigate to Resource Groups and locate your resource.
    3. 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.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.