Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

az ams account sp create does not work and throw "Values of identifierUris property must use a verified domain" error #20217

Closed
xinyi-frieda opened this issue Nov 5, 2021 · 2 comments · Fixed by #20281
Assignees
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. Media Services az ams question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team.

Comments

@xinyi-frieda
Copy link

xinyi-frieda commented Nov 5, 2021

Describe the bug
Unable to create/update SP using az ams account sp create
Error:
'Values of identifierUris property must use a verified domain of the organization or its subdomain: XXX'

To Reproduce
use command az ams account sp create.

Expected behaviour
Able to do the role assignment

Environment summary
CLI version: 2.30

Tested workaround
Use a subdomain of the verified domain as the SP name and it can work:
If needed, add your custom domain name using Azure Active Directory portal
Create the application with an authorized IdentifierUri
Create the service principal referring to this application

Related Breaking change on AAD
https://techcommunity.microsoft.com/t5/azure-tools/azure-active-directory-breaking-change-impacting-azure-cli-and/ba-p/2848388

@ghost ghost added needs-triage This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that customer-reported Issues that are reported by GitHub users external to the Azure organization. labels Nov 5, 2021
@jiasli jiasli added the Media Services az ams label Nov 5, 2021
@ghost ghost removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Nov 5, 2021
@jiasli jiasli added the Service Attention This issue is responsible by Azure service team. label Nov 5, 2021
@ghost
Copy link

ghost commented Nov 5, 2021

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @akucer.

Issue Details

Describe the bug
Unable to create/update SP using az ams account sp create
Error:
'Values of identifierUris property must use a verified domain of the organization or its subdomain: XXX'

To Reproduce
use command az ams account sp create.

Expected behaviour
Able to do the role assignment

Environment summary
CLI version: 2.30

Tested workaround
Use a subdomain of the verified domain as the SP name and it can work:
If needed, add your custom domain name using Azure Active Directory portal
Create the application with an authorized IdentifierUri
Create the service principal referring to this application

Related Breaking change on AAD
https://techcommunity.microsoft.com/t5/azure-tools/azure-active-directory-breaking-change-impacting-azure-cli-and/ba-p/2848388

Author: xinyi-frieda
Assignees: hivyas
Labels:

Service Attention, question, Media Services, customer-reported

Milestone: -

@jiasli
Copy link
Member

jiasli commented Nov 5, 2021

Here is how this issue is solved by

We also made an announcement at #19892.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. Media Services az ams question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants