Forum Discussion
mmahadikar
Sep 12, 2022Copper Contributor
Support for Unattended scripting in delegation scenarios for Exchange Online Powershell EXOV2 module
Currently we use EXO V1 module for unattended scripting in delegation scenarios. We use refresh tokens to create a session via the following commands - $session = New-PSSession -Configurat...
mmahadikar
Sep 14, 2022Copper Contributor
Thanks VasilMichev
I was trying to use the preview version of EXO v2 servlet. I was not able to use it with unattended scripting for partner/delegation scenarios. Is there a document that describes this use-case?
I tried with the parameter -DelegatedOrganization parameter, however this opens up a web page for sign-in. I tried by suppling the -Credential parameter where the credential is the refresh OAuth token and this also errors out.
Could you please help us out here?
VasilMichev
Sep 14, 2022MVP
Sorry, I don't have a partner account to play with, so I haven't tested this scenario.