Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!