Troubleshooting: Avoiding the Office 365 Credentials Dialog box
2 minutes to read
You can fully automate the script, and thereby avoid the Office 365 credentials dialog box by providing the credentials as parameters.Use the AuthenticationEmail parameter to specify the Office 365 account email and the AuthenticationEmailPassword parameter to specify the Office 365 account password. Note, that the latter parameter should be a SecureString.
The feedback system for this content will be changing soon. Old comments will not be carried over. If content within a comment thread is important to you, please save a copy. For more information on the upcoming change, we invite you to read our blog post.