Azure Active Directory Verify custom domain issue

Nitin Sharma 41 Reputation points
2022-04-18T06:43:35.767+00:00

Hi, My ADD app is showing 'unverified'. I am trying to verify the domain for that app from 'branding and properties->publisher domain- verify new domain' I am trying to add the domain but getting an error -> 'the JSON file located at the server has a content length that is not set or otherwise invalid'.Although I am able to download the JSON file from the server. Please help me to resolve this one.

Azure App Configuration
Azure App Configuration
An Azure service that provides hosted, universal storage for Azure app configurations.
204 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,100 questions
0 comments No comments
{count} votes

Accepted answer
  1. Carlos Solís Salazar 15,951 Reputation points
    2022-04-18T10:23:01.063+00:00

    @Nitin Sharma

    You cannot register that subdomain.

    Here is a quote from the documentation:

    If you want to add a subdomain name such as ‘europe.contoso.com’ to your organization, you should first add and verify the root domain, such as contoso.com. The subdomain is automatically verified by Azure AD. To see that the subdomain you added is verified, refresh the domain list in the browser.
    If you have already added a contoso.com domain to one Azure AD organization, you can also verify the subdomain europe.contoso.com in a different Azure AD organization. When adding the subdomain, you are prompted to add a TXT record in the DNS hosting provider.

    Source https://learn.microsoft.com/en-us/azure/active-directory/enterprise-users/domains-manage#add-subdomains-of-a-custom-domain

    I don't think that you can administrate the domain ngrok.io

    Hope this helps,
    Carlos Solís Salazar

    ----------

    Accept Answer and Upvote, if any of the above helped, this thread can help others in the community looking for remediation for similar issues.

    NOTE: To answer you as quickly as possible, please mention me in your reply.


    0 comments No comments

4 additional answers

Sort by: Most helpful
  1. Carlos Solís Salazar 15,951 Reputation points
    2022-04-18T10:00:34.787+00:00

    Hi @Nitin Sharma

    Thank you for asking this question on the **Microsoft Q&A Platform. **

    Please follow the steps from this website https://learn.microsoft.com/en-us/azure/active-directory/fundamentals/add-custom-domain

    If it doesn't work, share screenshots of the error.

    Hope this helps,
    Carlos Solís Salazar

    ----------

    Accept Answer and Upvote, if any of the above helped, this thread can help others in the community looking for remediation for similar issues.

    NOTE: To answer you as quickly as possible, please mention me in your reply.



  2. Nitin Sharma 41 Reputation points
    2022-04-18T10:11:37.307+00:00

    Hi @Carlos Solís Salazar thanks for the quick reply. I have already followed the given doc but I am getting an error while updating a new URL.

    I have tried multiple URLs but none of them worked. Sharing the screenshot.Thanks193759-screenshot-from-2022-04-18-11-56-40.png

    0 comments No comments

  3. Nitin Sharma 41 Reputation points
    2022-04-18T10:59:03.75+00:00

    HI @Carlos Solís Salazar thanks for this. It worked thanks

    0 comments No comments

  4. Abdulaziz Alanazi 1 Reputation point
    2023-01-01T13:45:39.817+00:00

    I did the same steps but the domain did not change

    0 comments No comments