0

If Modern Authentication is enabled for SharePoint and MFA is not enabled for the used account, is it still possible to use user/pass credentials in an unattended Powershell script, or is it always necessary to use an App registration when Modern Authentication is enabled ?

1
  • i find out that it is possible – oysterhoys Jan 29 at 11:14
2

You should always be using CID + Certificate (preferred) or Secret for unattended scripts. Ideally, store the information in an Azure Automation account so you don't need to store them in clear text within your script.

1
  • Thanx for your advice, but I would like to know if it is possible. – oysterhoys Jan 28 at 10:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.