MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.2k stars 21.34k forks source link

Scope suggestion to use #81076

Open wyliefoxxx opened 2 years ago

wyliefoxxx commented 2 years ago

I spent about 8 hours pulling my hair out trying to configure everything, and was finally able to succeed after disregarding this piece of advice:

On your token request, set the scope to "https://sts.//.default", where is replaced with the Account Domain for your Azure Spatial Anchors account.

My spatial anchor account domain is clearly listed as 'southcentralus.mixedreality.azure.com', but was only able to obtain the correct configuration by setting the scope to "https://sts.mixedreality.azure.com//.default" (without southcentralus)

(using msal node libarary)


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

SatishBoddu-MSFT commented 2 years ago

Hello @wyliefoxxx Thanks for the feedback and sorry for the inconvenience caused! 

Our SME will get back on this.