powershell
powershell copied to clipboard
Feature #2249 - add support for managed identity for SPO
Type
- [ ] Bug Fix
- [x] New Feature
- [ ] Sample
Related Issues?
Fixes #2249
What is in this Pull Request ?
Add support to use Managed identity for SPO APIs besides Graph
@gautamdsheth I've checked the code and have done bugfixes to it. What I cannot get to work yet is that if you have multiple permissions set in your system identity token:

It will still only get an access token containing the scp for the first one you have configured for that source (i.e. Graph or SPO). Not for the other ones.

I also cannot figure out how to request a specific scope. The .default trick also does not seem to work.