Hey
Is it possible to run API / endpoints as another user? (like scripts or dashboards)
Pelle
Hey
Is it possible to run API / endpoints as another user? (like scripts or dashboards)
Pelle
If I’m not mistaken, I do not believe so, at the moment anyway. It would run in the context of your configured instance. For example I’m hosting mine in IIS and running with the app pool identify as a service account - thats the account it will run with. Likewise I could have configured it to run as system instead. But to be honest, most things I’ll do in an API endpoint would generally allow me to use different credentials. Such as invoke-restmethod or AD cmdlets, using the -credential paramters.