-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
135 changed files
with
11,156 additions
and
2,535 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
docs/docs/cmd/entra/enterpriseapp/enterpriseapp-remove.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
import Global from '/docs/cmd/_global.mdx'; | ||
import Tabs from '@theme/Tabs'; | ||
import TabItem from '@theme/TabItem'; | ||
|
||
# entra enterpriseapp remove | ||
|
||
Deletes an enterprise application (or service principal) | ||
|
||
## Usage | ||
|
||
```sh | ||
m365 entra enterpriseapp remove [options] | ||
``` | ||
|
||
## Alias | ||
|
||
```sh | ||
m365 entra sp remove [options] | ||
``` | ||
|
||
## Options | ||
|
||
```md definition-list | ||
`-i, --id [id]` | ||
: ID of the enterprise application. | ||
|
||
`-n, --displayName [displayName]` | ||
: Display name of the enterprise application. | ||
|
||
`--objectId [objectId]` | ||
: ObjectId of the enterprise application. | ||
|
||
`-f, --force` | ||
: Don't prompt for confirmation. | ||
``` | ||
|
||
<Global /> | ||
|
||
## Examples | ||
|
||
Delete an enterprise application by application ID. | ||
|
||
```sh | ||
m365 entra enterpriseapp remove --id b2307a39-e878-458b-bc90-03bc578531d6 --force | ||
``` | ||
|
||
Delete an enterprise application by display name. | ||
|
||
```sh | ||
m365 entra enterpriseapp remove --displayName "Contoso app" | ||
``` | ||
|
||
Delete an enterprise application by object ID. | ||
|
||
```sh | ||
m365 entra enterpriseapp remove --objectId b2307a39-e878-458b-bc90-03bc578531dd | ||
``` | ||
|
||
## Response | ||
|
||
The command won't return a response on success. | ||
|
||
## More information | ||
|
||
- Application and service principal objects in Microsoft Entra ID: [https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects](https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
import Global from '/docs/cmd/_global.mdx'; | ||
|
||
# entra group set | ||
|
||
Updates a Microsoft Entra group | ||
|
||
## Usage | ||
|
||
```sh | ||
m365 entra group set [options] | ||
``` | ||
|
||
## Options | ||
|
||
```md definition-list | ||
`-i, --id [id]` | ||
: The ID of the Microsoft Entra group to update. Specify either `id` or `displayName` but not both. | ||
|
||
`-n, --displayName [displayName]` | ||
: The display name of the Microsoft Entra group to update. Specify either `id` or `displayName` but not both. | ||
|
||
`--newDisplayName [newDisplayName]` | ||
: The new display name of the Microsoft Entra group. The maximum length is 256 characters. | ||
|
||
`--description [description]` | ||
: The new description for the group. | ||
|
||
`--mailNickname [mailNickname]` | ||
: The new mail alias for the group (part before the @). Use only for mail-enabled groups. Maximum length is 64 characters. | ||
|
||
`--ownerIds [ownerIds]` | ||
: Comma-separated list of IDs of Microsoft Entra users that will be the group owners. Specify either `ownerIds` or `ownerUserNames`, but not both. | ||
|
||
`--ownerUserNames [ownerUserNames]` | ||
: Comma-separated list of UPNs of Microsoft Entra users that will be the group owners. Specify either `ownerIds` or `ownerUserNames`, but not both. | ||
|
||
`--memberIds [memberIds]` | ||
: Comma-separated list of IDs of Microsoft Entra users that will be the group members. Specify either `memberIds` or `memberUserNames`, but not both. | ||
|
||
`--memberUserNames [memberUserNames]` | ||
: Comma-separated list of UPNs of Microsoft Entra users that will be the group members. Specify either `memberIds` or `memberUserNames`, but not both. | ||
|
||
`--visibility [visibility]` | ||
: Specifies the group join policy and group content visibility for Microsoft 365 groups. Possible values are: `Private` or `Public`. Specify only when targeting a Microsoft 365 group. | ||
``` | ||
|
||
<Global /> | ||
|
||
## Remarks | ||
|
||
The `visibility` option affects the behavior of the group. | ||
|
||
With the `Public` visibility: | ||
- Anyone can join the group without needing owner approval. | ||
- Anyone can view the attributes of the group. | ||
- Anyone can see the members of the group. | ||
|
||
With the `Private` visibilty: | ||
- Owner approval is needed to join the group. | ||
- Anyone can view the attributes of the group. | ||
- Anyone can see the members of the group. | ||
|
||
If the specified option is not found, you will receive a `Resource 'xyz' does not exist or one of its queried reference-property objects are not present.` error. | ||
|
||
Specifying `memberIds` or `memberUserNames` will make only those users members, removing all others. Similarly, specifying `ownerIds` or `ownerUserNames` will make only those users owners, removing all others. | ||
|
||
## Examples | ||
|
||
Update the display name of a group specified by the display name | ||
|
||
```sh | ||
m365 entra group set --displayName Devs --newDisplayName Developers | ||
``` | ||
|
||
Set the owners of a group to the specified people | ||
|
||
```sh | ||
m365 entra group set --id 57fd6b33-54eb-42b0-9ea0-8a9ac04eab7d --ownerUserNames "[email protected],[email protected]" | ||
``` | ||
|
||
Update the description and mail nickname of a group | ||
|
||
```sh | ||
m365 entra group set --id 57fd6b33-54eb-42b0-9ea0-8a9ac04eab7d --description "All developers of the company" --mailNickname developers | ||
``` | ||
|
||
## Response | ||
|
||
The command won't return a response on success. |
Oops, something went wrong.