Skip to content

Commit

Permalink
Renames confirm to force. Closes #4551
Browse files Browse the repository at this point in the history
  • Loading branch information
waldekmastykarz authored and milanholemans committed Jul 21, 2023
1 parent efb0c6d commit 8dfbe64
Show file tree
Hide file tree
Showing 535 changed files with 1,623 additions and 1,624 deletions.
4 changes: 2 additions & 2 deletions docs/docs/cmd/aad/app/app-remove.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ m365 aad app remove [options]
`--name [name]`
: Name of the Azure AD application registration to remove. Specify either `appId`, `objectId` or `name` but not multiple.

`--confirm`
`-f, --force`
: Don't prompt for confirmation to remove the app.
```

Expand Down Expand Up @@ -51,7 +51,7 @@ m365 aad app remove --objectId d75be2e1-0204-4f95-857d-51a37cf40be8
Remove the Azure AD application registration by its name. Will NOT prompt for confirmation before deleting.

```sh
m365 aad app remove --name "My app" --confirm
m365 aad app remove --name "My app" --force
```

## Response
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/cmd/aad/app/app-role-remove.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ m365 aad app role remove [options]
`-c, --claim [claim]`
: Claim value of the role to remove. Specify either `name`, `id` or `claim`

`--confirm`
`-f, --force`
: Don't prompt for confirmation to remove the role.
```

Expand Down Expand Up @@ -70,7 +70,7 @@ m365 aad app role remove --appName "My app" --claim "Product.Get"
Remove role from a Azure AD application registration using object ID and role id options. Will NOT prompt for confirmation before deleting the role.

```sh
m365 aad app role remove --appObjectId d75be2e1-0204-4f95-857d-51a37cf40be8 --id 15927ce6-1933-4b2f-b029-4dee3d53f4dd --confirm
m365 aad app role remove --appObjectId d75be2e1-0204-4f95-857d-51a37cf40be8 --id 15927ce6-1933-4b2f-b029-4dee3d53f4dd --force
```

## Response
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ m365 aad approleassignment remove [options]
`-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 e.g. `Sites.Read.All`,`Sites.ReadWrite.All`

`--confirm`
`-f, --force`
: Don't prompt for confirming removing the all role assignment
```

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/cmd/aad/groupsetting/groupsetting-remove.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ m365 aad groupsetting remove [options]
`-i, --id <id>`
: The ID of the group setting to remove

`--confirm`
`-f, --force`
: Don't prompt for confirming removing the group setting
```

Expand All @@ -37,7 +37,7 @@ m365 aad groupsetting remove --id 28beab62-7540-4db1-a23f-29a6018a3848
Remove group setting with id _28beab62-7540-4db1-a23f-29a6018a3848_ without prompting for confirmation

```sh
m365 aad groupsetting remove --id 28beab62-7540-4db1-a23f-29a6018a3848 --confirm
m365 aad groupsetting remove --id 28beab62-7540-4db1-a23f-29a6018a3848 --force
```

## Response
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ m365 aad o365group recyclebinitem clear [options]
## Options

```md definition-list
`--confirm`
`-f, --force`
: Don't prompt for confirmation to clear the recycle bin items.
```

Expand All @@ -30,7 +30,7 @@ m365 aad o365group recyclebinitem clear
Removes all deleted Microsoft 365 Groups in the tenant. Will NOT prompt for confirmation before permanently removing groups.

```sh
m365 aad o365group recyclebinitem clear --confirm
m365 aad o365group recyclebinitem clear --force
```

## Response
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ m365 aad o365group recyclebinitem remove [options]
`-m, --mailNickname [mailNickname]`
: Name of the group e-mail (part before the @). Specify either `id`, `displayName` or `mailNickname` but not multiple.

`--confirm`
`-f, --force`
: Don't prompt for confirmation.
```

Expand All @@ -45,7 +45,7 @@ m365 aad o365group recyclebinitem remove --displayName "My Group"
Remove the Microsoft 365 Group with specific mail nickname without confirmation

```sh
m365 aad o365group recyclebinitem remove --mailNickname "Mygroup" --confirm
m365 aad o365group recyclebinitem remove --mailNickname "Mygroup" --force
```

## Response
Expand Down
6 changes: 3 additions & 3 deletions docs/docs/cmd/aad/o365group/o365group-remove.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ m365 aad o365group remove [options]
`-i, --id <id>`
: The ID of the Microsoft 365 Group to remove

`--confirm`
`-f, --force`
: Don't prompt for confirming removing the group

`--skipRecycleBin`
Expand All @@ -40,13 +40,13 @@ m365 aad o365group remove --id 28beab62-7540-4db1-a23f-29a6018a3848
Remove group with id _28beab62-7540-4db1-a23f-29a6018a3848_ without prompting for confirmation

```sh
m365 aad o365group remove --id 28beab62-7540-4db1-a23f-29a6018a3848 --confirm
m365 aad o365group remove --id 28beab62-7540-4db1-a23f-29a6018a3848 --force
```

Remove group with id _28beab62-7540-4db1-a23f-29a6018a3848_ without prompting for confirmation and without moving it to the Recycle Bin

```sh
m365 aad o365group remove --id 28beab62-7540-4db1-a23f-29a6018a3848 --confirm --skipRecycleBin
m365 aad o365group remove --id 28beab62-7540-4db1-a23f-29a6018a3848 --force --skipRecycleBin
```

## Response
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ m365 aad o365group report activitycounts [options]
`-p, --period <period>`
: The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`

`-f, --outputFile [outputFile]`
`--outputFile [outputFile]`
: Path to the file where the Microsoft 365 Groups activities across group workloads report should be stored in
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ m365 aad o365group report activitydetail [options]
`-d, --date [date]`
: The date for which you would like to view the users who performed any activity. Supported date format is `YYYY-MM-DD`. Specify the `date` or `period`, but not both.

`-f, --outputFile [outputFile]`
`--outputFile [outputFile]`
: Path to the file where the Microsoft 365 Groups activity by group report should be stored in
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ m365 aad o365group report activityfilecounts [options]
`-p, --period <period>`
: The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`

`-f, --outputFile [outputFile]`
`--outputFile [outputFile]`
: Path to the file where the Microsoft 365 Groups activities across group workloads report should be stored in
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ m365 aad o365group report activitygroupcounts [options]
`-p, --period <period>`
: The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`

`-f, --outputFile [outputFile]`
`--outputFile [outputFile]`
: Path to the file where the Microsoft 365 Groups activities report should be stored in
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ m365 aad o365group report activitystorage [options]
`-p, --period <period>`
: The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`

`-f, --outputFile [outputFile]`
`--outputFile [outputFile]`
: Path to the file where the Microsoft 365 Groups activities report should be stored in
```

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/cmd/aad/o365group/o365group-user-remove.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ m365 aad teams user remove
`-n, --userName <userName>`
: User's UPN (user principal name), eg. `[email protected]`

`--confirm`
`-f, --force`
: Don't prompt for confirming removing the user from the specified Microsoft 365 Group or Microsoft Teams team
```

Expand All @@ -49,7 +49,7 @@ m365 aad o365group user remove --groupId '00000000-0000-0000-0000-000000000000'
Removes user from the specified Microsoft 365 Group without confirmation

```sh
m365 aad o365group user remove --groupId '00000000-0000-0000-0000-000000000000' --userName '[email protected]' --confirm
m365 aad o365group user remove --groupId '00000000-0000-0000-0000-000000000000' --userName '[email protected]' --force
```

Removes user from the specified Microsoft Teams team
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/cmd/aad/oauth2grant/oauth2grant-remove.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ m365 aad oauth2grant remove [options]
`-i, --grantId <grantId>`
: `objectId` of OAuth2 permission grant to remove

`--confirm`
`-f, --force`
: Do not prompt for confirmation before removing OAuth2 permission grant
```

Expand All @@ -43,7 +43,7 @@ m365 aad oauth2grant remove --grantId YgA60KYa4UOPSdc-lpxYEnQkr8KVLDpCsOXkiV8i-e
Remove the OAuth2 permission grant with ID _YgA60KYa4UOPSdc-lpxYEnQkr8KVLDpCsOXkiV8i-ek_ without being asked for confirmation

```sh
m365 aad oauth2grant remove --grantId YgA60KYa4UOPSdc-lpxYEnQkr8KVLDpCsOXkiV8i-ek --confirm
m365 aad oauth2grant remove --grantId YgA60KYa4UOPSdc-lpxYEnQkr8KVLDpCsOXkiV8i-ek --force
```

## Response
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ m365 aad siteclassification disable [options]
## Options

```md definition-list
`--confirm`
`-f, --force`
: Don't prompt for confirming disabling site classification
```

Expand All @@ -30,7 +30,7 @@ m365 aad siteclassification disable
Disable site classification without confirmation

```sh
m365 aad siteclassification disable --confirm
m365 aad siteclassification disable --force
```

## Response
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/cmd/aad/user/user-license-remove.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ m365 aad user license remove [options]
`--ids <ids>`
: A comma separated list of IDs that specify the licenses to remove.

`--confirm`
`-f, --force`
: Don't prompt for confirmation.
```

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/cmd/aad/user/user-recyclebinitem-clear.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ m365 aad user recyclebinitem clear [options]
## Options

```md definition-list
`--confirm`
`-f, --force`
: Don't prompt for confirmation.
```

Expand Down Expand Up @@ -44,7 +44,7 @@ m365 aad user recyclebinitem clear
Removes all users from the tenant recycle bin without confirmation prompt

```sh
m365 aad user recyclebinitem clear --confirm
m365 aad user recyclebinitem clear --force
```

## Response
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/cmd/aad/user/user-recyclebinitem-remove.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ m365 aad user recyclebinitem remove [options]
`--id <id>`
: ID of the deleted user.

`--confirm`
`-f, --force`
: Don't prompt for confirmation.
```

Expand Down Expand Up @@ -47,7 +47,7 @@ m365 aad user recyclebinitem remove --id 59f80e08-24b1-41f8-8586-16765fd830d3
Removes a specific user from the recycle bin without confirmation prompt

```sh
m365 aad user recyclebinitem remove --id 59f80e08-24b1-41f8-8586-16765fd830d3 --confirm
m365 aad user recyclebinitem remove --id 59f80e08-24b1-41f8-8586-16765fd830d3 --force
```

## Response
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/cmd/aad/user/user-remove.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ m365 aad user remove [options]
`--userName [userName]`
: User principal name of the user. Specify either `id` or `userName` but not both.

`--confirm`
`-f, --force`
: Don't prompt for confirmation.
```

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/cmd/context/context-remove.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ m365 context remove [options]
## Options

```md definition-list
`--confirm`
`-f, --force`
: Don't prompt for confirmation to remove the context
```

Expand All @@ -30,7 +30,7 @@ m365 context remove
Removes the CLI for Microsoft 365 context in the current working folder and does not prompt for confirmation before deleting.

```sh
m365 context remove --confirm
m365 context remove --force
```

## Response
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/cmd/context/option/option-remove.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ m365 context option remove [options]
`-n, --name <name>`
: The name of the option which will be deleted from the context

`--confirm`
`-f, --force`
: Don't prompt for confirming removing the option
```

Expand All @@ -33,7 +33,7 @@ m365 context option remove --name "listName"
Removes an already available name from the local context file without confirmation

```sh
m365 context option remove --name "listName" --confirm
m365 context option remove --name "listName" --force
```

## Response
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/cmd/file/file-list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ m365 file list [options]
`-u, --webUrl <webUrl>`
: The URL of the site where the folder from which to retrieve files is located

`-f, --folderUrl <folderUrl>`
`--folderUrl <folderUrl>`
: The server- or site-relative URL of the folder from which to retrieve files

`--recursive`
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/cmd/flow/flow-export.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ m365 flow export [options]
`-s, --packageSourceEnvironment [packageSourceEnvironment]`
: The name of the source environment from which the exported package was taken

`-f, --format [format]`
`--format [format]`
: Export format type. `json,zip`. Default `zip`

`-p, --path [path]`
Expand Down
6 changes: 3 additions & 3 deletions docs/docs/cmd/flow/flow-remove.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ m365 flow remove [options]
`--asAdmin`
: Set, to remove the flow as admin

`--confirm`
`-f, --force`
: Don't prompt for confirmation
```

Expand All @@ -47,7 +47,7 @@ m365 flow remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5
Removes the specified Power Automate flow owned by the currently signed-in user without confirmation

```sh
m365 flow remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --confirm
m365 flow remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --force
```

Removes the specified Power Automate flow owned by another user
Expand All @@ -59,7 +59,7 @@ m365 flow remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5
Removes the specified Power Automate flow owned by another user without confirmation

```sh
m365 flow remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --asAdmin --confirm
m365 flow remove --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --asAdmin --force
```

## Response
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/cmd/flow/owner/owner-ensure.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ m365 flow owner ensure [options]
`-e, --environmentName <environmentName>`
: The name of the environment.

`-f, --flowName <flowName>`
`--flowName <flowName>`
: The name of the Power Automate flow.

`--userId [userId]`
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/cmd/flow/owner/owner-list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ m365 flow owner list [options]
`-e, --environmentName <environmentName>`
: The name of the environment.

`-f, --flowName <flowName>`
`--flowName <flowName>`
: The name of the Power Automate flow.

`--asAdmin`
Expand Down
Loading

0 comments on commit 8dfbe64

Please sign in to comment.