-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"The remote server returned an error: (401) Unauthorized" from Azure DevOps Pipeline #7
Comments
Please follow the setup guide from the home page. You shouldn't install any modules or pacakge providers in your code. |
Do you use MFA? Please also check that these credentials work for you in your regular Powershell code. |
The credentials work for me in regular Powershell code. |
Do you use app password? |
Powershell script running from Azure DevOps pipeline




PnP Powershell can connect successfully without any issue (see below)
But when I try to fetch some data from the site, I'm getting error "Get-PnPWeb : The remote server returned an error: (401) Unauthorized" (see below)
The text was updated successfully, but these errors were encountered: