Skip to content

New command: aad approleassignment remove #1872

@aakashbhardwaj619

Description

@aakashbhardwaj619

Usage

m365 aad approleassignment remove [options]

Description

Deletes an app role assignment for the specified Azure AD Application Registration

Options

Option Description
--appId [appId] Application appId also known as clientId of the App Registration for which the configured scopes (app roles) should be deleted
--objectId [objectId] Application objectId of the App Registration for which the configured scopes (app roles) should be deleted
--displayName [displayName] Application name of the App Registration for which the configured scopes (app roles) should be deleted
-r, --resource <resource> Service principal name, appId or objectId that has the scopes (roles) ex. SharePoint
-s, --scope <scope> Permissions known also as scopes and roles to be deleted from the application. If multiple permissions have to be deleted, they have to be comma separated ex. Sites.Read.All,Sites.ReadWrite.All
--confirm Don't prompt for confirmation
--verbose Runs command with verbose logging
--debug Runs command with debug logging

Additional Information

https://docs.microsoft.com/en-us/graph/api/serviceprincipal-delete-approleassignments?view=graph-rest-1.0&tabs=http

I would like to work on this if its okay 😃

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions