AzureADAssessment icon indicating copy to clipboard operation
AzureADAssessment copied to clipboard

URI Redirect Error in USGOV

Open hacknorris opened this issue 2 years ago • 1 comments

Hello -- trying to run Connect-AADAssessment -CloudEnvironment USGOVDoD -- after authenticating I'm getting the URI Redirect mismatch error. Normally would try modifying the uri property as noted here: https://docs.microsoft.com/en-us/troubleshoot/azure/active-directory/error-code-aadsts50011-redirect-uri-mismatch but i'm not seeing the ability to add this since it's found as an Enterprise App. Would appreciate any advice or help on this.

hacknorris avatar Jul 22 '22 16:07 hacknorris

@hacknorris I added the correct redirect uri for gov tenants to our default app registration but I am not sure how long it will take to be available in gov tenants. In the meantime, you can create your own app registration within your tenant and provide the app id using the -ClientId parameter.

jazuntee avatar Sep 02 '22 16:09 jazuntee

@hacknorris I have added guidance to our readme for how to run the assessment for gov cloud tenants. We do require you to create your own app registration. https://github.com/AzureAD/AzureADAssessment#i-have-a-tenant-in-sovereign-cloud-how-do-i-run-this-assessment

jazuntee avatar Nov 07 '22 23:11 jazuntee