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 Purview
Microsoft Purview
A Microsoft data governance service that helps manage and govern on-premises, multicloud, and software-as-a-service data. Previously known as Azure Purview.
1,355 questions
{count} votes

Accepted answer
  1. Marcin Policht 32,660 Reputation points MVP
    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 Answers by the question author, which helps users to know the answer solved the author's problem.