andrew-s-taylor/public

Connect-MgGraph expects a single string with the scopes separated by a space instead of as separate strings

Closed this issue · 1 comments

Connect-MgGraph expects a single string with the scopes separated by a space instead of as separate strings

Change this:

Connect-ToGraph -Scopes "Application.Read.All","Application.ReadWrite.All","User.Read.All"

To this:

Connect-ToGraph -Scopes "Application.Read.All Application.ReadWrite.All User.Read.All"

And it will work