Connect- MsolService with Powershell Runbook and MFA


I would like to run an script automatically via an Azure PowerShell Runbook which uses the MsolOnline (Connect-MsolService) cmdlet and authenticates using an account with MFA enabled. What's the best way to login with Connect-MsolService automatically on a script when the account being used has MFA?


submitted by /u/smurfs85
[link] [comments]

Read more here:

Content Attribution

This content was originally published by /u/smurfs85 at Microsoft Azure, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: