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...
VasilMichev
Sep 13, 2022MVP
Oh, you mean partner scenarios, gotcha. In any case the latest version has all the goodies, try it. They might even announce GA today at MEC, or maybe at Ignite 🙂
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?
- VasilMichevSep 14, 2022MVPSorry, I don't have a partner account to play with, so I haven't tested this scenario.