Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
For the MFA enabled account I need to run the PowerShell scripts without any user intersection for the below connections
1.Connect-MsolService
2.Connect-SPOService
3.Connect-MicrosoftTeams
Please help to get the steps to connect
MFA explicitly requires user interaction.
I understood that MFA required user interaction, here the issue is we are autmoted to run those scriots using those connections and based on that our management is getting reports but since the MFA enabled for that account the scriots are stopped.Is there any way to make the connection by using unattended scripts
Use a service principal account that doesn't need MFA.