Skip to content

How to remove API permissions from App Registration using Microsoft graph ? #22701

@sritapa

Description

@sritapa

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

az ad app permission delete --id <> --api <>

Azure Ad Graph API is no longer supported ,need the Microsoft graph API equivalent of the command to delete API permissions from App registrations

Run this on Azure powershell az ad app permission delete --id <> --api <>

The requested API permission should had been deleted

Azure powershell , owner of the application

Looking for Azure CLI commands in Microsoft Graph API to delete API permissions from App registration.

Documentation missing this scenario/unclear - https://docs.microsoft.com/en-us/cli/azure/microsoft-graph-migration

Current error -

This command or command group has been migrated to Microsoft Graph API. Please carefully review all breaking changes introduced during this migration: https://docs.microsoft.com/cli/azure/microsoft-graph-migration
The size of the object has exceeded its limit. Please reduce the number of values and retry your request.

image

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botGraph(doesn't work with label-triggered comments; use Graph.Microsoft instead) az adService AttentionThis issue is responsible by Azure service team.act-identity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions