Error while activating designer for SharePoint online

dineshnandina 0 Reputation points
2023-02-27T14:44:29.3166667+00:00

Dear Team,

I am trying to activate SharePoint Designer for my SharePoint online trial site, I am able to logon using my credentials but when I try to enter my credentials through management shell, I get below error, please advise me.

PS C:\WINDOWS\system32> Connect-SPOService -Url $AdminSiteURL -Credential (Get-Credential)

cmdlet Get-Credential at command pipeline position 1

Supply values for the following parameters:

Credential

Connect-SPOService : The sign-in name or password does not match one in the Microsoft account system.

At line:1 char:1

Connect-SPOService -Url $AdminSiteURL -Credential (Get-Credential)

CategoryInfo : NotSpecified: (:) [Connect-SPOService], IdcrlException

FullyQualifiedErrorId : Microsoft.SharePoint.Client.IdcrlException,Microsoft.Online.SharePoint.PowerShell.Connec

tSPOService

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,111 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Emily Du-MSFT 49,081 Reputation points Microsoft Vendor
    2023-02-28T05:54:42.6166667+00:00

    Please check following points.

    1.Make sure you run SharePoint Management Shell as administrator.

    2.When you run PowerShell and ask you to enter your account and password, please make sure the account is SharePoint administrator and site administrator.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.


  2. dineshnandina 0 Reputation points
    2023-02-28T14:46:46.4066667+00:00

    Hi Emily,

    I ran as administrator but it is not asking for credentials to enter, it is directly opening

    Regards,


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.