locked
How to Authenticate Windows Powershell for Security and compliance via Access Token? RRS feed

  • Question

  • Hi Team,

    I am trying to run the PowerShell commands for Security and compliance centre from local. I can run the "Connect-IPPSSession" from exchange online console and it is working fine. I want to run the command from <g class="gr_ gr_142 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar only-ins doubleReplace replaceWithoutSep" data-gr-id="142" id="142">remote</g> machine. I can use the "ConvertTo-SecureString" and pass the password and execute if the account is not with MFA. For MFA enabled account I want to run the Powershell command. is there any other way like passing the access token generated via Oauth2 API's. 

    Please help me with this problem. 

    Friday, September 7, 2018 11:04 AM

All replies