How to set Co-Owner rights for Azure RMS with Powershell RRS feed

  • Question

  • If I try to set Co-Owner-rights for a User in a Azure RMS template by powershell, it doesn't works.

    I use this command:

    $r2 = New-AadrmRightsDefinition –EmailAddress marketing@contoso.com -Rights "Co-Owner"

    Add-AadrmTemplate -Names $names –Descriptions $Descriptions -RightsDefinitions $r2 -Status Published

    If I show in Azure Management website (manage.windowsazure.com), I see the user entry in the rights section of this template, but no rights entry like "Co-Owner".

    How can I set this right by powershell?

    • Edited by Ewoki Tuesday, January 20, 2015 9:35 AM
    Tuesday, January 20, 2015 8:01 AM