@pnp/cli-microsoft365 7.5.0 → 7.6.0-beta.480812d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.cjs +3 -0
- package/README.md +1 -1
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Auth.js +12 -10
- package/dist/AuthServer.js +1 -1
- package/dist/cli/cli.js +1 -1
- package/dist/config.js +2 -2
- package/dist/m365/app/commands/app-get.js +1 -1
- package/dist/m365/app/commands/app-open.js +1 -1
- package/dist/m365/app/commands/permission/permission-add.js +2 -2
- package/dist/m365/app/commands/permission/permission-list.js +2 -2
- package/dist/m365/cli/commands/cli-consent.js +2 -2
- package/dist/m365/cli/commands/cli-reconsent.js +3 -3
- package/dist/m365/commands/login.js +1 -1
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-add.js +1 -0
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-get.js +1 -0
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-list.js +1 -0
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-add.js +1 -0
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-get.js +1 -0
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-list.js +1 -0
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-remove.js +1 -0
- package/dist/m365/entra/commands/app/app-add.js +7 -6
- package/dist/m365/entra/commands/app/app-get.js +4 -3
- package/dist/m365/entra/commands/app/app-list.js +1 -0
- package/dist/m365/entra/commands/app/app-permission-add.js +3 -2
- package/dist/m365/entra/commands/app/app-permission-list.js +1 -1
- package/dist/m365/entra/commands/app/app-remove.js +5 -4
- package/dist/m365/entra/commands/app/app-role-add.js +6 -5
- package/dist/m365/entra/commands/app/app-role-list.js +4 -3
- package/dist/m365/entra/commands/app/app-role-remove.js +6 -5
- package/dist/m365/entra/commands/app/app-set.js +8 -7
- package/dist/m365/entra/commands/approleassignment/approleassignment-add.js +2 -1
- package/dist/m365/entra/commands/approleassignment/approleassignment-list.js +1 -0
- package/dist/m365/entra/commands/approleassignment/approleassignment-remove.js +1 -0
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-add.js +1 -0
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-get.js +1 -0
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-list.js +1 -0
- package/dist/m365/entra/commands/group/group-get.js +1 -0
- package/dist/m365/entra/commands/group/group-list.js +1 -0
- package/dist/m365/entra/commands/group/group-remove.js +1 -0
- package/dist/m365/entra/commands/group/group-user-list.js +1 -0
- package/dist/m365/entra/commands/groupsetting/groupsetting-add.js +1 -0
- package/dist/m365/entra/commands/groupsetting/groupsetting-get.js +1 -0
- package/dist/m365/entra/commands/groupsetting/groupsetting-list.js +1 -0
- package/dist/m365/entra/commands/groupsetting/groupsetting-remove.js +1 -0
- package/dist/m365/entra/commands/groupsetting/groupsetting-set.js +1 -0
- package/dist/m365/entra/commands/groupsettingtemplate/groupsettingtemplate-get.js +1 -0
- package/dist/m365/entra/commands/groupsettingtemplate/groupsettingtemplate-list.js +1 -0
- package/dist/m365/entra/commands/license/license-list.js +1 -0
- package/dist/m365/entra/commands/m365group/m365group-add.js +1 -0
- package/dist/m365/entra/commands/m365group/m365group-conversation-list.js +1 -0
- package/dist/m365/entra/commands/m365group/m365group-conversation-post-list.js +1 -0
- package/dist/m365/entra/commands/m365group/m365group-get.js +1 -0
- package/dist/m365/entra/commands/m365group/m365group-list.js +1 -0
- package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-clear.js +1 -0
- package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-list.js +1 -0
- package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-remove.js +1 -0
- package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-restore.js +1 -0
- package/dist/m365/entra/commands/m365group/m365group-remove.js +1 -0
- package/dist/m365/entra/commands/m365group/m365group-renew.js +1 -0
- package/dist/m365/entra/commands/m365group/m365group-set.js +1 -0
- package/dist/m365/entra/commands/m365group/m365group-teamify.js +1 -0
- package/dist/m365/entra/commands/m365group/m365group-user-add.js +1 -0
- package/dist/m365/entra/commands/m365group/m365group-user-list.js +1 -0
- package/dist/m365/entra/commands/m365group/m365group-user-remove.js +1 -0
- package/dist/m365/entra/commands/m365group/m365group-user-set.js +1 -0
- package/dist/m365/entra/commands/oauth2grant/oauth2grant-add.js +1 -0
- package/dist/m365/entra/commands/oauth2grant/oauth2grant-list.js +1 -0
- package/dist/m365/entra/commands/oauth2grant/oauth2grant-remove.js +1 -0
- package/dist/m365/entra/commands/oauth2grant/oauth2grant-set.js +1 -0
- package/dist/m365/entra/commands/policy/policy-list.js +1 -0
- package/dist/m365/entra/commands/siteclassification/siteclassification-disable.js +1 -0
- package/dist/m365/entra/commands/siteclassification/siteclassification-enable.js +1 -0
- package/dist/m365/entra/commands/siteclassification/siteclassification-get.js +1 -0
- package/dist/m365/entra/commands/siteclassification/siteclassification-set.js +1 -0
- package/dist/m365/entra/commands/user/user-add.js +1 -0
- package/dist/m365/entra/commands/user/user-get.js +1 -0
- package/dist/m365/entra/commands/user/user-guest-add.js +1 -0
- package/dist/m365/entra/commands/user/user-hibp.js +1 -0
- package/dist/m365/entra/commands/user/user-license-add.js +1 -0
- package/dist/m365/entra/commands/user/user-license-list.js +1 -0
- package/dist/m365/entra/commands/user/user-license-remove.js +1 -0
- package/dist/m365/entra/commands/user/user-list.js +1 -0
- package/dist/m365/entra/commands/user/user-password-validate.js +1 -0
- package/dist/m365/entra/commands/user/user-recyclebinitem-clear.js +1 -0
- package/dist/m365/entra/commands/user/user-recyclebinitem-list.js +1 -0
- package/dist/m365/entra/commands/user/user-recyclebinitem-remove.js +2 -1
- package/dist/m365/entra/commands/user/user-recyclebinitem-restore.js +1 -0
- package/dist/m365/entra/commands/user/user-remove.js +1 -0
- package/dist/m365/entra/commands/user/user-set.js +1 -0
- package/dist/m365/entra/commands/user/user-signin-list.js +1 -0
- package/dist/m365/outlook/commands/message/message-remove.js +113 -0
- package/dist/m365/outlook/commands.js +1 -0
- package/dist/m365/pp/commands/managementapp/managementapp-add.js +7 -7
- package/dist/m365/purview/commands/threatassessment/threatassessment-add.js +123 -0
- package/dist/m365/purview/commands/threatassessment/threatassessment-list.js +104 -0
- package/dist/m365/purview/commands.js +3 -1
- package/dist/m365/spfx/commands/project/DeployWorkflow.js +111 -0
- package/dist/m365/spfx/commands/project/project-azuredevops-pipeline-add.js +183 -0
- package/dist/m365/spfx/commands/project/project-azuredevops-pipeline-model.js +2 -0
- package/dist/m365/spfx/commands/project/project-github-workflow-add.js +3 -4
- package/dist/m365/spfx/commands.js +1 -0
- package/dist/m365/spo/commands/folder/FolderColor.js +19 -0
- package/dist/m365/spo/commands/folder/folder-add.js +46 -17
- package/dist/m365/spo/commands/folder/folder-set.js +118 -0
- package/dist/m365/spo/commands/group/group-member-add.js +2 -2
- package/dist/m365/spo/commands/group/group-member-remove.js +1 -1
- package/dist/m365/spo/commands/site/site-apppermission-add.js +2 -2
- package/dist/m365/spo/commands/site/site-recyclebinitem-restore.js +66 -27
- package/dist/m365/spo/commands/tenant/tenant-settings-set.js +1 -1
- package/dist/m365/spo/commands/user/user-remove.js +93 -16
- package/dist/m365/spo/commands.js +1 -0
- package/dist/m365/teams/commands/tab/tab-get.js +1 -1
- package/dist/utils/spo.js +1 -1
- package/docs/docs/cmd/app/app-get.mdx +10 -10
- package/docs/docs/cmd/app/app-open.mdx +6 -6
- package/docs/docs/cmd/app/permission/permission-add.mdx +2 -2
- package/docs/docs/cmd/app/permission/permission-list.mdx +5 -5
- package/docs/docs/cmd/cli/cli-consent.mdx +2 -2
- package/docs/docs/cmd/cli/cli-reconsent.mdx +6 -6
- package/docs/docs/cmd/entra/app/app-permission-add.mdx +6 -6
- package/docs/docs/cmd/entra/approleassignment/approleassignment-add.mdx +1 -1
- package/docs/docs/cmd/entra/approleassignment/approleassignment-list.mdx +4 -4
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-add.mdx +1 -1
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-get.mdx +1 -1
- package/docs/docs/cmd/entra/group/group-user-add.mdx +7 -7
- package/docs/docs/cmd/entra/oauth2grant/oauth2grant-add.mdx +1 -1
- package/docs/docs/cmd/entra/oauth2grant/oauth2grant-list.mdx +1 -1
- package/docs/docs/cmd/entra/oauth2grant/oauth2grant-remove.mdx +1 -1
- package/docs/docs/cmd/entra/oauth2grant/oauth2grant-set.mdx +1 -1
- package/docs/docs/cmd/external/connection/connection-add.mdx +2 -2
- package/docs/docs/cmd/file/file-add.mdx +1 -1
- package/docs/docs/cmd/graph/schemaextension/schemaextension-add.mdx +2 -2
- package/docs/docs/cmd/graph/schemaextension/schemaextension-set.mdx +1 -1
- package/docs/docs/cmd/login.mdx +18 -18
- package/docs/docs/cmd/outlook/message/message-remove.mdx +67 -0
- package/docs/docs/cmd/pa/app/app-owner-set.mdx +1 -1
- package/docs/docs/cmd/pa/app/app-permission-ensure.mdx +3 -3
- package/docs/docs/cmd/pa/app/app-permission-remove.mdx +3 -3
- package/docs/docs/cmd/planner/plan/plan-add.mdx +1 -1
- package/docs/docs/cmd/planner/roster/roster-add.mdx +5 -5
- package/docs/docs/cmd/planner/roster/roster-get.mdx +7 -7
- package/docs/docs/cmd/planner/roster/roster-member-add.mdx +4 -4
- package/docs/docs/cmd/planner/roster/roster-member-get.mdx +4 -4
- package/docs/docs/cmd/planner/roster/roster-member-list.mdx +2 -2
- package/docs/docs/cmd/planner/roster/roster-member-remove.mdx +5 -5
- package/docs/docs/cmd/planner/roster/roster-plan-list.mdx +1 -1
- package/docs/docs/cmd/planner/roster/roster-remove.mdx +2 -2
- package/docs/docs/cmd/planner/task/task-add.mdx +1 -1
- package/docs/docs/cmd/planner/task/task-get.mdx +1 -1
- package/docs/docs/cmd/planner/task/task-list.mdx +1 -1
- package/docs/docs/cmd/planner/task/task-remove.mdx +1 -1
- package/docs/docs/cmd/planner/task/task-set.mdx +1 -1
- package/docs/docs/cmd/pp/environment/environment-get.mdx +1 -1
- package/docs/docs/cmd/pp/environment/environment-list.mdx +1 -1
- package/docs/docs/cmd/pp/managementapp/managementapp-add.mdx +9 -9
- package/docs/docs/cmd/purview/auditlog/auditlog-list.mdx +1 -1
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-get.mdx +1 -1
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-list.mdx +1 -1
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-policysettings-list.mdx +1 -1
- package/docs/docs/cmd/purview/threatassessment/threatassessment-add.mdx +131 -0
- package/docs/docs/cmd/purview/threatassessment/threatassessment-list.mdx +110 -0
- package/docs/docs/cmd/request.mdx +1 -1
- package/docs/docs/cmd/spfx/project/project-azuredevops-pipeline-add.mdx +87 -0
- package/docs/docs/cmd/spfx/project/project-github-workflow-add.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +2 -2
- package/docs/docs/cmd/spo/folder/folder-add.mdx +38 -0
- package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-set.mdx +88 -0
- package/docs/docs/cmd/spo/group/group-member-add.mdx +2 -2
- package/docs/docs/cmd/spo/group/group-member-remove.mdx +3 -3
- package/docs/docs/cmd/spo/list/list-roleassignment-add.mdx +3 -3
- package/docs/docs/cmd/spo/list/list-roleassignment-remove.mdx +2 -2
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.mdx +8 -8
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.mdx +2 -2
- package/docs/docs/cmd/spo/site/site-apppermission-add.mdx +2 -2
- package/docs/docs/cmd/spo/site/site-apppermission-set.mdx +2 -2
- package/docs/docs/cmd/spo/site/site-recyclebinitem-restore.mdx +29 -5
- package/docs/docs/cmd/spo/tenant/tenant-settings-set.mdx +89 -89
- package/docs/docs/cmd/spo/user/user-ensure.mdx +1 -1
- package/docs/docs/cmd/spo/user/user-remove.mdx +40 -9
- package/docs/docs/cmd/spo/web/web-roleassignment-add.mdx +3 -3
- package/docs/docs/cmd/spo/web/web-roleassignment-remove.mdx +2 -2
- package/docs/docs/cmd/teams/channel/channel-member-remove.mdx +1 -1
- package/docs/docs/cmd/teams/channel/channel-member-set.mdx +1 -1
- package/docs/docs/cmd/teams/chat/chat-member-remove.mdx +3 -3
- package/docs/docs/cmd/teams/report/report-directroutingcalls.mdx +1 -1
- package/docs/docs/cmd/teams/report/report-pstncalls.mdx +1 -1
- package/docs/docs/cmd/teams/tab/tab-get.mdx +19 -12
- package/docs/docs/cmd/tenant/security/security-alerts-list.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-group-list.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-group-user-add.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-group-user-remove.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-message-add.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-message-get.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-message-like-set.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-message-list.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-message-remove.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-network-list.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-search.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-user-get.mdx +1 -1
- package/docs/docs/cmd/viva/engage/engage-user-list.mdx +1 -1
- package/npm-shrinkwrap.json +64 -60
- package/package.json +12 -12
- package/dist/m365/spo/commands/folder/folder-rename.js +0 -72
- package/docs/docs/cmd/spo/folder/folder-rename.mdx +0 -44
|
@@ -20,7 +20,7 @@ m365 search externalconnection add
|
|
|
20
20
|
|
|
21
21
|
```md definition-list
|
|
22
22
|
`-i, --id <id>`
|
|
23
|
-
: Developer-provided unique ID of the connection within the
|
|
23
|
+
: Developer-provided unique ID of the connection within the Microsoft Entra tenant.
|
|
24
24
|
|
|
25
25
|
`-n, --name <name>`
|
|
26
26
|
: The display name of the connection to be displayed in the Microsoft 365 admin center. Maximum length of 128 characters.
|
|
@@ -29,7 +29,7 @@ m365 search externalconnection add
|
|
|
29
29
|
: Description of the connection displayed in the Microsoft 365 admin center.
|
|
30
30
|
|
|
31
31
|
`--authorizedAppIds [authorizedAppIds]`
|
|
32
|
-
: Comma-separated collection of application IDs for registered
|
|
32
|
+
: Comma-separated collection of application IDs for registered Microsoft Entra apps that are allowed to manage the external connection and to index content in the external connection.
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
<Global />
|
|
@@ -29,7 +29,7 @@ m365 file add [options]
|
|
|
29
29
|
|
|
30
30
|
The `folderUrl` must be an absolute URL to the document library where the file should be uploaded. The document library can be located in any site collection in your tenant, including OneDrive for Business. The `folderUrl` can also point to a (sub)folder in the document library.
|
|
31
31
|
|
|
32
|
-
By default, the `file add` command will automatically lookup the ID of the site where you want to upload the file based on the specified `folderUrl`. It will do this, by breaking the URL into chunks and incrementally calling Microsoft Graph to retrieve site information. This is necessary, because there is no other way looking at the URL to distinguish where the site URL ends and the document library URL starts. If you want to speed up uploading files, or you use resource-specific consent and your
|
|
32
|
+
By default, the `file add` command will automatically lookup the ID of the site where you want to upload the file based on the specified `folderUrl`. It will do this, by breaking the URL into chunks and incrementally calling Microsoft Graph to retrieve site information. This is necessary, because there is no other way looking at the URL to distinguish where the site URL ends and the document library URL starts. If you want to speed up uploading files, or you use resource-specific consent and your Microsoft Entra app only has access to the specific site, you can use the `siteUrl` option to specify the URL of the site yourself.
|
|
33
33
|
|
|
34
34
|
## Examples
|
|
35
35
|
|
|
@@ -22,7 +22,7 @@ m365 graph schemaextension add [options]
|
|
|
22
22
|
: Description of the schema extension
|
|
23
23
|
|
|
24
24
|
`--owner <owner>`
|
|
25
|
-
: The Id
|
|
25
|
+
: The Id of the Microsoft Entra application that is the owner of the schema extension
|
|
26
26
|
|
|
27
27
|
`-t, --targetTypes <targetTypes>`
|
|
28
28
|
: Comma-separated list of Microsoft Graph resource types the schema extension targets
|
|
@@ -45,7 +45,7 @@ To create a schema extension, you have to specify a unique ID for the schema ext
|
|
|
45
45
|
|
|
46
46
|
The schema extension ID cannot be changed after creation.
|
|
47
47
|
|
|
48
|
-
The schema extension owner is the ID of the
|
|
48
|
+
The schema extension owner is the ID of the Microsoft Entra application that is the owner of the schema extension. Once set, this property is read-only and cannot be changed.
|
|
49
49
|
|
|
50
50
|
The target types are the set of Microsoft Graph resource types (that support schema extensions) that this schema extension definition can be applied to. This option is specified as a comma-separated list
|
|
51
51
|
|
|
@@ -17,7 +17,7 @@ m365 graph schemaextension set [options]
|
|
|
17
17
|
: The unique identifier for the schema extension definition
|
|
18
18
|
|
|
19
19
|
`--owner <owner>`
|
|
20
|
-
: The ID of the
|
|
20
|
+
: The ID of the Microsoft Entra application that is the owner of the schema extension
|
|
21
21
|
|
|
22
22
|
`-d, --description [description]`
|
|
23
23
|
: Description of the schema extension
|
package/docs/docs/cmd/login.mdx
CHANGED
|
@@ -34,10 +34,10 @@ m365 login [options]
|
|
|
34
34
|
: Certificate thumbprint. If not specified, and `authType` is set to `certificate`, it will be automatically calculated based on the specified certificate
|
|
35
35
|
|
|
36
36
|
`-s, --secret [secret]`
|
|
37
|
-
: Client Secret of the
|
|
37
|
+
: Client Secret of the Microsoft Entra application to use for authentication. Required when `authType` is set to `secret`.
|
|
38
38
|
|
|
39
39
|
`--appId [appId]`
|
|
40
|
-
: App ID of the
|
|
40
|
+
: App ID of the Microsoft Entra application to use for authentication. If not specified, use the app specified in the `CLIMICROSOFT365_ENTRAAPPID` environment variable. If the environment variable is not defined, use the multitenant PnP Management Shell app
|
|
41
41
|
|
|
42
42
|
`--tenant [tenant]`
|
|
43
43
|
: ID of the tenant from which accounts should be able to authenticate. Use `common` or `organization` if the app is multitenant. If not specified, use the tenant specified in the `CLIMICROSOFT365_TENANT` environment variable. If the environment variable is not defined, use `common` as the tenant identifier
|
|
@@ -61,11 +61,11 @@ When logging in to Microsoft 365 using the user name and password, next to the a
|
|
|
61
61
|
|
|
62
62
|
When logging in to Microsoft 365 using a certificate, the CLI for Microsoft 365 will store the contents of the certificate so that it can automatically re-authenticate if necessary. The contents of the certificate are removed by re-authenticating using the device code or by calling the [logout](logout.mdx) command.
|
|
63
63
|
|
|
64
|
-
To log in to Microsoft 365 using a certificate or secret, you will typically [create a custom
|
|
64
|
+
To log in to Microsoft 365 using a certificate or secret, you will typically [create a custom Microsoft Entra application](../user-guide/using-own-identity.mdx). To use this application with the CLI for Microsoft 365, you will set the `CLIMICROSOFT365_ENTRAAPPID` environment variable to the application's ID and the `CLIMICROSOFT365_TENANT` environment variable to the ID of the Microsoft Entra tenant, where you created the Microsoft Entra application. Also, please make sure to read about [the caveats when using the certificate login option](../user-guide/cli-certificate-caveats.mdx).
|
|
65
65
|
|
|
66
66
|
Managed identity in Azure Cloud Shell is the identity of the user. It is neither system- nor user-assigned and it can't be configured. To log in to Microsoft 365 using managed identity in Azure Cloud Shell, set `authType` to `identity` and don't specify the `userName` option.
|
|
67
67
|
|
|
68
|
-
When connecting to clouds other than `Public`, you'll need to use
|
|
68
|
+
When connecting to clouds other than `Public`, you'll need to use a Microsoft Entra application registered in a directory provisioned in that cloud. If you try to login using the default Microsoft Entra application, login will fail.
|
|
69
69
|
|
|
70
70
|
:::tip
|
|
71
71
|
|
|
@@ -160,19 +160,19 @@ Log in to Microsoft 365 using a user-assigned managed identity. Client id or pri
|
|
|
160
160
|
m365 login --authType identity --userName ac9fbed5-804c-4362-a369-21a4ec51109e
|
|
161
161
|
```
|
|
162
162
|
|
|
163
|
-
Log in to Microsoft 365 using your own multitenant
|
|
163
|
+
Log in to Microsoft 365 using your own multitenant Microsoft Entra application
|
|
164
164
|
|
|
165
165
|
```sh
|
|
166
166
|
m365 login --appId 31359c7f-bd7e-475c-86db-fdb8c937548c
|
|
167
167
|
```
|
|
168
168
|
|
|
169
|
-
Log in to Microsoft 365 using your own
|
|
169
|
+
Log in to Microsoft 365 using your own Microsoft Entra application that's restricted only to allow accounts from the specific tenant
|
|
170
170
|
|
|
171
171
|
```sh
|
|
172
172
|
m365 login --appId 31359c7f-bd7e-475c-86db-fdb8c937548c --tenant 31359c7f-bd7e-475c-86db-fdb8c937548a
|
|
173
173
|
```
|
|
174
174
|
|
|
175
|
-
Log in to Microsoft 365 using your own
|
|
175
|
+
Log in to Microsoft 365 using your own Microsoft Entra application and a personal information exchange (.pfx) file
|
|
176
176
|
|
|
177
177
|
```sh
|
|
178
178
|
m365 login --authType certificate --appId 31359c7f-bd7e-475c-86db-fdb8c937548c --tenant 31359c7f-bd7e-475c-86db-fdb8c937548a --certificateFile /Users/user/dev/localhost.pfx --password 'pass@word1'
|
|
@@ -201,6 +201,7 @@ m365 login --authType secret --secret topSeCr3t@007
|
|
|
201
201
|
Upon successful login:
|
|
202
202
|
```json
|
|
203
203
|
{
|
|
204
|
+
"connectionName": "dd8b99a7-77c6-4238-a609-396d27844921",
|
|
204
205
|
"connectedAs": "john.doe@contoso.onmicrosoft.com",
|
|
205
206
|
"authType": "DeviceCode",
|
|
206
207
|
"appId": "31359c7f-bd7e-475c-86db-fdb8c937548e",
|
|
@@ -217,11 +218,12 @@ m365 login --authType secret --secret topSeCr3t@007
|
|
|
217
218
|
```
|
|
218
219
|
Upon successful login:
|
|
219
220
|
```text
|
|
220
|
-
appId
|
|
221
|
-
appTenant
|
|
222
|
-
authType
|
|
223
|
-
|
|
224
|
-
|
|
221
|
+
appId : 31359c7f-bd7e-475c-86db-fdb8c937548e
|
|
222
|
+
appTenant : common
|
|
223
|
+
authType : DeviceCode
|
|
224
|
+
cloudType : Public
|
|
225
|
+
connectedAs : john.doe@contoso.onmicrosoft.com
|
|
226
|
+
connectionName: dd8b99a7-77c6-4238-a609-396d27844921
|
|
225
227
|
```
|
|
226
228
|
|
|
227
229
|
</TabItem>
|
|
@@ -232,8 +234,8 @@ m365 login --authType secret --secret topSeCr3t@007
|
|
|
232
234
|
```
|
|
233
235
|
Upon successful login:
|
|
234
236
|
```csv
|
|
235
|
-
connectedAs,authType,appId,appTenant,cloudType
|
|
236
|
-
john.doe@contoso.onmicrosoft.com,DeviceCode,31359c7f-bd7e-475c-86db-fdb8c937548e,common,Public
|
|
237
|
+
connectionName,connectedAs,authType,appId,appTenant,cloudType
|
|
238
|
+
dd8b99a7-77c6-4238-a609-396d27844921,john.doe@contoso.onmicrosoft.com,DeviceCode,31359c7f-bd7e-475c-86db-fdb8c937548e,common,Public
|
|
237
239
|
```
|
|
238
240
|
|
|
239
241
|
</TabItem>
|
|
@@ -244,14 +246,13 @@ m365 login --authType secret --secret topSeCr3t@007
|
|
|
244
246
|
```
|
|
245
247
|
Upon successful login:
|
|
246
248
|
```md
|
|
247
|
-
#
|
|
249
|
+
# login
|
|
248
250
|
|
|
249
251
|
Date: 7/2/2023
|
|
250
252
|
|
|
251
|
-
|
|
252
|
-
|
|
253
253
|
Property | Value
|
|
254
254
|
---------|-------
|
|
255
|
+
connectionName | dd8b99a7-77c6-4238-a609-396d27844921
|
|
255
256
|
connectedAs | john.doe@contoso.onmicrosoft.com
|
|
256
257
|
authType | DeviceCode
|
|
257
258
|
appId | 31359c7f-bd7e-475c-86db-fdb8c937548e
|
|
@@ -261,4 +262,3 @@ m365 login --authType secret --secret topSeCr3t@007
|
|
|
261
262
|
|
|
262
263
|
</TabItem>
|
|
263
264
|
</Tabs>
|
|
264
|
-
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
|
|
3
|
+
# outlook message remove
|
|
4
|
+
|
|
5
|
+
Permanently removes a specific message from a mailbox
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
m365 outlook message remove [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Options
|
|
14
|
+
|
|
15
|
+
```md definition-list
|
|
16
|
+
`-i, --id <id>`
|
|
17
|
+
: ID of the message.
|
|
18
|
+
|
|
19
|
+
`--userId [userId]`
|
|
20
|
+
: ID of the user that owns the mailbox. Specify either `userId` or `userName`, but not both. This option is required when using application permissions.
|
|
21
|
+
|
|
22
|
+
`--userName [userName]`
|
|
23
|
+
: User principal name of the user that owns the mailbox. Specify either `userId` or `userName`, but not both. This option is required when using application permissions.
|
|
24
|
+
|
|
25
|
+
`-f, --force`
|
|
26
|
+
: Don't prompt for confirmation.
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
<Global />
|
|
30
|
+
|
|
31
|
+
## Remarks
|
|
32
|
+
|
|
33
|
+
:::warning
|
|
34
|
+
|
|
35
|
+
This command will permanently delete the Outlook message. To move a message to the trash bin, use [outlook message move](./message-move.mdx) instead.
|
|
36
|
+
|
|
37
|
+
:::
|
|
38
|
+
|
|
39
|
+
## Examples
|
|
40
|
+
|
|
41
|
+
Remove a specific message for the currently signed-in user
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
m365 outlook message remove --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA=
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Remove a specific message in a shared mailbox
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
m365 outlook message remove --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userName sharedmailbox@contoso.com
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Remove a specific message from a specific mailbox specified by user ID using application permissions
|
|
54
|
+
|
|
55
|
+
```
|
|
56
|
+
m365 outlook message remove --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userId 6799fd1a-723b-4eb7-8e52-41ae530274ca
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Remove a specific message from a specific mailbox specified by user UPN using application permissions
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
m365 outlook message remove --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userName john.doe@contoso.com
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Response
|
|
66
|
+
|
|
67
|
+
The command won't return a response on success.
|
|
@@ -22,7 +22,7 @@ m365 pa app owner set [options]
|
|
|
22
22
|
: The name (GUID) of the Microsoft Power App.
|
|
23
23
|
|
|
24
24
|
`--userId [userId]`
|
|
25
|
-
: The
|
|
25
|
+
: The Microsoft Entra ID of the new owner. Specify either `userId` or `userName` but not both.
|
|
26
26
|
|
|
27
27
|
`--userName [userName]`
|
|
28
28
|
: The user principal name of the new owner. Specify either `userId` or `userName` but not both.
|
|
@@ -20,16 +20,16 @@ m365 pa app permission ensure [options]
|
|
|
20
20
|
: Permission level given to the app. Valid values: `CanEdit`, `CanView`. Sharing with the entire tenant is only supported with `CanView` role.
|
|
21
21
|
|
|
22
22
|
`--userId [userId]`
|
|
23
|
-
: The
|
|
23
|
+
: The ID of the Microsoft Entra user. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
|
|
24
24
|
|
|
25
25
|
`--userName [userName]`
|
|
26
26
|
: The user principal name of the user. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
|
|
27
27
|
|
|
28
28
|
`--groupId [groupId]`
|
|
29
|
-
: The
|
|
29
|
+
: The ID of the Microsoft Entra group. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
|
|
30
30
|
|
|
31
31
|
`--groupName [groupName]`
|
|
32
|
-
: The name of the
|
|
32
|
+
: The name of the Microsoft Entra group. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
|
|
33
33
|
|
|
34
34
|
`--tenant`
|
|
35
35
|
: Share the app with the entire tenant. When specifying this, only `CanView` role is supported. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
|
|
@@ -17,16 +17,16 @@ m365 pa app permission remove [options]
|
|
|
17
17
|
: The name (GUID) of the Microsoft Power App.
|
|
18
18
|
|
|
19
19
|
`--userId [userId]`
|
|
20
|
-
: The
|
|
20
|
+
: The ID of the Microsoft Entra user. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
|
|
21
21
|
|
|
22
22
|
`--userName [userName]`
|
|
23
23
|
: The user principal name of the user. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
|
|
24
24
|
|
|
25
25
|
`--groupId [groupId]`
|
|
26
|
-
: The
|
|
26
|
+
: The ID of the Microsoft Entra group. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
|
|
27
27
|
|
|
28
28
|
`--groupName [groupName]`
|
|
29
|
-
: The name of the
|
|
29
|
+
: The name of the Microsoft Entra group. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
|
|
30
30
|
|
|
31
31
|
`--tenant`
|
|
32
32
|
: When specifying this, tenant permissions (everyone in the tenant) will be removed. Specify either `userId`, `userName`, `groupId`, `groupName`, or `tenant`.
|
|
@@ -59,7 +59,7 @@ m365 planner plan add --title 'My Planner Plan' --ownerGroupName 'My Planner Gro
|
|
|
59
59
|
Adds a Microsoft Planner plan with a Roster by id.
|
|
60
60
|
|
|
61
61
|
```sh
|
|
62
|
-
m365 planner plan add --title 'My Planner Plan' --rosterId '
|
|
62
|
+
m365 planner plan add --title 'My Planner Plan' --rosterId '8bc07d47-c06f-41e1-8f00-1c113c8f6067'
|
|
63
63
|
```
|
|
64
64
|
|
|
65
65
|
Adds a Microsoft Planner plan with with a Group by name and share it with the given users.
|
|
@@ -51,7 +51,7 @@ m365 planner roster add
|
|
|
51
51
|
|
|
52
52
|
```json
|
|
53
53
|
{
|
|
54
|
-
"id": "
|
|
54
|
+
"id": "8bc07d47-c06f-41e1-8f00-1c113c8f6067",
|
|
55
55
|
"assignedSensitivityLabel": null
|
|
56
56
|
}
|
|
57
57
|
```
|
|
@@ -61,7 +61,7 @@ m365 planner roster add
|
|
|
61
61
|
|
|
62
62
|
```text
|
|
63
63
|
assignedSensitivityLabel: null
|
|
64
|
-
id :
|
|
64
|
+
id : 8bc07d47-c06f-41e1-8f00-1c113c8f6067
|
|
65
65
|
```
|
|
66
66
|
|
|
67
67
|
</TabItem>
|
|
@@ -69,7 +69,7 @@ m365 planner roster add
|
|
|
69
69
|
|
|
70
70
|
```csv
|
|
71
71
|
id,assignedSensitivityLabel
|
|
72
|
-
|
|
72
|
+
8bc07d47-c06f-41e1-8f00-1c113c8f6067,
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
</TabItem>
|
|
@@ -80,11 +80,11 @@ m365 planner roster add
|
|
|
80
80
|
|
|
81
81
|
Date: 7/2/2023
|
|
82
82
|
|
|
83
|
-
##
|
|
83
|
+
## 8bc07d47-c06f-41e1-8f00-1c113c8f6067
|
|
84
84
|
|
|
85
85
|
Property | Value
|
|
86
86
|
---------|-------
|
|
87
|
-
id |
|
|
87
|
+
id | 8bc07d47-c06f-41e1-8f00-1c113c8f6067
|
|
88
88
|
assignedSensitivityLabel | null
|
|
89
89
|
```
|
|
90
90
|
|
|
@@ -34,7 +34,7 @@ This command is based on an API that is currently in preview and is subject to c
|
|
|
34
34
|
Gets information about a specific Planner Roster.
|
|
35
35
|
|
|
36
36
|
```sh
|
|
37
|
-
m365 planner roster get --id
|
|
37
|
+
m365 planner roster get --id 8bc07d47-c06f-41e1-8f00-1c113c8f6067
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
## Response
|
|
@@ -44,7 +44,7 @@ m365 planner roster get --id tYqYlNd6eECmsNhN_fcq85cAGAnd
|
|
|
44
44
|
|
|
45
45
|
```json
|
|
46
46
|
{
|
|
47
|
-
"id": "
|
|
47
|
+
"id": "8bc07d47-c06f-41e1-8f00-1c113c8f6067",
|
|
48
48
|
"assignedSensitivityLabel": null
|
|
49
49
|
}
|
|
50
50
|
```
|
|
@@ -54,7 +54,7 @@ m365 planner roster get --id tYqYlNd6eECmsNhN_fcq85cAGAnd
|
|
|
54
54
|
|
|
55
55
|
```text
|
|
56
56
|
assignedSensitivityLabel: null
|
|
57
|
-
id :
|
|
57
|
+
id : 8bc07d47-c06f-41e1-8f00-1c113c8f6067
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
</TabItem>
|
|
@@ -62,22 +62,22 @@ m365 planner roster get --id tYqYlNd6eECmsNhN_fcq85cAGAnd
|
|
|
62
62
|
|
|
63
63
|
```csv
|
|
64
64
|
id,assignedSensitivityLabel
|
|
65
|
-
|
|
65
|
+
8bc07d47-c06f-41e1-8f00-1c113c8f6067,
|
|
66
66
|
```
|
|
67
67
|
|
|
68
68
|
</TabItem>
|
|
69
69
|
<TabItem value="Markdown">
|
|
70
70
|
|
|
71
71
|
```md
|
|
72
|
-
# planner roster get --id "
|
|
72
|
+
# planner roster get --id "8bc07d47-c06f-41e1-8f00-1c113c8f6067"
|
|
73
73
|
|
|
74
74
|
Date: 1/30/2023
|
|
75
75
|
|
|
76
|
-
##
|
|
76
|
+
## 8bc07d47-c06f-41e1-8f00-1c113c8f6067
|
|
77
77
|
|
|
78
78
|
Property | Value
|
|
79
79
|
---------|-------
|
|
80
|
-
id |
|
|
80
|
+
id | 8bc07d47-c06f-41e1-8f00-1c113c8f6067
|
|
81
81
|
assignedSensitivityLabel | null
|
|
82
82
|
```
|
|
83
83
|
|
|
@@ -19,7 +19,7 @@ m365 planner roster member add [options]
|
|
|
19
19
|
: ID of the Planner Roster.
|
|
20
20
|
|
|
21
21
|
`--userId [userId]`
|
|
22
|
-
: User's
|
|
22
|
+
: User's Microsoft Entra ID. Specify either `userId`, `userName` but not both.
|
|
23
23
|
|
|
24
24
|
`--userName [userName]`
|
|
25
25
|
: User's UPN (user principal name, e.g. johndoe@example.com). Specify either `userId`, `userName` but not both.
|
|
@@ -40,13 +40,13 @@ This command is based on an API that is currently in preview and is subject to c
|
|
|
40
40
|
Adds a specific user by user name as member of the Planner Roster.
|
|
41
41
|
|
|
42
42
|
```sh
|
|
43
|
-
m365 planner roster member add --rosterId
|
|
43
|
+
m365 planner roster member add --rosterId 8bc07d47-c06f-41e1-8f00-1c113c8f6067 --userName john.doe@contoso.com
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
Adds a specific user by ID as member of the Planner Roster.
|
|
47
47
|
|
|
48
48
|
```sh
|
|
49
|
-
m365 planner roster member add --rosterId
|
|
49
|
+
m365 planner roster member add --rosterId 8bc07d47-c06f-41e1-8f00-1c113c8f6067 --userId d049a857-f1c3-4fb3-a629-d8cfb3bd7275
|
|
50
50
|
```
|
|
51
51
|
|
|
52
52
|
## Response
|
|
@@ -85,7 +85,7 @@ m365 planner roster member add --rosterId tYqYlNd6eECmsNhN_fcq85cAGAnd --userId
|
|
|
85
85
|
<TabItem value="Markdown">
|
|
86
86
|
|
|
87
87
|
```md
|
|
88
|
-
# planner roster member add --rosterId "
|
|
88
|
+
# planner roster member add --rosterId "8bc07d47-c06f-41e1-8f00-1c113c8f6067" --userId "2056d2f6-3257-4253-8cfc-b73393e414e5"
|
|
89
89
|
|
|
90
90
|
Date: 6/2/2023
|
|
91
91
|
|
|
@@ -19,7 +19,7 @@ m365 planner roster member get [options]
|
|
|
19
19
|
: ID of the Planner Roster.
|
|
20
20
|
|
|
21
21
|
`--userId [userId]`
|
|
22
|
-
: User's
|
|
22
|
+
: User's Microsoft Entra ID. Specify either `userId` or `userName` but not both.
|
|
23
23
|
|
|
24
24
|
`--userName [userName]`
|
|
25
25
|
: User's UPN (user principal name, e.g. johndoe@example.com). Specify either `userId` or `userName` but not both.
|
|
@@ -40,13 +40,13 @@ This command is based on an API that is currently in preview and is subject to c
|
|
|
40
40
|
Gets a specific user by user name as member of the Planner Roster.
|
|
41
41
|
|
|
42
42
|
```sh
|
|
43
|
-
m365 planner roster member get --rosterId
|
|
43
|
+
m365 planner roster member get --rosterId 8bc07d47-c06f-41e1-8f00-1c113c8f6067 --userName john.doe@contoso.com
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
Gets a specific user by ID as member of the Planner Roster.
|
|
47
47
|
|
|
48
48
|
```sh
|
|
49
|
-
m365 planner roster member get --rosterId
|
|
49
|
+
m365 planner roster member get --rosterId 8bc07d47-c06f-41e1-8f00-1c113c8f6067 --userId d049a857-f1c3-4fb3-a629-d8cfb3bd7275
|
|
50
50
|
```
|
|
51
51
|
|
|
52
52
|
## Response
|
|
@@ -85,7 +85,7 @@ m365 planner roster member get --rosterId tYqYlNd6eECmsNhN_fcq85cAGAnd --userId
|
|
|
85
85
|
<TabItem value="Markdown">
|
|
86
86
|
|
|
87
87
|
```md
|
|
88
|
-
# planner roster member get --rosterId "
|
|
88
|
+
# planner roster member get --rosterId "8bc07d47-c06f-41e1-8f00-1c113c8f6067" --userId "2056d2f6-3257-4253-8cfc-b73393e414e5"
|
|
89
89
|
|
|
90
90
|
Date: 18/2/2023
|
|
91
91
|
|
|
@@ -34,7 +34,7 @@ This command is based on an API that is currently in preview and is subject to c
|
|
|
34
34
|
Lists members of the specified Microsoft Planner Roster.
|
|
35
35
|
|
|
36
36
|
```sh
|
|
37
|
-
m365 planner roster member list --rosterId
|
|
37
|
+
m365 planner roster member list --rosterId 8bc07d47-c06f-41e1-8f00-1c113c8f6067
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
## Response
|
|
@@ -74,7 +74,7 @@ m365 planner roster member list --rosterId tYqYlNd6eECmsNhN_fcq85cAGAnd
|
|
|
74
74
|
<TabItem value="Markdown">
|
|
75
75
|
|
|
76
76
|
```md
|
|
77
|
-
# planner roster member list --rosterId "
|
|
77
|
+
# planner roster member list --rosterId "8bc07d47-c06f-41e1-8f00-1c113c8f6067"
|
|
78
78
|
|
|
79
79
|
Date: 5/2/2023
|
|
80
80
|
|
|
@@ -17,7 +17,7 @@ m365 planner roster member remove [options]
|
|
|
17
17
|
: ID of the Planner Roster.
|
|
18
18
|
|
|
19
19
|
`--userId [userId]`
|
|
20
|
-
: User's
|
|
20
|
+
: User's Microsoft Entra ID. Specify either `userId` or `userName` but not both.
|
|
21
21
|
|
|
22
22
|
`--userName [userName]`
|
|
23
23
|
: User's UPN (user principal name, e.g. johndoe@example.com). Specify either `userId` or `userName` but not both.
|
|
@@ -44,16 +44,16 @@ The Planner Roster will be deleted when it doesn't have any users remaining in t
|
|
|
44
44
|
|
|
45
45
|
## Examples
|
|
46
46
|
|
|
47
|
-
Remove a Roster member by its
|
|
47
|
+
Remove a Roster member by its Microsoft Entra ID.
|
|
48
48
|
|
|
49
49
|
```sh
|
|
50
|
-
m365 planner roster member remove --rosterId
|
|
50
|
+
m365 planner roster member remove --rosterId 8bc07d47-c06f-41e1-8f00-1c113c8f6067 --userId 126878e5-d8f9-4db2-951d-d25486488d38
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
Remove a Roster member by its UPN
|
|
53
|
+
Remove a Roster member by its UPN.
|
|
54
54
|
|
|
55
55
|
```sh
|
|
56
|
-
m365 planner roster member remove --rosterId
|
|
56
|
+
m365 planner roster member remove --rosterId 8bc07d47-c06f-41e1-8f00-1c113c8f6067 --userName john.doe@contoso.com
|
|
57
57
|
```
|
|
58
58
|
|
|
59
59
|
## Response
|
|
@@ -16,7 +16,7 @@ m365 planner roster plan list [options]
|
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`--userId [userId]`
|
|
19
|
-
: User's
|
|
19
|
+
: User's Microsoft Entra ID. Specify either `userId` or `userName` but not both. Specify this option only when using application permissions.
|
|
20
20
|
|
|
21
21
|
`--userName [userName]`
|
|
22
22
|
: User's UPN (user principal name, e.g. johndoe@example.com). Specify either `userId` or `userName` but not both. Specify this option only when using application permissions.
|
|
@@ -41,13 +41,13 @@ This command is based on an API that is currently in preview and is subject to c
|
|
|
41
41
|
Removes a Planner Roster
|
|
42
42
|
|
|
43
43
|
```sh
|
|
44
|
-
m365 planner roster remove --id
|
|
44
|
+
m365 planner roster remove --id 8bc07d47-c06f-41e1-8f00-1c113c8f6067
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
Removes a Planner Roster without confirmation prompt
|
|
48
48
|
|
|
49
49
|
```sh
|
|
50
|
-
m365 planner roster remove --id
|
|
50
|
+
m365 planner roster remove --id 8bc07d47-c06f-41e1-8f00-1c113c8f6067 --force
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
## Response
|
|
@@ -133,7 +133,7 @@ m365 planner task add --title "My Planner Task" --planId "8QZEH7b3wkSbGQobscsM5g
|
|
|
133
133
|
Adds a Microsoft Planner task with the specified name for the plan with the specified rosterId and bucket with the ID.
|
|
134
134
|
|
|
135
135
|
```sh
|
|
136
|
-
m365 planner task add --title "My Planner Task" --rosterId "
|
|
136
|
+
m365 planner task add --title "My Planner Task" --rosterId "8bc07d47-c06f-41e1-8f00-1c113c8f6067" --bucketId "IK8tuFTwQEa5vTonM7ZMRZgAKdna"
|
|
137
137
|
```
|
|
138
138
|
|
|
139
139
|
## Response
|
|
@@ -62,7 +62,7 @@ m365 planner task get --title "My Planner Task" --bucketName "My Planner Bucket"
|
|
|
62
62
|
Returns the Microsoft Planner task by rosterId from the specified bucket.
|
|
63
63
|
|
|
64
64
|
```sh
|
|
65
|
-
m365 planner task get --title "New Task" --bucketName "To do" --rosterId "
|
|
65
|
+
m365 planner task get --title "New Task" --bucketName "To do" --rosterId "8bc07d47-c06f-41e1-8f00-1c113c8f6067"
|
|
66
66
|
```
|
|
67
67
|
|
|
68
68
|
## Response
|
|
@@ -94,7 +94,7 @@ m365 planner task list --bucketName "My Bucket" --planTitle "My Plan" --ownerGro
|
|
|
94
94
|
List the Microsoft Planner tasks by rosterId from the specified bucket.
|
|
95
95
|
|
|
96
96
|
```sh
|
|
97
|
-
m365 planner task list --bucketName "My Bucket" --rosterId "
|
|
97
|
+
m365 planner task list --bucketName "My Bucket" --rosterId "8bc07d47-c06f-41e1-8f00-1c113c8f6067"
|
|
98
98
|
```
|
|
99
99
|
|
|
100
100
|
## Response
|
|
@@ -95,7 +95,7 @@ m365 planner task remove --title "My Task" --bucketName "My Bucket" --planTitle
|
|
|
95
95
|
Removes the Microsoft Planner task by rosterId from the specified bucket.
|
|
96
96
|
|
|
97
97
|
```sh
|
|
98
|
-
m365 planner task remove --title "My Task" --bucketName "My Bucket" --rosterId "
|
|
98
|
+
m365 planner task remove --title "My Task" --bucketName "My Bucket" --rosterId "8bc07d47-c06f-41e1-8f00-1c113c8f6067"
|
|
99
99
|
```
|
|
100
100
|
|
|
101
101
|
## Response
|
|
@@ -111,7 +111,7 @@ m365 planner task set --id "Z-RLQGfppU6H3663DBzfs5gAMD3o" --title "My Planner Ta
|
|
|
111
111
|
Moves a Microsoft Planner task with the specified ID to the bucket by name. Based on the plan with the specified rosterId.
|
|
112
112
|
|
|
113
113
|
```sh
|
|
114
|
-
m365 planner task set --id "Z-RLQGfppU6H3663DBzfs5gAMD3o" --bucketName "My Planner Bucket" --rosterId "
|
|
114
|
+
m365 planner task set --id "Z-RLQGfppU6H3663DBzfs5gAMD3o" --bucketName "My Planner Bucket" --rosterId "8bc07d47-c06f-41e1-8f00-1c113c8f6067"
|
|
115
115
|
```
|
|
116
116
|
|
|
117
117
|
Moves a Microsoft Planner task with the specified ID to the bucket by name. Based on the plan with the specified title owned by the specified group by name.
|
|
@@ -30,7 +30,7 @@ m365 pp environment get [options]
|
|
|
30
30
|
|
|
31
31
|
This command is based on an API that is currently in preview and is subject to change once the API reached general availability.
|
|
32
32
|
|
|
33
|
-
Register CLI for Microsoft 365 or
|
|
33
|
+
Register CLI for Microsoft 365 or Microsoft Entra application as a management application for the Power Platform using
|
|
34
34
|
|
|
35
35
|
`m365 pp managementapp add [options]`
|
|
36
36
|
|
|
@@ -26,7 +26,7 @@ m365 pp environment list [options]
|
|
|
26
26
|
:::warning
|
|
27
27
|
|
|
28
28
|
This command is based on an API that is currently in preview and is subject to change once the API reached general availability.
|
|
29
|
-
Register CLI for Microsoft 365 or
|
|
29
|
+
Register CLI for Microsoft 365 or Microsoft Entra application as a management application for the Power Platform using m365 pp managementapp add [options]
|
|
30
30
|
|
|
31
31
|
:::
|
|
32
32
|
|