Skip to content

Error while login in since yesterday evening #6331

Answered by Adam-it
apc005 asked this question in Q&A
Discussion options

You must be logged in to vote

yes. Since yesterday the PnP Management Shell was removed from all tenants. This was the default app that was used by CLI for M365 to perform login. You may read more about this announcement and reasoning behind it in this release blog post
https://pnp.github.io/blog/post/changes-pnp-management-shell-registration/

It was a very short notice also for us. It is still possible to use CLI but now you need to define the your own app registration and when performing login you need to pass the appId and tenant options either when running the command or as configs or as env variables. So it is still possible to use any CLI version
m365 login --appId 31359c7f-bd7e-475c-86db-fdb8c937548c --tenant 3…

Replies: 3 comments 13 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
13 replies
@milanholemans
Comment options

@dshirk-uci
Comment options

@dshirk-uci
Comment options

@dshirk-uci
Comment options

@Adam-it
Comment options

Answer selected by Adam-it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants