powershell icon indicating copy to clipboard operation
powershell copied to clipboard

Feature #2249 - add support for managed identity for SPO

Open gautamdsheth opened this issue 2 years ago • 1 comments

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 avatar Sep 18 '22 20:09 gautamdsheth

@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:

image

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.

image

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

KoenZomers avatar Sep 22 '22 01:09 KoenZomers