question

PreethiR-4438 avatar image
0 Votes"
PreethiR-4438 asked PreethiR-4438 commented

The partner returned a bad sign-in name or password error in powershell

Hi

I am getting "ExecuteQuery with 0 arguments : The partner returned a bad sign-in name or password error."

office-sharepoint-onlinewindows-server-powershelloffice-sharepoint-server-development
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Could you share the script you are using?

0 Votes 0 ·

85529-test.txt




Hi,

I have shared the script .
PFA

0 Votes 0 ·
test.txt (7.3 KiB)
JasreetSingh avatar image
0 Votes"
JasreetSingh answered PreethiR-4438 commented

Please check if the username is in string format in 'quotes' and user has appropriate permissions to access the resource that you are trying to authenticate against.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

We checked the account/username is in proper quotes.
Also the username has Site owner permission.

What else needs to be checked


0 Votes 0 ·
AmosWu-MSFT avatar image
0 Votes"
AmosWu-MSFT answered

Please check if the username and password are correct.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.