Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions docs/docs/cmd/entra/app/app-role-add.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import Global from '../../_global.mdx';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# entra app role add

Expand Down Expand Up @@ -49,6 +51,25 @@ For best performance use the `appObjectId` option to reference the Entra applica

If the command finds multiple Entra application registrations with the specified app name, it will prompt you to disambiguate which app it should use, listing the discovered object IDs.

## Permissions

<Tabs>
<TabItem value="Delegated">

| Resource | Permissions |
| --------------- | ------------------------- |
| Microsoft Graph | Application.ReadWrite.All |

</TabItem>
<TabItem value="Application">

| Resource | Permissions |
| --------------- | ------------------------- |
| Microsoft Graph | Application.ReadWrite.All |

</TabItem>
</Tabs>

## Examples

Add role to the Entra application registration specified by its object ID
Expand Down
21 changes: 20 additions & 1 deletion docs/docs/cmd/entra/app/app-role-list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,25 @@ For best performance use the `appObjectId` option to reference the Entra applica

If the command finds multiple Entra application registrations with the specified app name, it will prompt you to disambiguate which app it should use, listing the discovered object IDs.

## Permissions

<Tabs>
<TabItem value="Delegated">

| Resource | Permissions |
| --------------- | -------------------- |
| Microsoft Graph | Application.Read.All |

</TabItem>
<TabItem value="Application">

| Resource | Permissions |
| --------------- | -------------------- |
| Microsoft Graph | Application.Read.All |

</TabItem>
</Tabs>

## Examples

Get roles for the Entra application registration specified by its object ID
Expand Down Expand Up @@ -118,4 +137,4 @@ m365 entra app role list --appName "My app"
```

Comment thread
AlejandroGispert marked this conversation as resolved.
</TabItem>
</Tabs>
</Tabs>
23 changes: 22 additions & 1 deletion docs/docs/cmd/entra/app/app-role-remove.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import Global from '../../_global.mdx';
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";

# entra app role remove

Expand Down Expand Up @@ -53,6 +55,25 @@ If the command finds multiple roles with the specified role name, it will prompt

If the role to be removed is 'Enabled', this command will disable the role first and then remove.

## Permissions

<Tabs>
<TabItem value="Delegated">

| Resource | Permissions |
| --------------- | ------------------------- |
| Microsoft Graph | Application.ReadWrite.All |

</TabItem>
<TabItem value="Application">

| Resource | Permissions |
| --------------- | ------------------------- |
| Microsoft Graph | Application.ReadWrite.All |

</TabItem>
</Tabs>

## Examples

Remove role from a Entra application registration using object ID and role name options. Will prompt for confirmation before deleting the role.
Expand Down Expand Up @@ -81,4 +102,4 @@ m365 entra app role remove --appObjectId d75be2e1-0204-4f95-857d-51a37cf40be8 --

## Response

The command won't return a response on success.
The command won't return a response on success.