markekraus / PSMSGraph

A PowerShell module for the Microsoft Graph API
MIT License
82 stars 21 forks source link

Scopes not inherited from App #33

Open SIHAdmin opened 5 years ago

SIHAdmin commented 5 years ago

Hi!

Not sure if this is in fact a bug or whatnot, but the scopes that I have set on the Azure App portal are not being granted to the GraphAccessToken.

The only permissions that are received are: {Mail.ReadWrite, Mail.Send, offline_access, User.Read}

Is this the expected behaviour? Is there some way to control this?

Thanks!

markekraus commented 5 years ago

please provide the commands required to reproduce the issue (you can sanitize the data)