@pnp/cli-microsoft365 10.0.0-beta.04ac437 → 10.0.0-beta.1a88ed2
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 +1 -0
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Auth.js +3 -3
- package/dist/AuthServer.js +7 -7
- package/dist/api.js +1 -1
- package/dist/appInsights.js +6 -4
- package/dist/config.js +1 -0
- package/dist/m365/cli/commands/cli-doctor.js +2 -2
- package/dist/m365/cli/commands.js +1 -2
- package/dist/m365/commands/login.js +122 -69
- package/dist/m365/commands/setup.js +1 -1
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-add.js +0 -5
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-get.js +0 -5
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-list.js +0 -5
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-add.js +0 -5
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-get.js +0 -5
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-list.js +0 -5
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-remove.js +0 -5
- package/dist/m365/entra/commands/app/app-add.js +0 -5
- package/dist/m365/entra/commands/app/app-get.js +0 -5
- package/dist/m365/entra/commands/app/app-list.js +0 -5
- package/dist/m365/entra/commands/app/app-permission-add.js +0 -5
- package/dist/m365/entra/commands/app/app-remove.js +0 -5
- package/dist/m365/entra/commands/app/app-role-add.js +0 -5
- package/dist/m365/entra/commands/app/app-role-list.js +0 -5
- package/dist/m365/entra/commands/app/app-role-remove.js +0 -5
- package/dist/m365/entra/commands/app/app-set.js +0 -5
- package/dist/m365/entra/commands/approleassignment/approleassignment-add.js +0 -5
- package/dist/m365/entra/commands/approleassignment/approleassignment-list.js +0 -5
- package/dist/m365/entra/commands/approleassignment/approleassignment-remove.js +0 -5
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-add.js +0 -5
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-get.js +0 -5
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-list.js +0 -5
- package/dist/m365/entra/commands/group/group-add.js +0 -4
- package/dist/m365/entra/commands/group/group-get.js +0 -5
- package/dist/m365/entra/commands/group/group-list.js +0 -5
- package/dist/m365/entra/commands/group/{group-user-add.js → group-member-add.js} +18 -18
- package/dist/m365/entra/commands/group/{group-user-list.js → group-member-list.js} +16 -21
- package/dist/m365/entra/commands/group/{group-user-set.js → group-member-set.js} +19 -19
- package/dist/m365/entra/commands/group/group-remove.js +0 -5
- package/dist/m365/entra/commands/groupsetting/groupsetting-add.js +0 -5
- package/dist/m365/entra/commands/groupsetting/groupsetting-get.js +0 -5
- package/dist/m365/entra/commands/groupsetting/groupsetting-list.js +0 -5
- package/dist/m365/entra/commands/groupsetting/groupsetting-remove.js +0 -5
- package/dist/m365/entra/commands/groupsetting/groupsetting-set.js +0 -5
- package/dist/m365/entra/commands/groupsettingtemplate/groupsettingtemplate-get.js +0 -5
- package/dist/m365/entra/commands/groupsettingtemplate/groupsettingtemplate-list.js +0 -5
- package/dist/m365/entra/commands/license/license-list.js +0 -5
- package/dist/m365/entra/commands/m365group/m365group-add.js +0 -5
- package/dist/m365/entra/commands/m365group/m365group-conversation-list.js +0 -5
- package/dist/m365/entra/commands/m365group/m365group-conversation-post-list.js +0 -5
- package/dist/m365/entra/commands/m365group/m365group-get.js +0 -5
- package/dist/m365/entra/commands/m365group/m365group-list.js +0 -5
- package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-clear.js +0 -5
- package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-list.js +0 -5
- package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-remove.js +0 -5
- package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-restore.js +0 -5
- package/dist/m365/entra/commands/m365group/m365group-remove.js +0 -5
- package/dist/m365/entra/commands/m365group/m365group-renew.js +0 -5
- package/dist/m365/entra/commands/m365group/m365group-report-activitycounts.js +0 -4
- package/dist/m365/entra/commands/m365group/m365group-report-activitydetail.js +0 -4
- package/dist/m365/entra/commands/m365group/m365group-report-activityfilecounts.js +0 -4
- package/dist/m365/entra/commands/m365group/m365group-report-activitygroupcounts.js +0 -4
- package/dist/m365/entra/commands/m365group/m365group-report-activitystorage.js +0 -4
- package/dist/m365/entra/commands/m365group/m365group-set.js +159 -86
- package/dist/m365/entra/commands/m365group/m365group-teamify.js +0 -5
- package/dist/m365/entra/commands/m365group/m365group-user-add.js +5 -18
- package/dist/m365/entra/commands/m365group/m365group-user-list.js +0 -5
- package/dist/m365/entra/commands/m365group/m365group-user-remove.js +93 -62
- package/dist/m365/entra/commands/m365group/m365group-user-set.js +3 -15
- package/dist/m365/entra/commands/oauth2grant/oauth2grant-add.js +0 -5
- package/dist/m365/entra/commands/oauth2grant/oauth2grant-list.js +3 -17
- package/dist/m365/entra/commands/oauth2grant/oauth2grant-remove.js +0 -5
- package/dist/m365/entra/commands/oauth2grant/oauth2grant-set.js +0 -5
- package/dist/m365/entra/commands/policy/policy-list.js +0 -5
- package/dist/m365/entra/commands/siteclassification/siteclassification-disable.js +0 -5
- package/dist/m365/entra/commands/siteclassification/siteclassification-enable.js +0 -5
- package/dist/m365/entra/commands/siteclassification/siteclassification-get.js +0 -5
- package/dist/m365/entra/commands/siteclassification/siteclassification-set.js +0 -5
- package/dist/m365/entra/commands/user/user-add.js +0 -5
- package/dist/m365/entra/commands/user/user-get.js +0 -5
- package/dist/m365/entra/commands/user/user-guest-add.js +0 -5
- package/dist/m365/entra/commands/user/user-hibp.js +0 -5
- package/dist/m365/entra/commands/user/user-license-add.js +0 -5
- package/dist/m365/entra/commands/user/user-license-list.js +0 -5
- package/dist/m365/entra/commands/user/user-license-remove.js +0 -5
- package/dist/m365/entra/commands/user/user-list.js +0 -5
- package/dist/m365/entra/commands/user/user-password-validate.js +0 -5
- package/dist/m365/entra/commands/user/user-recyclebinitem-clear.js +0 -5
- package/dist/m365/entra/commands/user/user-recyclebinitem-list.js +0 -5
- package/dist/m365/entra/commands/user/user-recyclebinitem-remove.js +0 -5
- package/dist/m365/entra/commands/user/user-recyclebinitem-restore.js +0 -5
- package/dist/m365/entra/commands/user/user-registrationdetails-list.js +0 -4
- package/dist/m365/entra/commands/user/user-remove.js +0 -5
- package/dist/m365/entra/commands/user/user-set.js +0 -5
- package/dist/m365/entra/commands/user/user-signin-list.js +0 -5
- package/dist/m365/entra/commands.js +3 -3
- package/dist/m365/external/commands/item/item-add.js +2 -5
- package/dist/m365/file/commands/file-move.js +4 -4
- package/dist/m365/flow/commands/environment/environment-list.js +1 -1
- package/dist/m365/pa/commands/app/app-list.js +1 -6
- package/dist/m365/pa/commands/connector/connector-list.js +1 -6
- package/dist/m365/pa/commands/environment/environment-list.js +1 -1
- package/dist/m365/pp/commands/environment/environment-list.js +1 -1
- package/dist/m365/spfx/commands/project/project-doctor/{doctor-1.20.0-rc.1.js → doctor-1.20.0.js} +4 -2
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN002021_DEVDEP_rushstack_eslint_config.js +10 -0
- package/dist/m365/spfx/commands/project/project-doctor.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.20.0-rc.1.js → upgrade-1.20.0.js} +28 -26
- package/dist/m365/spfx/commands/project/project-upgrade.js +13 -15
- package/dist/m365/spfx/commands/spfx-doctor.js +1 -1
- package/dist/m365/spo/commands/app/app-instance-list.js +3 -18
- package/dist/m365/spo/commands/app/app-list.js +1 -8
- package/dist/m365/spo/commands/feature/feature-list.js +1 -8
- package/dist/m365/spo/commands/file/file-copy.js +6 -6
- package/dist/m365/spo/commands/file/file-move.js +6 -6
- package/dist/m365/spo/commands/file/file-remove.js +7 -1
- package/dist/m365/spo/commands/folder/folder-move.js +43 -35
- package/dist/m365/spo/commands/group/group-member-add.js +3 -23
- package/dist/m365/spo/commands/group/group-member-remove.js +1 -18
- package/dist/m365/spo/commands/list/list-remove.js +14 -4
- package/dist/m365/spo/commands/list/list-webhook-list.js +1 -6
- package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +1 -8
- package/dist/m365/spo/commands/page/page-list.js +1 -1
- package/dist/m365/spo/commands/page/page-remove.js +37 -16
- package/dist/m365/spo/commands/page/page-template-list.js +1 -3
- package/dist/m365/spo/commands/site/site-admin-list.js +8 -9
- package/dist/m365/spo/commands/site/site-admin-remove.js +5 -4
- package/dist/m365/spo/commands/site/site-sharingpermission-set.js +68 -0
- package/dist/m365/spo/commands/sitescript/sitescript-list.js +1 -3
- package/dist/m365/spo/commands/tenant/tenant-site-membership-list.js +118 -0
- package/dist/m365/spo/commands/{site/site-rename.js → tenant/tenant-site-rename.js} +29 -32
- package/dist/m365/spo/commands/theme/theme-list.js +1 -1
- package/dist/m365/spo/commands/user/user-ensure.js +1 -11
- package/dist/m365/spo/commands/web/web-clientsidewebpart-list.js +1 -6
- package/dist/m365/spo/commands.js +3 -1
- package/dist/m365/spp/commands/model/model-list.js +57 -0
- package/dist/m365/spp/commands.js +2 -1
- package/dist/m365/teams/commands/channel/channel-get.js +15 -50
- package/dist/m365/teams/commands/tab/tab-list.js +5 -3
- package/dist/m365/teams/commands/team/team-get.js +16 -21
- package/dist/m365/viva/commands/engage/Community.js +2 -0
- package/dist/m365/viva/commands/engage/engage-community-list.js +28 -0
- package/dist/m365/viva/commands.js +1 -0
- package/dist/request.js +46 -61
- package/dist/telemetryRunner.js +2 -2
- package/dist/utils/spo.js +95 -28
- package/dist/utils/spp.js +22 -0
- package/dist/utils/teams.js +47 -5
- package/dist/utils/timersUtil.js +13 -0
- package/dist/utils/urlUtil.js +8 -0
- package/dist/utils/zod.js +11 -2
- package/docs/docs/cmd/cli/cli-doctor.mdx +24 -23
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-add.mdx +0 -6
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-get.mdx +0 -6
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-list.mdx +0 -6
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-add.mdx +0 -6
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-get.mdx +0 -6
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-list.mdx +0 -6
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-remove.mdx +0 -6
- package/docs/docs/cmd/entra/app/app-add.mdx +0 -1
- package/docs/docs/cmd/entra/app/app-get.mdx +0 -1
- package/docs/docs/cmd/entra/app/app-list.mdx +0 -1
- package/docs/docs/cmd/entra/app/app-permission-add.mdx +0 -1
- package/docs/docs/cmd/entra/app/app-permission-list.mdx +0 -6
- package/docs/docs/cmd/entra/app/app-remove.mdx +0 -1
- package/docs/docs/cmd/entra/app/app-role-add.mdx +0 -1
- package/docs/docs/cmd/entra/app/app-role-list.mdx +0 -1
- package/docs/docs/cmd/entra/app/app-role-remove.mdx +0 -1
- package/docs/docs/cmd/entra/app/app-set.mdx +0 -1
- package/docs/docs/cmd/entra/approleassignment/approleassignment-add.mdx +0 -6
- package/docs/docs/cmd/entra/approleassignment/approleassignment-list.mdx +0 -6
- package/docs/docs/cmd/entra/approleassignment/approleassignment-remove.mdx +0 -6
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-add.mdx +0 -1
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-get.mdx +0 -1
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-list.mdx +0 -1
- package/docs/docs/cmd/entra/group/group-add.mdx +0 -6
- package/docs/docs/cmd/entra/group/group-get.mdx +0 -6
- package/docs/docs/cmd/entra/group/group-list.mdx +0 -6
- package/docs/docs/cmd/entra/group/group-member-add.mdx +62 -0
- package/docs/docs/cmd/entra/group/{group-user-list.mdx → group-member-list.mdx} +14 -20
- package/docs/docs/cmd/entra/group/group-member-set.mdx +62 -0
- package/docs/docs/cmd/entra/group/group-remove.mdx +0 -6
- package/docs/docs/cmd/entra/groupsetting/groupsetting-add.mdx +0 -6
- package/docs/docs/cmd/entra/groupsetting/groupsetting-get.mdx +0 -6
- package/docs/docs/cmd/entra/groupsetting/groupsetting-list.mdx +0 -6
- package/docs/docs/cmd/entra/groupsetting/groupsetting-remove.mdx +0 -6
- package/docs/docs/cmd/entra/groupsetting/groupsetting-set.mdx +0 -6
- package/docs/docs/cmd/entra/groupsettingtemplate/groupsettingtemplate-get.mdx +0 -6
- package/docs/docs/cmd/entra/groupsettingtemplate/groupsettingtemplate-list.mdx +0 -6
- package/docs/docs/cmd/entra/license/license-list.mdx +0 -6
- package/docs/docs/cmd/entra/m365group/m365group-add.mdx +0 -6
- package/docs/docs/cmd/entra/m365group/m365group-conversation-list.mdx +0 -6
- package/docs/docs/cmd/entra/m365group/m365group-conversation-post-list.mdx +0 -6
- package/docs/docs/cmd/entra/m365group/m365group-get.mdx +0 -6
- package/docs/docs/cmd/entra/m365group/m365group-list.mdx +0 -6
- package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-clear.mdx +0 -6
- package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-list.mdx +0 -6
- package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-remove.mdx +0 -6
- package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-restore.mdx +0 -6
- package/docs/docs/cmd/entra/m365group/m365group-remove.mdx +0 -6
- package/docs/docs/cmd/entra/m365group/m365group-renew.mdx +0 -6
- package/docs/docs/cmd/entra/m365group/m365group-report-activitycounts.mdx +0 -6
- package/docs/docs/cmd/entra/m365group/m365group-report-activitydetail.mdx +0 -6
- package/docs/docs/cmd/entra/m365group/m365group-report-activityfilecounts.mdx +0 -6
- package/docs/docs/cmd/entra/m365group/m365group-report-activitygroupcounts.mdx +2 -8
- package/docs/docs/cmd/entra/m365group/m365group-report-activitystorage.mdx +2 -8
- package/docs/docs/cmd/entra/m365group/m365group-set.mdx +38 -23
- package/docs/docs/cmd/entra/m365group/m365group-teamify.mdx +5 -11
- package/docs/docs/cmd/entra/m365group/m365group-user-add.mdx +5 -14
- package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +0 -12
- package/docs/docs/cmd/entra/m365group/m365group-user-remove.mdx +29 -21
- package/docs/docs/cmd/entra/m365group/m365group-user-set.mdx +4 -17
- package/docs/docs/cmd/entra/oauth2grant/oauth2grant-add.mdx +3 -9
- package/docs/docs/cmd/entra/oauth2grant/oauth2grant-list.mdx +1 -7
- package/docs/docs/cmd/entra/oauth2grant/oauth2grant-remove.mdx +4 -10
- package/docs/docs/cmd/entra/oauth2grant/oauth2grant-set.mdx +3 -9
- package/docs/docs/cmd/entra/policy/policy-list.mdx +3 -9
- package/docs/docs/cmd/entra/siteclassification/siteclassification-disable.mdx +3 -9
- package/docs/docs/cmd/entra/siteclassification/siteclassification-enable.mdx +7 -13
- package/docs/docs/cmd/entra/siteclassification/siteclassification-get.mdx +1 -7
- package/docs/docs/cmd/entra/siteclassification/siteclassification-set.mdx +8 -14
- package/docs/docs/cmd/entra/user/user-add.mdx +4 -10
- package/docs/docs/cmd/entra/user/user-get.mdx +7 -13
- package/docs/docs/cmd/entra/user/user-guest-add.mdx +3 -9
- package/docs/docs/cmd/entra/user/user-hibp.mdx +2 -8
- package/docs/docs/cmd/entra/user/user-license-add.mdx +0 -6
- package/docs/docs/cmd/entra/user/user-license-list.mdx +0 -6
- package/docs/docs/cmd/entra/user/user-license-remove.mdx +2 -8
- package/docs/docs/cmd/entra/user/user-list.mdx +1 -7
- package/docs/docs/cmd/entra/user/user-password-validate.mdx +1 -7
- package/docs/docs/cmd/entra/user/user-recyclebinitem-clear.mdx +2 -8
- package/docs/docs/cmd/entra/user/user-recyclebinitem-list.mdx +0 -6
- package/docs/docs/cmd/entra/user/user-recyclebinitem-remove.mdx +2 -8
- package/docs/docs/cmd/entra/user/user-recyclebinitem-restore.mdx +0 -6
- package/docs/docs/cmd/entra/user/user-registrationdetails-list.mdx +7 -13
- package/docs/docs/cmd/entra/user/user-remove.mdx +2 -8
- package/docs/docs/cmd/entra/user/user-set.mdx +0 -6
- package/docs/docs/cmd/entra/user/user-signin-list.mdx +9 -15
- package/docs/docs/cmd/external/item/item-add.mdx +3 -3
- package/docs/docs/cmd/login.mdx +9 -0
- package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-move.mdx +1 -3
- package/docs/docs/cmd/spo/file/file-remove.mdx +13 -4
- package/docs/docs/cmd/spo/folder/folder-move.mdx +84 -13
- package/docs/docs/cmd/spo/group/group-member-add.mdx +8 -14
- package/docs/docs/cmd/spo/group/group-member-remove.mdx +5 -11
- package/docs/docs/cmd/spo/list/list-remove.mdx +10 -1
- package/docs/docs/cmd/spo/page/page-remove.mdx +30 -12
- package/docs/docs/cmd/spo/site/site-admin-list.mdx +64 -12
- package/docs/docs/cmd/spo/site/site-sharingpermission-set.mdx +58 -0
- package/docs/docs/cmd/spo/tenant/tenant-site-membership-list.mdx +122 -0
- package/docs/docs/cmd/spo/{site/site-rename.mdx → tenant/tenant-site-rename.mdx} +7 -7
- package/docs/docs/cmd/spo/user/user-ensure.mdx +2 -5
- package/docs/docs/cmd/spp/model/model-list.mdx +140 -0
- package/docs/docs/cmd/teams/tab/tab-list.mdx +1 -2
- package/docs/docs/cmd/viva/engage/engage-community-list.mdx +81 -0
- package/npm-shrinkwrap.json +2059 -389
- package/package.json +15 -15
- package/dist/m365/cli/commands/cli-reconsent.js +0 -29
- package/dist/m365/entra/aadCommands.js +0 -89
- package/dist/utils/driveUtil.js +0 -51
- package/docs/docs/cmd/cli/cli-reconsent.mdx +0 -62
- package/docs/docs/cmd/entra/group/group-user-add.mdx +0 -62
- package/docs/docs/cmd/entra/group/group-user-set.mdx +0 -62
|
@@ -23,25 +23,19 @@ m365 spo group member remove [options]
|
|
|
23
23
|
: Name of the SharePoint group from which user has to be removed. Specify either `groupName` or `groupId`, but not both.
|
|
24
24
|
|
|
25
25
|
`--userName [userName]`
|
|
26
|
-
: The UPN (user principal name, eg. megan.bowen@contoso.com) of the user that needs to be removed. Specify either `userName`, `email`, `userId`, `
|
|
26
|
+
: The UPN (user principal name, eg. megan.bowen@contoso.com) of the user that needs to be removed. Specify either `userName`, `email`, `userId`, `entraGroupId` or `entraGroupName`.
|
|
27
27
|
|
|
28
28
|
`--email [email]`
|
|
29
|
-
: The email of the user to remove as a member. Specify either `userName`, `email`, `userId`, `
|
|
29
|
+
: The email of the user to remove as a member. Specify either `userName`, `email`, `userId`, `entraGroupId` or `entraGroupName`.
|
|
30
30
|
|
|
31
31
|
`--userId [userId]`
|
|
32
|
-
: The user Id (Id of the site user, eg. 14) of the user to remove as a member. Specify either `userName`, `email`, `userId`, `
|
|
32
|
+
: The user Id (Id of the site user, eg. 14) of the user to remove as a member. Specify either `userName`, `email`, `userId`, `entraGroupId` or `entraGroupName`.
|
|
33
33
|
|
|
34
34
|
`--entraGroupId [entraGroupId]`
|
|
35
|
-
: The object Id of the Entra group to remove as a member. Specify either `userName`, `email`, `userId`, `
|
|
36
|
-
|
|
37
|
-
`--aadGroupId [aadGroupId]`
|
|
38
|
-
: (deprecated. Use `entraGroupId` instead) The object ID of the Microsoft Entra group to remove as a member. Specify either `userName`, `email`, `userId`, `aadGroupId`, `entraGroupId`, `aadGroupName`, or `entraGroupName`.
|
|
35
|
+
: The object Id of the Entra group to remove as a member. Specify either `userName`, `email`, `userId`, `entraGroupId`, or `entraGroupName`.
|
|
39
36
|
|
|
40
37
|
`--entraGroupName [entraGroupName]`
|
|
41
|
-
: The name of the Entra group to remove as a member. Specify either `userName`, `email`, `userId`, `
|
|
42
|
-
|
|
43
|
-
`--aadGroupName [aadGroupName]`
|
|
44
|
-
: (deprecated. Use `entraGroupName` instead) The name of the Microsoft Entra group to remove as a member. Specify either `userName`, `email`, `userId`, `aadGroupId`, `entraGroupId`, `aadGroupName`, or `entraGroupName`.
|
|
38
|
+
: The name of the Entra group to remove as a member. Specify either `userName`, `email`, `userId`, `entraGroupId`, or `entraGroupName`.
|
|
45
39
|
```
|
|
46
40
|
|
|
47
41
|
<Global />
|
|
@@ -9,7 +9,7 @@ Removes the specified list
|
|
|
9
9
|
```sh
|
|
10
10
|
m365 spo list remove [options]
|
|
11
11
|
```
|
|
12
|
-
|
|
12
|
+
|
|
13
13
|
## Options
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
@@ -22,6 +22,9 @@ m365 spo list remove [options]
|
|
|
22
22
|
`-t, --title [title]`
|
|
23
23
|
: Title of the list to remove. Specify either `id` or `title` but not both.
|
|
24
24
|
|
|
25
|
+
`--recycle`
|
|
26
|
+
: Instead of permanently deleting, send the list to the recycle bin.
|
|
27
|
+
|
|
25
28
|
`-f, --force`
|
|
26
29
|
: Don't prompt for confirming removing the list.
|
|
27
30
|
```
|
|
@@ -42,6 +45,12 @@ Remove the list with a specific title located in a specific site.
|
|
|
42
45
|
m365 spo list remove --webUrl https://contoso.sharepoint.com/sites/project-x --title 'List 1'
|
|
43
46
|
```
|
|
44
47
|
|
|
48
|
+
Remove a list specified by id by sending it to the recycle bin instead of permanently removing it
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
m365 spo list remove --webUrl https://contoso.sharepoint.com/sites/project-x --id 0cd891ef-afce-4e55-b836-fce03286cccf --recycle
|
|
52
|
+
```
|
|
53
|
+
|
|
45
54
|
## Response
|
|
46
55
|
|
|
47
56
|
The command won't return a response on success.
|
|
@@ -13,36 +13,54 @@ m365 spo page remove [options]
|
|
|
13
13
|
## Options
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
|
+
`-u, --webUrl <webUrl>`
|
|
17
|
+
: URL of the site where the page is located.
|
|
18
|
+
|
|
16
19
|
`-n, --name <name>`
|
|
17
|
-
: Name of the page
|
|
20
|
+
: Name of the page.
|
|
18
21
|
|
|
19
|
-
|
|
20
|
-
:
|
|
22
|
+
`--recycle`
|
|
23
|
+
: Send the page to the recycle bin instead of permanently deleting it.
|
|
24
|
+
|
|
25
|
+
`--bypassSharedLock`
|
|
26
|
+
: Remove the page even if it is locked for shared use.
|
|
21
27
|
|
|
22
28
|
`-f, --force`
|
|
23
|
-
: Do not prompt for confirmation
|
|
29
|
+
: Do not prompt for confirmation.
|
|
24
30
|
```
|
|
25
31
|
|
|
26
32
|
<Global />
|
|
27
33
|
|
|
28
|
-
## Remarks
|
|
29
|
-
|
|
30
|
-
If you try to remove a page with that does not exist, you will get a `The file does not exist` error.
|
|
31
|
-
|
|
32
|
-
If you set the `-f, --force` flag, you will not be prompted for confirmation before the page is actually removed.
|
|
33
|
-
|
|
34
34
|
## Examples
|
|
35
35
|
|
|
36
36
|
Remove a modern page
|
|
37
37
|
|
|
38
38
|
```sh
|
|
39
|
-
m365 spo page remove --name
|
|
39
|
+
m365 spo page remove --name HR.aspx --webUrl https://contoso.sharepoint.com/sites/Marketing
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
Remove a modern page without a confirmation prompt
|
|
43
43
|
|
|
44
44
|
```sh
|
|
45
|
-
m365 spo page remove --name
|
|
45
|
+
m365 spo page remove --name HR.aspx --webUrl https://contoso.sharepoint.com/sites/Marketing --force
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Send a page to the recycle bin
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
m365 spo page remove --name HR.aspx --webUrl https://contoso.sharepoint.com/sites/Marketing --recycle
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Remove a page that is locked
|
|
55
|
+
|
|
56
|
+
```sh
|
|
57
|
+
m365 spo page remove --name HR.aspx --webUrl https://contoso.sharepoint.com/sites/Marketing --bypassSharedLock
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Remove a page that is located in a subfolder
|
|
61
|
+
|
|
62
|
+
```sh
|
|
63
|
+
m365 spo page remove --name /Departments/People/HR.aspx --webUrl https://contoso.sharepoint.com/sites/Marketing
|
|
46
64
|
```
|
|
47
65
|
|
|
48
66
|
## Response
|
|
@@ -28,12 +28,10 @@ m365 spo site admin list [options]
|
|
|
28
28
|
|
|
29
29
|
:::info
|
|
30
30
|
|
|
31
|
-
To use this command with the `--asAdmin` mode, you must
|
|
31
|
+
To use this command with the `--asAdmin` mode, you must be at least SharePoint administrator.
|
|
32
32
|
|
|
33
33
|
Without this parameter, you must have site collection admin permissions for the requested site.
|
|
34
34
|
|
|
35
|
-
In `--asAdmin` mode, the Id, PrincipalType, and PrincipalTypeString properties are not exported.
|
|
36
|
-
|
|
37
35
|
:::
|
|
38
36
|
|
|
39
37
|
## Examples
|
|
@@ -52,6 +50,8 @@ m365 spo site admin list --siteUrl https://contoso.sharepoint.com --asAdmin
|
|
|
52
50
|
|
|
53
51
|
## Response
|
|
54
52
|
|
|
53
|
+
### Standard response
|
|
54
|
+
|
|
55
55
|
<Tabs>
|
|
56
56
|
<TabItem value="JSON">
|
|
57
57
|
|
|
@@ -73,13 +73,9 @@ m365 spo site admin list --siteUrl https://contoso.sharepoint.com --asAdmin
|
|
|
73
73
|
<TabItem value="Text">
|
|
74
74
|
|
|
75
75
|
```text
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
PrincipalType : 1
|
|
80
|
-
PrincipalTypeString : User
|
|
81
|
-
Title : User Example
|
|
82
|
-
IsPrimaryAdmin : true
|
|
76
|
+
Id LoginName Title PrincipalTypeString
|
|
77
|
+
-- --------------------------------------------------------------------------- ------- -------------------
|
|
78
|
+
15 c:0o.c|federateddirectoryclaimprovider|d8430798-5a00-00ba-83b0-dd7a032d549a Members SecurityGroup
|
|
83
79
|
```
|
|
84
80
|
|
|
85
81
|
</TabItem>
|
|
@@ -98,7 +94,7 @@ m365 spo site admin list --siteUrl https://contoso.sharepoint.com --asAdmin
|
|
|
98
94
|
|
|
99
95
|
Date: 20/03/2024
|
|
100
96
|
|
|
101
|
-
## User
|
|
97
|
+
## User Example
|
|
102
98
|
|
|
103
99
|
Property | Value
|
|
104
100
|
---------|-------
|
|
@@ -112,4 +108,60 @@ m365 spo site admin list --siteUrl https://contoso.sharepoint.com --asAdmin
|
|
|
112
108
|
```
|
|
113
109
|
|
|
114
110
|
</TabItem>
|
|
115
|
-
</Tabs>
|
|
111
|
+
</Tabs>
|
|
112
|
+
|
|
113
|
+
### `asAdmin` response
|
|
114
|
+
|
|
115
|
+
When we make use of the option `asAdmin` the response will differ.
|
|
116
|
+
|
|
117
|
+
<Tabs>
|
|
118
|
+
<TabItem value="JSON">
|
|
119
|
+
|
|
120
|
+
```json
|
|
121
|
+
[
|
|
122
|
+
{
|
|
123
|
+
"Email": "user@contoso.com",
|
|
124
|
+
"LoginName": "i:0#.f|membership|user@contoso.com",
|
|
125
|
+
"Title": "User Example",
|
|
126
|
+
"IsPrimaryAdmin": true
|
|
127
|
+
}
|
|
128
|
+
]
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
</TabItem>
|
|
132
|
+
<TabItem value="Text">
|
|
133
|
+
|
|
134
|
+
```text
|
|
135
|
+
LoginName Title
|
|
136
|
+
--------------------------------------------------------------------------- ---------------
|
|
137
|
+
c:0o.c|federateddirectoryclaimprovider|d8430798-5a00-00ba-83b0-dd7a032d549a Members
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
</TabItem>
|
|
141
|
+
<TabItem value="CSV">
|
|
142
|
+
|
|
143
|
+
```csv
|
|
144
|
+
Email,LoginName,Title,IsPrimaryAdmin
|
|
145
|
+
user@contoso.com,i:0#.f|membership|user@contoso.com,User Example,1
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
</TabItem>
|
|
149
|
+
<TabItem value="Markdown">
|
|
150
|
+
|
|
151
|
+
```md
|
|
152
|
+
# spo site admin list --siteUrl "https://contoso.sharepoint.com/sites/Test" --asAdmin
|
|
153
|
+
|
|
154
|
+
Date: 20/03/2024
|
|
155
|
+
|
|
156
|
+
## User Example
|
|
157
|
+
|
|
158
|
+
Property | Value
|
|
159
|
+
---------|-------
|
|
160
|
+
Email | user@contoso.com
|
|
161
|
+
LoginName | i:0#.f\|membership\|user@contoso.com
|
|
162
|
+
Title | User Example
|
|
163
|
+
IsPrimaryAdmin | true
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
</TabItem>
|
|
167
|
+
</Tabs>
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
|
|
3
|
+
# spo site sharingpermission set
|
|
4
|
+
|
|
5
|
+
Controls how a site and its components can be shared
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
m365 spo site sharingpermission set [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Options
|
|
14
|
+
|
|
15
|
+
```md definition-list
|
|
16
|
+
`-u, --url <url>`
|
|
17
|
+
: URL of the site.
|
|
18
|
+
|
|
19
|
+
`--capability <capability>`
|
|
20
|
+
: Define how the site is shared. Possible values: `full`, `limited`, `ownersOnly`.
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
<Global />
|
|
24
|
+
|
|
25
|
+
## Remarks
|
|
26
|
+
|
|
27
|
+
When specifying `capability`, consider the following:
|
|
28
|
+
- `full`: Site owners and members can share files, folders, and the site. People with Edit permissions can share files and folders.
|
|
29
|
+
- `limited`: Site owners and members, and people with Edit permissions can share files and folders, but only site owners can share the site.
|
|
30
|
+
- `ownersOnly`: Only site owners can share files, folders, and the site.
|
|
31
|
+
|
|
32
|
+
## Examples
|
|
33
|
+
|
|
34
|
+
Update the sharing permissions for a site so only owners can share files and the site
|
|
35
|
+
|
|
36
|
+
```sh
|
|
37
|
+
m365 spo site sharingpermission set --siteUrl https://siteaddress.com/sites/sitename --capability ownersOnly
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Update the sharing permissions for a site where so both owners and members can share files and the site
|
|
41
|
+
|
|
42
|
+
```sh
|
|
43
|
+
m365 spo site sharingpermission set --siteUrl https://siteaddress.com/sites/sitename --capability full
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Update the sharing permissions for a site where so owners can share the site, but members can only share files
|
|
47
|
+
|
|
48
|
+
```sh
|
|
49
|
+
m365 spo site sharingpermission set --siteUrl https://siteaddress.com/sites/sitename --capability limited
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Response
|
|
53
|
+
|
|
54
|
+
The command won't return a response on success.
|
|
55
|
+
|
|
56
|
+
## More information
|
|
57
|
+
|
|
58
|
+
- Sharing a SharePoint site: [https://support.microsoft.com/office/share-a-site-958771a8-d041-4eb8-b51c-afea2eae3658](https://support.microsoft.com/office/share-a-site-958771a8-d041-4eb8-b51c-afea2eae3658)
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# spo tenant site membership list
|
|
6
|
+
|
|
7
|
+
Retrieves information about default site groups' membership
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 spo tenant site membership list [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-u, --siteUrl <siteUrl>`
|
|
19
|
+
: The URL of the site.
|
|
20
|
+
|
|
21
|
+
`-r, --role [role]`
|
|
22
|
+
: Filter the results to include only users with the specified roles: `Owner`, `Member`, or `Visitor`.
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
<Global />
|
|
26
|
+
|
|
27
|
+
## Remarks
|
|
28
|
+
|
|
29
|
+
:::info
|
|
30
|
+
|
|
31
|
+
To use this command, you must be a Global or SharePoint administrator.
|
|
32
|
+
|
|
33
|
+
:::
|
|
34
|
+
|
|
35
|
+
For other scenarios, refer to the [spo web get --withGroups](../web/web-get.mdx) and [spo group member list](../group/group-member-list.mdx) commands.
|
|
36
|
+
|
|
37
|
+
## Examples
|
|
38
|
+
|
|
39
|
+
Retrieve information about default site groups' owners, members, and visitors of the site.
|
|
40
|
+
|
|
41
|
+
```sh
|
|
42
|
+
m365 spo tenant site membership list --siteUrl https://contoso.sharepoint.com
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Retrieve information about site owners.
|
|
46
|
+
|
|
47
|
+
```sh
|
|
48
|
+
m365 spo tenant site membership list --siteUrl https://contoso.sharepoint.com --role Owner
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Response
|
|
52
|
+
|
|
53
|
+
<Tabs>
|
|
54
|
+
<TabItem value="JSON">
|
|
55
|
+
|
|
56
|
+
```json
|
|
57
|
+
{
|
|
58
|
+
"AssociatedOwnerGroup": [
|
|
59
|
+
{
|
|
60
|
+
"email": "jdoe@contoso.onmicrosoft.com",
|
|
61
|
+
"loginName": "i:0#.f|membership|jdoe@contoso.onmicrosoft.com",
|
|
62
|
+
"name": "John Doe",
|
|
63
|
+
"userPrincipalName": "jdoe@contoso.onmicrosoft.com"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"AssociatedMemberGroup": [
|
|
67
|
+
{
|
|
68
|
+
"email": "avance@contoso.onmicrosoft.com",
|
|
69
|
+
"loginName": "i:0#.f|membership|avance@contoso.onmicrosoft.com",
|
|
70
|
+
"name": "Adele Vance",
|
|
71
|
+
"userPrincipalName": "avance@contoso.onmicrosoft.com"
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"AssociatedVisitorGroup": [
|
|
75
|
+
{
|
|
76
|
+
"email": "",
|
|
77
|
+
"loginName": "c:0-.f|rolemanager|spo-grid-all-users/dc109ffd-4298-487e-9cbc-6b9b1a2cd3e2",
|
|
78
|
+
"name": "Everyone except external users",
|
|
79
|
+
"userPrincipalName": null
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
```
|
|
84
|
+
</TabItem>
|
|
85
|
+
<TabItem value="Text">
|
|
86
|
+
|
|
87
|
+
```text
|
|
88
|
+
email name userPrincipalName associatedGroupType
|
|
89
|
+
-------------------------------- ------------------------------ -------------------------------- -------------------
|
|
90
|
+
jdoe@contoso.onmicrosoft.com John Doe jdoe@contoso.onmicrosoft.com Owner
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
</TabItem>
|
|
94
|
+
<TabItem value="CSV">
|
|
95
|
+
|
|
96
|
+
```csv
|
|
97
|
+
email,loginName,name,userPrincipalName,associatedGroupType
|
|
98
|
+
jdoe@contoso.onmicrosoft.com,i:0#.f|membership|jdoe@contoso.onmicrosoft.com,John Doe,jdoe@contoso.onmicrosoft.com,Owner
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
</TabItem>
|
|
102
|
+
<TabItem value="Markdown">
|
|
103
|
+
|
|
104
|
+
```md
|
|
105
|
+
# spo tenant site membership list --siteUrl "https://contoso.sharepoint.com/sites/AudienceTest"
|
|
106
|
+
|
|
107
|
+
Date: 11/08/2024
|
|
108
|
+
|
|
109
|
+
## John Doe
|
|
110
|
+
|
|
111
|
+
Property | Value
|
|
112
|
+
---------|-------
|
|
113
|
+
email | jdoe@contoso.onmicrosoft.com
|
|
114
|
+
loginName | i:0#.f\|membership\|jdoe@contoso.onmicrosoft.com
|
|
115
|
+
name | John Doe
|
|
116
|
+
userPrincipalName | jdoe@contoso.onmicrosoft.com
|
|
117
|
+
associatedGroupType | Owner
|
|
118
|
+
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
</TabItem>
|
|
122
|
+
</Tabs>
|
|
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
# spo site rename
|
|
5
|
+
# spo tenant site rename
|
|
6
6
|
|
|
7
7
|
Renames the URL and title of a site collection
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
m365 spo site rename [options]
|
|
12
|
+
m365 spo tenant site rename [options]
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Options
|
|
@@ -38,7 +38,7 @@ m365 spo site rename [options]
|
|
|
38
38
|
|
|
39
39
|
## Remarks
|
|
40
40
|
|
|
41
|
-
Renaming site collections is by default asynchronous and depending on the current state of Microsoft 365, might take up to few minutes. If you're building a script with steps that require the operation to complete fully, you should use the `--wait` flag. When using this flag, the `spo site rename` command will keep running until it receives confirmation from Microsoft 365 that the site rename operation has completed.
|
|
41
|
+
Renaming site collections is by default asynchronous and depending on the current state of Microsoft 365, might take up to few minutes. If you're building a script with steps that require the operation to complete fully, you should use the `--wait` flag. When using this flag, the `spo tenant site rename` command will keep running until it receives confirmation from Microsoft 365 that the site rename operation has completed.
|
|
42
42
|
|
|
43
43
|
:::info
|
|
44
44
|
|
|
@@ -51,19 +51,19 @@ To use this command you must have permissions to access the tenant admin site.
|
|
|
51
51
|
Starts the rename of the site collection with name "samplesite" to "renamed" without modifying the title
|
|
52
52
|
|
|
53
53
|
```sh
|
|
54
|
-
m365 spo site rename --url http://contoso.sharepoint.com/samplesite --newUrl http://contoso.sharepoint.com/renamed
|
|
54
|
+
m365 spo tenant site rename --url http://contoso.sharepoint.com/samplesite --newUrl http://contoso.sharepoint.com/renamed
|
|
55
55
|
```
|
|
56
56
|
|
|
57
57
|
Starts the rename of the site collection with name "samplesite" to "renamed" modifying the title of the site to "New Title"
|
|
58
58
|
|
|
59
59
|
```sh
|
|
60
|
-
m365 spo site rename --url http://contoso.sharepoint.com/samplesite --newUrl http://contoso.sharepoint.com/renamed --newTitle "New Title"
|
|
60
|
+
m365 spo tenant site rename --url http://contoso.sharepoint.com/samplesite --newUrl http://contoso.sharepoint.com/renamed --newTitle "New Title"
|
|
61
61
|
```
|
|
62
62
|
|
|
63
63
|
Renames the specified site collection and waits for the operation to complete
|
|
64
64
|
|
|
65
65
|
```sh
|
|
66
|
-
m365 spo site rename --url http://contoso.sharepoint.com/samplesite --newUrl http://contoso.sharepoint.com/renamed --newTitle "New Title" --wait
|
|
66
|
+
m365 spo tenant site rename --url http://contoso.sharepoint.com/samplesite --newUrl http://contoso.sharepoint.com/renamed --newTitle "New Title" --wait
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
## Response
|
|
@@ -130,7 +130,7 @@ m365 spo site rename --url http://contoso.sharepoint.com/samplesite --newUrl htt
|
|
|
130
130
|
<TabItem value="Markdown">
|
|
131
131
|
|
|
132
132
|
```md
|
|
133
|
-
# spo site rename --url "https://contoso.sharepoint.com/sites/team1" --newUrl "https://contoso.sharepoint.com/sites/team2"
|
|
133
|
+
# spo tenant site rename --url "https://contoso.sharepoint.com/sites/team1" --newUrl "https://contoso.sharepoint.com/sites/team2"
|
|
134
134
|
|
|
135
135
|
Date: 2023-06-21
|
|
136
136
|
|
|
@@ -19,13 +19,10 @@ m365 spo user ensure [options]
|
|
|
19
19
|
: Absolute URL of the site.
|
|
20
20
|
|
|
21
21
|
`--entraId [--entraId]`
|
|
22
|
-
: Id of the user in Entra. Specify either `
|
|
23
|
-
|
|
24
|
-
`--aadId [--aadId]`
|
|
25
|
-
: (deprecated. Use `entraId` instead) Id of the user in Microsoft Entra. Specify either `aadId`, `entraId`, or `userName`.
|
|
22
|
+
: Id of the user in Entra. Specify either `entraId` or `userName`.
|
|
26
23
|
|
|
27
24
|
`--userName [userName]`
|
|
28
|
-
: User's UPN (user principal name, e.g. john@contoso.com). Specify either `
|
|
25
|
+
: User's UPN (user principal name, e.g. john@contoso.com). Specify either `entraId` or `userName`.
|
|
29
26
|
```
|
|
30
27
|
|
|
31
28
|
<Global />
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# spp model list
|
|
6
|
+
|
|
7
|
+
Retrieves the list of unstructured document processing models
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 spp model list [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-u, --siteUrl <siteUrl>`
|
|
19
|
+
: The URL of the content center site.
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
<Global />
|
|
23
|
+
|
|
24
|
+
## Examples
|
|
25
|
+
|
|
26
|
+
Retrieve a list of SharePoint Premium unstructured document processing models on the content center site.
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
m365 spp model list --siteUrl https://contoso.sharepoint.com/sites/ContentCenter
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Response
|
|
33
|
+
|
|
34
|
+
<Tabs>
|
|
35
|
+
<TabItem value="JSON">
|
|
36
|
+
|
|
37
|
+
```json
|
|
38
|
+
[
|
|
39
|
+
{
|
|
40
|
+
"AIBuilderHybridModelType": "Freeform document processing",
|
|
41
|
+
"AzureCognitivePrebuiltModelName": null,
|
|
42
|
+
"BaseContentTypeName": null,
|
|
43
|
+
"ConfidenceScore": "{\r\\\n \"ConfidenceScoresPerLibrary\": {\r\\\n \"64e2de73-dfbe-4085-a49f-8347ddfc7e3a\": 0.86973333358764682\r\\\n }\r\\\n}",
|
|
44
|
+
"ContentTypeGroup": "Intelligent Document Content Types",
|
|
45
|
+
"ContentTypeId": "0x01010027D65A01A9F279408035C63ED6682D3A",
|
|
46
|
+
"ContentTypeName": "UnorderedModel",
|
|
47
|
+
"Created": "2024-05-22T20:11:59Z",
|
|
48
|
+
"CreatedBy": "i:0#.f|membership|user@contoso.onmicrosoft.com",
|
|
49
|
+
"DriveId": "b!xlpC8UN4X0WDi7Xz7yRQP_JZHRltjGlEpsj90HfZPCiSNv6idu5tRoCxMjOJSIyo",
|
|
50
|
+
"Explanations": "{\r\\\n \"Classifier\": [],\r\\\n \"Extractors\": {}\r\\\n}",
|
|
51
|
+
"ID": 1,
|
|
52
|
+
"LastTrained": "2024-05-23T17:35:53Z",
|
|
53
|
+
"ListID": "a2fe3692-ee76-466d-80b1-323389488ca8",
|
|
54
|
+
"ModelSettings": "{\r\\\n \"ModelTypeSpecificSettings\": {\r\\\n \"kind\": \"aiBuilderHybridSettings\",\r\\\n \"AIBHybridModelType\": \"CustomDocument\",\r\\\n \"AIBHybridModelHostName\": \"make.powerapps.com\",\r\\\n \"IsTestEnvironment\": false,\r\\\n \"AIBHybridModelId\": \"16cff4de-bac7-4849-957e-54bdee08e11e\",\r\\\n \"AIBHybridModelEnvironment\": \"Default-4d704217-2c7f-4072-8799-820f988299d7\",\r\\\n \"AIBHybridModelStatus\": \"publisheddraft\",\r\\\n \"DataverseInstanceUrl\": \"https://org.crm4.dynamics.com/\"\r\\\n },\r\\\n \"LastPublishedTime\": \"2024-05-23T10:36:36Z\",\r\\\n \"ClassifiedItemsCount\": \"3\"\r\\\n}",
|
|
55
|
+
"ModelType": 8,
|
|
56
|
+
"Modified": "2024-05-24T11:57:59Z",
|
|
57
|
+
"ModifiedBy": "i:0#.w|sharepoint\\system",
|
|
58
|
+
"ObjectId": "01RS33TEFSBQKR7PVA25C2USVWUH2YFFRV",
|
|
59
|
+
"PublicationType": 0,
|
|
60
|
+
"Schemas": "{\"Version\":2,\"Extractors\":{\"FirstName\":{\"id\":\"labels/FirstName\",\"concepts\":{},\"table\":null,\"detectionOnly\":false},\"LastName\":{\"id\":\"labels/LastName\",\"concepts\":{},\"table\":null,\"detectionOnly\":false},\"Hobbies\":{\"id\":\"labels/Hobbies\",\"concepts\":{},\"table\":null,\"detectionOnly\":false},\"Email\":{\"id\":\"labels/Email\",\"concepts\":{},\"table\":null,\"detectionOnly\":false},\"PhoneNumber\":{\"id\":\"labels/PhoneNumber\",\"concepts\":{},\"table\":null,\"detectionOnly\":false},\"City\":{\"id\":\"labels/City\",\"concepts\":{},\"table\":null,\"detectionOnly\":false},\"JobTitle\":{\"id\":\"labels/JobTitle\",\"concepts\":{},\"table\":null,\"detectionOnly\":false},\"Education_aibtable\":{\"id\":\"tables/Education\",\"concepts\":{},\"table\":{\"name\":\"Education\",\"columns\":[{\"name\":\"SchoolName\",\"id\":null},{\"name\":\"SpecializationName\",\"id\":null},{\"name\":\"StartDate\",\"id\":null},{\"name\":\"EndDate\",\"id\":null}]},\"detectionOnly\":false},\"WorkExperiance_aibtable\":{\"id\":\"tables/WorkExperiance\",\"concepts\":{},\"table\":{\"name\":\"WorkExperiance\",\"columns\":[{\"name\":\"CompanyName\",\"id\":null},{\"name\":\"StartDate\",\"id\":null},{\"name\":\"EndDate\",\"id\":null},{\"name\":\"Position\",\"id\":null},{\"name\":\"TechnologiesKeywords\",\"id\":null}]},\"detectionOnly\":false}},\"Classifiers\":null,\"accuracy\":null,\"relationships\":null,\"TemplatedModel\":null}",
|
|
61
|
+
"SourceSiteUrl": "https://contoso.sharepoint.com/sites/ContentCenter",
|
|
62
|
+
"SourceUrl": null,
|
|
63
|
+
"SourceWebServerRelativeUrl": "/sites/ContentCenter",
|
|
64
|
+
"UniqueId": "1f150cb2-a0be-45d7-aa4a-b6a1f5829635"
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
</TabItem>
|
|
70
|
+
<TabItem value="Text">
|
|
71
|
+
|
|
72
|
+
```text
|
|
73
|
+
AIBuilderHybridModelType ContentTypeName LastTrained UniqueId
|
|
74
|
+
------------------------------ ----------------- -------------------- ------------------------------------
|
|
75
|
+
Freeform document processing UnorderedModel 2024-05-23T17:35:53Z 1f150cb2-a0be-45d7-aa4a-b6a1f5829635
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
</TabItem>
|
|
79
|
+
<TabItem value="CSV">
|
|
80
|
+
|
|
81
|
+
```csv
|
|
82
|
+
AIBuilderHybridModelType,AzureCognitivePrebuiltModelName,BaseContentTypeName,ConfidenceScore,ContentTypeGroup,ContentTypeId,ContentTypeName,Created,CreatedBy,DriveId,Explanations,ID,LastTrained,ListID,ModelSettings,ModelType,Modified,ModifiedBy,ObjectId,PublicationType,Schemas,SourceSiteUrl,SourceUrl,SourceWebServerRelativeUrl,UniqueId
|
|
83
|
+
Freeform document processing,,,"{
|
|
84
|
+
""ConfidenceScoresPerLibrary"": {
|
|
85
|
+
""64e2de73-dfbe-4085-a49f-8347ddfc7e3a"": 0.86973333358764682
|
|
86
|
+
}
|
|
87
|
+
}",Intelligent Document Content Types,0x01010027D65A01A9F279408035C63ED6682D3A,UnorderedModel,2024-05-22T20:11:59Z,i:0#.f|membership|user@contoso.onmicrosoft.com,b!xlpC8UN4X0WDi7Xz7yRQP_JZHRltjGlEpsj90HfZPCiSNv6idu5tRoCxMjOJSIyo,"{
|
|
88
|
+
""Classifier"": [],
|
|
89
|
+
""Extractors"": {}
|
|
90
|
+
}",1,2024-05-23T17:35:53Z,a2fe3692-ee76-466d-80b1-323389488ca8,"{
|
|
91
|
+
""ModelTypeSpecificSettings"": {
|
|
92
|
+
""kind"": ""aiBuilderHybridSettings"",
|
|
93
|
+
""AIBHybridModelType"": ""CustomDocument"",
|
|
94
|
+
""AIBHybridModelHostName"": ""make.powerapps.com"",
|
|
95
|
+
""IsTestEnvironment"": false,
|
|
96
|
+
""AIBHybridModelId"": ""16cff4de-bac7-4849-957e-54bdee08e11e"",
|
|
97
|
+
""AIBHybridModelEnvironment"": ""Default-4d704217-2c7f-4072-8799-820f988299d7"",
|
|
98
|
+
""AIBHybridModelStatus"": ""publisheddraft"",
|
|
99
|
+
""DataverseInstanceUrl"": ""https://org.crm4.dynamics.com/""
|
|
100
|
+
},
|
|
101
|
+
""LastPublishedTime"": ""2024-05-23T10:36:36Z"",
|
|
102
|
+
""ClassifiedItemsCount"": ""3""
|
|
103
|
+
}",8,2024-05-24T11:57:59Z,i:0#.w|sharepoint\system,01RS33TEFSBQKR7PVA25C2USVWUH2YFFRV,0,"Model Schema",https://contoso.sharepoint.com/sites/ContentCenter,,/sites/ContentCenter,1f150cb2-a0be-45d7-aa4a-b6a1f5829635
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
</TabItem>
|
|
107
|
+
<TabItem value="Markdown">
|
|
108
|
+
|
|
109
|
+
```md
|
|
110
|
+
# spp model list --siteUrl "https://contoso.sharepoint.com/sites/ContentCenter"
|
|
111
|
+
|
|
112
|
+
Date: 7/22/2024
|
|
113
|
+
|
|
114
|
+
## 1
|
|
115
|
+
|
|
116
|
+
Property | Value
|
|
117
|
+
---------|-------
|
|
118
|
+
AIBuilderHybridModelType | Freeform document processing
|
|
119
|
+
ContentTypeGroup | Intelligent Document Content Types
|
|
120
|
+
ContentTypeId | 0x01010027D65A01A9F279408035C63ED6682D3A
|
|
121
|
+
ContentTypeName | UnorderedModel
|
|
122
|
+
Created | 2024-05-22T20:11:59Z
|
|
123
|
+
CreatedBy | i:0#.f\|membership\|user@contoso.onmicrosoft.com
|
|
124
|
+
DriveId | b!xlpC8UN4X0WDi7Xz7yRQP\_JZHRltjGlEpsj90HfZPCiSNv6idu5tRoCxMjOJSIyo
|
|
125
|
+
ID | 1
|
|
126
|
+
LastTrained | 2024-05-23T17:35:53Z
|
|
127
|
+
ListID | a2fe3692-ee76-466d-80b1-323389488ca8
|
|
128
|
+
ModelType | 8
|
|
129
|
+
Modified | 2024-05-24T11:57:59Z
|
|
130
|
+
ModifiedBy | i:0#.w\|sharepoint\system
|
|
131
|
+
ObjectId | 01RS33TEFSBQKR7PVA25C2USVWUH2YFFRV
|
|
132
|
+
PublicationType | 0
|
|
133
|
+
Schemas | {"Version":2,"Extractors":{"FirstName":{"id":"labels/FirstName","concepts":{},"table":null,"detectionOnly":false},"LastName":{"id":"labels/LastName","concepts":{},"table":null,"detectionOnly":false},"Hobbies":{"id":"labels/Hobbies","concepts":{},"table":null,"detectionOnly":false},"Email":{"id":"labels/Email","concepts":{},"table":null,"detectionOnly":false},"PhoneNumber":{"id":"labels/PhoneNumber","concepts":{},"table":null,"detectionOnly":false},"City":{"id":"labels/City","concepts":{},"table":null,"detectionOnly":false},"JobTitle":{"id":"labels/JobTitle","concepts":{},"table":null,"detectionOnly":false},"Education\_aibtable":{"id":"tables/Education","concepts":{},"table":{"name":"Education","columns":[{"name":"SchoolName","id":null},{"name":"SpecializationName","id":null},{"name":"StartDate","id":null},{"name":"EndDate","id":null}]},"detectionOnly":false},"WorkExperiance\_aibtable":{"id":"tables/WorkExperiance","concepts":{},"table":{"name":"WorkExperiance","columns":[{"name":"CompanyName","id":null},{"name":"StartDate","id":null},{"name":"EndDate","id":null},{"name":"Position","id":null},{"name":"TechnologiesKeywords","id":null}]},"detectionOnly":false}},"Classifiers":null,"accuracy":null,"relationships":null,"TemplatedModel":null}
|
|
134
|
+
SourceSiteUrl | https://contoso.sharepoint.com/sites/ContentCenter
|
|
135
|
+
SourceWebServerRelativeUrl | /sites/ContentCenter
|
|
136
|
+
UniqueId | 1f150cb2-a0be-45d7-aa4a-b6a1f5829635
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
</TabItem>
|
|
140
|
+
</Tabs>
|
|
@@ -67,8 +67,7 @@ m365 teams tab list --teamId 00000000-0000-0000-0000-000000000000 --channelId 19
|
|
|
67
67
|
"externalId": null,
|
|
68
68
|
"displayName": "My Contoso Tab",
|
|
69
69
|
"distributionMethod": "store"
|
|
70
|
-
}
|
|
71
|
-
"teamsAppTabId": "1542629c-01b3-4a6d-8f76-1938b779e48d"
|
|
70
|
+
}
|
|
72
71
|
}
|
|
73
72
|
]
|
|
74
73
|
```
|