Assigned Azure Custom Vision role to user but unable to access resource. Errors shown:
- Subdomain does not map to a resource.
- Please check if desired resource exists in subscription.
Assigned Azure Custom Vision role to user but unable to access resource. Errors shown:
As per this official documentation,
Azure Cognitive Services use custom subdomain names for each resource created through the Azure portal, Azure Cloud Shell, or Azure CLI. Unlike regional endpoints, which were common for all customers in a specific Azure region, custom subdomain names are unique to the resource. Custom subdomain names are required to enable features like Azure Active Directory (Azure AD) for authentication.
So, I suggest you to first create a Custom subdomain name for the resource and then use RBAC user to access it.
Also, make sure the user has either Owner or atleast Contributor permission for that resource.
Follow below instructions to migrate an existing resource to leverage custom subdomain names: