Azure / reliable-web-app-pattern-dotnet

The Reliable Web App Pattern is a set of objectives to help your web application converge on the cloud. This repo contains a reference implementation of a reliable web application for .NET.
https://aka.ms/eap/rwa/dotnet/doc
MIT License
374 stars 120 forks source link

Need to `az login` with a scope in order to run createAppRegistrations #295

Closed adrianhall closed 1 year ago

adrianhall commented 1 year ago

Describe the bug When running the createAppRegistrations command, I get the following error (twice):

ERROR: AADSTS50158: External security challenge not satisfied. User will be redirected to another page or authentication provider to satisfy additional authentication challenges.
Trace ID: 87f176b9-f17d-4fda-9377-5e0601705d00
Correlation ID: d80eefc6-c313-4596-a8f1-1658ed78c05b
Timestamp: 2023-04-21 20:57:57Z
Interactive authentication is needed. Please run:
az login --scope https://graph.microsoft.com//.default

While this is an easy bug to workaround, it would be nice if the instructions had told me about it.