Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
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.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.