Reposting here from a Github issue that I opened - this is apparently a feature request…
Additional comment: it would be really helpful to have a single MS OAuth credential where you select the API scopes that you want. That way a single credential could be re-used across multiple MS nodes.
Here goes for the issue description:
Per https://mc.merill.net/message/MC1097272, the following permissions require admin consent:
-
Sites.Read.All
-
Sites.ReadWrite.All
-
Files.Read.All
-
Files.ReadWrite.All
I cannot get admin consent from my Entra ID team without a very good reason, and TBH, I don’t need to ![]()
I’d like to have an option in the MS Drive credentials to only request user-specific permissions (i.e. the versions without .All), so that I can use OneDrive for myself.
BTW, the same issue exists in the MS Teams connector, and it looks like a generic “Microsoft has restricted access” situation.
To Reproduce
-
Go to Credentials
-
Create a new Microsoft Drive Account
-
Enter all the required information
-
Click on Connect my account
-
The connection window pops up with a “ABC needs permission to access resources in your organization that only an admin can grant. Please ask an admin to grant permission to this app before you can use it”
Expected behavior
The connection window should list a smaller set of permissions that can be user-consented.