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

Preethi R 21 Reputation points
2021-03-18T05:02:37.72+00:00

Hi

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

Microsoft 365 and Office | SharePoint | For business | Windows
Microsoft 365 and Office | SharePoint Server | Development
Windows for business | Windows Server | User experience | PowerShell
{count} votes

2 answers

Sort by: Most helpful
  1. Jasreet Singh 176 Reputation points
    2021-03-18T07:56:24.317+00:00

    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.


  2. Amos Wu-MSFT 4,051 Reputation points
    2021-03-22T07:23:43.223+00:00

    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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.