Forum Discussion

Nuno Brites's avatar
Nuno Brites
Copper Contributor
Feb 10, 2019

sharepoint online user profile editing through powershell with MFA

I have several scripts to edit user profile fields through Powershell without active MFA.

Sure I can have a user with a complex password outside MFA but I don't want that.

Can anyone point me to one script that works with MFA?

It's a sharepoint online system.

 

Thanks a lot,

Nuno

    • Nuno Brites's avatar
      Nuno Brites
      Copper Contributor

      Sorry for the title, i've corrected it (it was the site's autosuggestion and I didn't noticed it had changed).

       

      Thanks for your reply, I'll look into your suggestions, I really didn't knew about service principals but it seems a good alternative. It's a similar principle as MFA app passwords?

       

      Trusted IP/Named location could also be a solution but it opens some internal security backdoors.

       

      Nuno

Resources