PowerShell / How to assign to a Service Principal Purview Permissions

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.พ. 2025
  • By default, the Web Interface does not allow a Service Principal to be directly assigned to a Purview Role Group. It is not possible to select the Service Principal as a user, add it to a group, and then assign that group to the Role Group-this approach does not work.
    The only way to achieve this is through PowerShell. You need to connect to Purview and create a new Service Principal under that workload, using the same IDs from Microsoft Entra ID. This process effectively generates a new Service Principal that remains linked to the Microsoft Entra instance.
    You can follow me at / profesorkaz for more tips
    And you can find all the steps at github.com/Pro...
    The cmdlet used to list all the available commands after connection is:
    Get-Command -Module tmp* | ft Name, CommandType -AutoSize

ความคิดเห็น •