Powershell cmdlets for delegated administration.

  • 7 Followers
  • 5 Replies |
  • This post has 1 verified answer |
Answered (Verified) This question is answered

Hi,

Was wondering how a delegated admin would log on to the customer tenant. Would one first log in with 'usual' cmd'lets and then use some special ninja cmd'lets or is the procedure a little different?

 

Have been following this link and posted a question without getting a reply back: http://community.office365.com/en-us/f/148/p/22357/198727.aspx#198727

  • Post Points: 35
Verified Answer
  • Hello Saiful!

    It is possible to manage other tenants via PowerShell.

    First you have to connet with Connect-MsolService .

    Then you have to find your tenant, and fill up : $tenID=(get-msolpartnercontract -domain yourtenant.com).tenantId.guid

    Now you can acces your tenant: Get-MsolUser -tenantID $tenID

    or to set principalname: Set-MSOLUserPrincipalName ...

    The only trick is , that you have to use -tenantID $tenID in each command.

     

    Regards, Laszlo

    Cloudfarm

    • Not Ranked
    • Post Points: 0
All Replies
Page 1 of 1 (6 items)