I am trying to connect to Sharepoint using the following:
firstly i install the module:
<code> Install-Module -Name Microsoft.Online.SharePoint.PowerShell
The i run the following
Connect-SPOService -Url "https://yourtenant-admin.sharepoint.com", but this brings up a window to login. I want to do it all command line , where by the user puts in their username and password.
</code>
<code> Install-Module -Name Microsoft.Online.SharePoint.PowerShell
The i run the following
Connect-SPOService -Url "https://yourtenant-admin.sharepoint.com", but this brings up a window to login. I want to do it all command line , where by the user puts in their username and password.
</code>
Install-Module -Name Microsoft.Online.SharePoint.PowerShell
The i run the following
Connect-SPOService -Url "https://yourtenant-admin.sharepoint.com", but this brings up a window to login. I want to do it all command line , where by the user puts in their username and password.
How can i do that part ?
Also the problem is that when i use Connect-SPOService -Url “https://yourtenan……
and i select my name it gives an error “The remote server returned an error: (403) Forbidden.”
Does that mean i need more rights ?
have tried the portal but cant seem to set rights ?