Skip to content

Assign users and groups to an enterprise application #4321

Open
@nicole-ge

Description

@nicole-ge

Is your feature request related to a problem? Please describe.

I want to add with pnp powershell aad user or aad groups to an enterprise application. In the moment there is no pnp cmldet, to solve this issue.

I think this is a common use case and we need cmdlet for it.

Describe the solution you'd like
Target new cmdlet:
-> Assign the user or group to an Enterprise application with an app role
New-PnPAzureADUserAppRoleAssignmentEA -ObjectId $user.ObjectId -PrincipalId $user.ObjectId -ResourceId $serviceprincipal.ObjectId -Id $appRole.Id

link to description
https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/assign-user-or-group-access-portal?pivots=portal

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions