Adding Managed Identity to security group is adding Service Principle

Prince Singh Tomar 20 Reputation points
2025-01-25T10:42:13.4866667+00:00

When I add the Microsoft Purview managed identity from the Azure portal to a security group, is it effectively the same as adding a service principal to that security group?

Microsoft Security | Microsoft Purview
{count} votes

Answer accepted by question author
  1. Marcin Policht 69,125 Reputation points MVP Volunteer Moderator
    2025-01-25T12:39:42.9433333+00:00

    To a large extent - aside from the differences between managed identities and service principals. In particular:

    • Both managed identities and service principals can be granted role-based access (RBAC) permissions to resources (such as Azure Blob Storage) by adding them to security groups and assigning roles.
    • The critical distinction lies in their usage:
      • Managed identities are tied to specific Azure resources.
      • Service principals are typically used by applications and require you to manage the credentials (e.g., client secrets or certificates).

    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.