Saturday, October 5, 2013

How to set-up SharePoint Management Shell Environment for SharePoint Online Global Administrators

Set up the SharePoint Online Management Shell environment for SharePoint Online global administrators
Perform the following:
  1. Install Windows PowerShell 3.0 from Windows Management Framework 3.0.
  2. Install the SharePoint Online Management Shell from the Microsoft Download Center.
  3. Click Start>All Programs>SharePoint Online Management Shell.
  4. Run Connect-SPOService. For example, Connect-SPOService -Url https://contoso-admin.sharepoint.com -credential admin@contoso.com, where:
    • Url is the URL of the SharePoint Online Administration Center.
    • Credential is the user name to which you want to grant access to the SharePoint Online Administration Center site.
  5. Try it out! For example, run Get-SPOSite to get a list of all sites.

More Commands:

Saturday, September 21, 2013

Unable to change/upload profile picture getting error ‘You don't have sufficient permissions. To get permissions, contact your administrator’

To resolve this issue please follow the below steps:

1. Run Windows PowerShell as Administrator

2. Run the following cmdlets to connect PowerShell to Exchange Online:
         a. Set-ExecutionPolicy RemoteSigned
         b. $LiveCred = Get-Credential
         c. $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUrips.outlook.com/powershell -Credential $LiveCred -Authentication Basic –AllowRedirection
         d. Import-PSSession $session

3. Run command to upload and change the photo. Please change the marked part to match your system.
      Set-UserPhoto <Admin> -PictureData ([System.IO.File]::ReadAllBytes("C:\Admin.jpg")) -identity id@domain.onmicrosoft.com

4. Run following command to retrieve the RBAC version of your tenant. It is a potential cause of this problem
      Get-OrganizationConfig | fl RBACConfigurationVersion

I understand it is only a workaround, not the solution. The result of the last command will help to address the root cause. So please try all these steps and let me know the result.

Reference:

Search Box