Getting 'HostNameNotOnVerifiedDomain' when setting AppId uri on Azure AD application object

Viewed 6188

I get an error 'Failed to update Application ID URI application property. Error detail: Values of IdentifierUris property must use a verified domain of the organization or its subdomain:' when trying to set my appid uri property while trying to expose an api from my app registration.

1 Answers

Guidance on the Azure AD docs states the identifier uri (aka AppId Uri) must use a default value provided which is api://appIdGuid or must use on of the allowed patterns which requires the host value to be a verified domain of the tenant. More information on AppId uri is available in the application registration security best practices doc. More information on the identifierUri attribute is available in the Azure AD application manifest section.

Related