@pnp/cli-microsoft365 7.6.0-beta.c74fe4b → 7.6.0
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/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/base/PeriodBasedReport.js +3 -0
- 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/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 +6 -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/report/report-directroutingcalls.js +3 -0
- package/dist/m365/teams/commands/report/report-pstncalls.js +3 -0
- package/dist/m365/teams/commands/tab/tab-get.js +1 -1
- package/dist/m365/teams/commands/team/team-add.js +132 -3
- package/dist/m365/tenant/commands/report/report-office365activationcounts.js +3 -0
- package/dist/m365/tenant/commands/report/report-office365activationsusercounts.js +3 -0
- package/dist/m365/tenant/commands/report/report-office365activationsuserdetail.js +3 -0
- package/dist/utils/entraUser.js +36 -0
- 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/m365group/m365group-report-activitycounts.mdx +8 -0
- package/docs/docs/cmd/entra/m365group/m365group-report-activitydetail.mdx +8 -0
- package/docs/docs/cmd/entra/m365group/m365group-report-activityfilecounts.mdx +8 -0
- package/docs/docs/cmd/entra/m365group/m365group-report-activitygroupcounts.mdx +8 -0
- package/docs/docs/cmd/entra/m365group/m365group-report-activitystorage.mdx +8 -0
- 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/onedrive/report/report-activityfilecounts.mdx +8 -0
- package/docs/docs/cmd/onedrive/report/report-activityusercounts.mdx +8 -0
- package/docs/docs/cmd/onedrive/report/report-activityuserdetail.mdx +8 -0
- package/docs/docs/cmd/onedrive/report/report-usageaccountcounts.mdx +8 -0
- package/docs/docs/cmd/onedrive/report/report-usageaccountdetail.mdx +8 -0
- package/docs/docs/cmd/onedrive/report/report-usagefilecounts.mdx +6 -0
- package/docs/docs/cmd/onedrive/report/report-usagestorage.mdx +8 -0
- package/docs/docs/cmd/outlook/message/message-remove.mdx +67 -0
- package/docs/docs/cmd/outlook/report/report-mailactivitycounts.mdx +8 -0
- package/docs/docs/cmd/outlook/report/report-mailactivityusercounts.mdx +8 -0
- package/docs/docs/cmd/outlook/report/report-mailactivityuserdetail.mdx +8 -0
- package/docs/docs/cmd/outlook/report/report-mailappusageappsusercounts.mdx +7 -0
- package/docs/docs/cmd/outlook/report/report-mailappusageusercounts.mdx +8 -0
- package/docs/docs/cmd/outlook/report/report-mailappusageuserdetail.mdx +8 -0
- package/docs/docs/cmd/outlook/report/report-mailappusageversionsusercounts.mdx +8 -0
- package/docs/docs/cmd/outlook/report/report-mailboxusagedetail.mdx +8 -0
- package/docs/docs/cmd/outlook/report/report-mailboxusagemailboxcount.mdx +6 -0
- package/docs/docs/cmd/outlook/report/report-mailboxusagequotastatusmailboxcounts.mdx +8 -0
- package/docs/docs/cmd/outlook/report/report-mailboxusagestorage.mdx +8 -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/request.mdx +1 -1
- package/docs/docs/cmd/setup.mdx +2 -4
- package/docs/docs/cmd/skype/report/report-activitycounts.mdx +8 -0
- package/docs/docs/cmd/skype/report/report-activityusercounts.mdx +8 -0
- package/docs/docs/cmd/skype/report/report-activityuserdetail.mdx +8 -0
- 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/report/report-activityfilecounts.mdx +8 -0
- package/docs/docs/cmd/spo/report/report-activitypages.mdx +8 -0
- package/docs/docs/cmd/spo/report/report-activityusercounts.mdx +6 -0
- package/docs/docs/cmd/spo/report/report-activityuserdetail.mdx +6 -0
- package/docs/docs/cmd/spo/report/report-siteusagedetail.mdx +6 -0
- package/docs/docs/cmd/spo/report/report-siteusagefilecounts.mdx +6 -0
- package/docs/docs/cmd/spo/report/report-siteusagepages.mdx +8 -0
- package/docs/docs/cmd/spo/report/report-siteusagesitecounts.mdx +6 -0
- package/docs/docs/cmd/spo/report/report-siteusagestorage.mdx +8 -0
- 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-deviceusagedistributionusercounts.mdx +8 -0
- package/docs/docs/cmd/teams/report/report-deviceusageusercounts.mdx +8 -0
- package/docs/docs/cmd/teams/report/report-deviceusageuserdetail.mdx +6 -0
- package/docs/docs/cmd/teams/report/report-directroutingcalls.mdx +7 -1
- package/docs/docs/cmd/teams/report/report-pstncalls.mdx +7 -1
- package/docs/docs/cmd/teams/report/report-useractivitycounts.mdx +8 -0
- package/docs/docs/cmd/teams/report/report-useractivityusercounts.mdx +8 -0
- package/docs/docs/cmd/teams/report/report-useractivityuserdetail.mdx +8 -0
- package/docs/docs/cmd/teams/tab/tab-get.mdx +19 -12
- package/docs/docs/cmd/teams/team/team-add.mdx +28 -4
- package/docs/docs/cmd/tenant/report/report-activeusercounts.mdx +8 -0
- package/docs/docs/cmd/tenant/report/report-activeuserdetail.mdx +6 -0
- package/docs/docs/cmd/tenant/report/report-office365activationcounts.mdx +8 -0
- package/docs/docs/cmd/tenant/report/report-office365activationsusercounts.mdx +8 -0
- package/docs/docs/cmd/tenant/report/report-office365activationsuserdetail.mdx +8 -0
- package/docs/docs/cmd/tenant/report/report-servicesusercounts.mdx +8 -0
- 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-report-activitycounts.mdx +8 -0
- package/docs/docs/cmd/viva/engage/engage-report-activityusercounts.mdx +8 -0
- package/docs/docs/cmd/viva/engage/engage-report-activityuserdetail.mdx +6 -0
- package/docs/docs/cmd/viva/engage/engage-report-deviceusagedistributionusercounts.mdx +8 -0
- package/docs/docs/cmd/viva/engage/engage-report-deviceusageusercounts.mdx +8 -0
- package/docs/docs/cmd/viva/engage/engage-report-deviceusageuserdetail.mdx +6 -0
- package/docs/docs/cmd/viva/engage/engage-report-groupsactivitycounts.mdx +8 -0
- package/docs/docs/cmd/viva/engage/engage-report-groupsactivitydetail.mdx +6 -0
- package/docs/docs/cmd/viva/engage/engage-report-groupsactivitygroupcounts.mdx +8 -0
- 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 +62 -58
- 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
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
|
|
3
|
+
# spfx project azuredevops pipeline add
|
|
4
|
+
|
|
5
|
+
Adds a Azure DevOps Pipeline for a SharePoint Framework project
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
m365 spfx project azuredevops pipeline add [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Options
|
|
14
|
+
|
|
15
|
+
```md definition-list
|
|
16
|
+
`-n, --name [name]`
|
|
17
|
+
: Name of the pipeline run that will be created. If none is specified a default name generated by Azure DevOps will be used
|
|
18
|
+
|
|
19
|
+
`-b, --branchName [branchName]`
|
|
20
|
+
: Specify the branch name which should trigger the workflow on push. If none is specified a default will be used which is 'main'
|
|
21
|
+
|
|
22
|
+
`-l, --loginMethod [loginMethod]`
|
|
23
|
+
: Specify the login method used for the login action. Possible options are: `user`, `application`. Default `application`
|
|
24
|
+
|
|
25
|
+
`-s, --scope [scope]`
|
|
26
|
+
: Scope of the app catalog: `tenant`, `sitecollection`. Default is `tenant`
|
|
27
|
+
|
|
28
|
+
`-u, --siteUrl [siteUrl]`
|
|
29
|
+
: The URL of the site collection where the solution package will be added. Required if scope is set to `sitecollection`
|
|
30
|
+
|
|
31
|
+
`--skipFeatureDeployment`
|
|
32
|
+
: When specified the app will be added to all sites. When deployed to the site app catalog it will be added to all sub-sites of that site.
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
<Global />
|
|
36
|
+
|
|
37
|
+
## Remarks
|
|
38
|
+
|
|
39
|
+
The `spfx project azuredevops pipeline add` will create a workflow .yml file in the `.azuredevops/pipelines` directory in your project. If such directory does not exist the command will automatically create it.
|
|
40
|
+
|
|
41
|
+
The command will not create the Azure DevOps pipeline. You will need to manually create it in Azure DevOps. The command will only create the workflow file which you can then push to your repo and create a new yaml pipline based on it.
|
|
42
|
+
|
|
43
|
+
For the `application` login method the command does not register an Entra application nor does it create the required certificate. In order to proceed, obtain (create) a self-signed certificate and register a new Entra application with certificate authentication. After that you will need to fill the following variables, or what is more preferable, create a dedicated variable group to store those properties:
|
|
44
|
+
|
|
45
|
+
- `CertificateBase64Encoded` - base 64 encoded certificate. Use either `CertificateBase64Encoded` or `CertificateSecureFileId` but not both
|
|
46
|
+
- `CertificateSecureFileId` - id of a certificate file in the secure files section of the DevOps library. `.pfx` file. Use either `CertificateBase64Encoded` or `CertificateSecureFileId` but not both
|
|
47
|
+
- `CertificatePassword` - certificate password. This applies only if the certificate is encoded which is the recommended approach
|
|
48
|
+
- `EntraAppId` - client id of the registered Entra application
|
|
49
|
+
|
|
50
|
+
This use case is perfect in a production context as it does not create any dependencies on an account
|
|
51
|
+
|
|
52
|
+
For the `user` login method you will need to fill the following variables, or what is more preferable, create a dedicated variable group to store those properties:
|
|
53
|
+
|
|
54
|
+
- `UserName` - user email
|
|
55
|
+
- `Password` - password
|
|
56
|
+
|
|
57
|
+
This method is perfect to test your workflow, in a dev context, for personal usage. It will not work for accounts with MFA.
|
|
58
|
+
|
|
59
|
+
:::info
|
|
60
|
+
|
|
61
|
+
Run this command in the SPFx solution folder.
|
|
62
|
+
|
|
63
|
+
:::
|
|
64
|
+
|
|
65
|
+
## Examples
|
|
66
|
+
|
|
67
|
+
Adds an Azure DevOps Pipeline for a SharePoint Framework project triggered on push to main
|
|
68
|
+
|
|
69
|
+
```sh
|
|
70
|
+
m365 spfx project azuredevops pipeline add
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Adds an Azure DevOps Pipeline for a SharePoint Framework project with `user` login method triggered on push to main
|
|
74
|
+
|
|
75
|
+
```sh
|
|
76
|
+
m365 spfx project azuredevops pipeline add --loginMethod "user"
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Adds an Azure DevOps Pipeline for a SharePoint Framework project with deployment to a site collection app catalog
|
|
80
|
+
|
|
81
|
+
```sh
|
|
82
|
+
m365 spfx project azuredevops pipeline add --scope "sitecollection" --siteUrl "https://some.sharepoint.com/sites/someSite"
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Response
|
|
86
|
+
|
|
87
|
+
The command won't return a response on success.
|
|
@@ -44,9 +44,9 @@ m365 spfx project github workflow add [options]
|
|
|
44
44
|
|
|
45
45
|
The `spfx project github workflow add` will create a workflow .yml file in the `.github/workflows` directory in your project. If such directory does not exist the command will automatically create it.
|
|
46
46
|
|
|
47
|
-
For the `application` login method the command does not register
|
|
47
|
+
For the `application` login method the command does not register a Microsoft Entra application nor create the required certificate. In order for you to proceed you will need to first obtain (create) a self-signed certificate and register a new Microsoft Entra application with certificate authentication. After that in GitHub repo settings, you will need to create the following secrets:
|
|
48
48
|
|
|
49
|
-
- `APP_ID` - client id of the registered
|
|
49
|
+
- `APP_ID` - client id of the registered Microsoft Entra application
|
|
50
50
|
- `CERTIFICATE_ENCODED` - application's encoded certificate
|
|
51
51
|
- `CERTIFICATE_PASSWORD` - certificate password. This applies only if the certificate is encoded which is the recommended approach
|
|
52
52
|
|
|
@@ -26,16 +26,16 @@ m365 spo file roleassignment add [options]
|
|
|
26
26
|
: The SharePoint Id of the principal. It may be either a user id or group id to add a role assignment for. Specify either `upn`, `groupName`, or `principalId` but not multiple.
|
|
27
27
|
|
|
28
28
|
`--upn [upn]`
|
|
29
|
-
: upn/email of user to assign role to. Specify either `upn`, `groupName`, or `principalId` but not multiple.
|
|
29
|
+
: The upn/email of user to assign role to. Specify either `upn`, `groupName`, or `principalId` but not multiple.
|
|
30
30
|
|
|
31
31
|
`--groupName [groupName]`
|
|
32
|
-
: The group name of
|
|
32
|
+
: The group name of Microsoft Entra or SharePoint group. Specify either `upn`, `groupName`, or `principalId` but not multiple.
|
|
33
33
|
|
|
34
34
|
`--roleDefinitionId [roleDefinitionId]`
|
|
35
35
|
: ID of role definition. Specify either `roleDefinitionId` or `roleDefinitionName` but not both.
|
|
36
36
|
|
|
37
37
|
`--roleDefinitionName [roleDefinitionName]`
|
|
38
|
-
:
|
|
38
|
+
: The name of a role definition, like 'Contribute', 'Read', etc. Specify either `roleDefinitionId` or `roleDefinitionName` but not both.
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
<Global />
|
|
@@ -26,10 +26,10 @@ m365 spo file roleassignment remove [options]
|
|
|
26
26
|
: The SharePoint Id of the principal. It may be either a user id or group id. Specify either `upn`, `groupName`, or `principalId` but not multiple.
|
|
27
27
|
|
|
28
28
|
`--upn [upn]`
|
|
29
|
-
:
|
|
29
|
+
: The upn/email of the user. Specify either `upn`, `groupName`, or `principalId` but not multiple.
|
|
30
30
|
|
|
31
31
|
`--groupName [groupName]`
|
|
32
|
-
: The group name of
|
|
32
|
+
: The group name of a Microsoft Entra or SharePoint group. Specify either `upn`, `groupName`, or `principalId` but not multiple.
|
|
33
33
|
|
|
34
34
|
`-f, --force`
|
|
35
35
|
: Don't prompt for confirmation.
|
|
@@ -23,10 +23,36 @@ m365 spo folder add [options]
|
|
|
23
23
|
|
|
24
24
|
`-n, --name <name>`
|
|
25
25
|
: Name of the new folder to be created.
|
|
26
|
+
|
|
27
|
+
`--color [color]`
|
|
28
|
+
: Visual color of the folder. Valid values are a color name or a number. Check remarks for more info.
|
|
26
29
|
```
|
|
27
30
|
|
|
28
31
|
<Global />
|
|
29
32
|
|
|
33
|
+
## Remarks
|
|
34
|
+
|
|
35
|
+
When you specify a value for `color`, consider the following:
|
|
36
|
+
|
|
37
|
+
| Color | Number value | String value |
|
|
38
|
+
|--------------|--------------|--------------|
|
|
39
|
+
| Yellow | 0 | yellow |
|
|
40
|
+
| Dark red | 1 | darkRed |
|
|
41
|
+
| Dark orange | 2 | darkOrange |
|
|
42
|
+
| Dark green | 3 | darkGreen |
|
|
43
|
+
| Dark teal | 4 | darkTeal |
|
|
44
|
+
| Dark blue | 5 | darkBlue |
|
|
45
|
+
| Dark purple | 6 | darkPurple |
|
|
46
|
+
| Dark pink | 7 | darkPink |
|
|
47
|
+
| Grey | 8 | grey |
|
|
48
|
+
| Light red | 9 | lightRed |
|
|
49
|
+
| Light orange | 10 | lightOrange |
|
|
50
|
+
| Light green | 11 | lightGreen |
|
|
51
|
+
| Light teal | 12 | lightTeal |
|
|
52
|
+
| Light blue | 13 | lightBlue |
|
|
53
|
+
| Light purple | 14 | lightPurple |
|
|
54
|
+
| Light pink | 15 | lightPink |
|
|
55
|
+
|
|
30
56
|
## Examples
|
|
31
57
|
|
|
32
58
|
Creates folder in a specific library within the site.
|
|
@@ -41,6 +67,18 @@ Creates folder in a specific folder within the site.
|
|
|
41
67
|
m365 spo folder add --webUrl https://contoso.sharepoint.com/sites/project-x --parentFolderUrl '/sites/project-x/Shared Documents/Reports' --name 'Financial reports'
|
|
42
68
|
```
|
|
43
69
|
|
|
70
|
+
Create a folder with a dark blue look
|
|
71
|
+
|
|
72
|
+
```sh
|
|
73
|
+
m365 spo folder add --webUrl https://contoso.sharepoint.com --parentFolder '/ProjectFiles' --name 'Project-x' --color 5
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Create a folder with a light teal look
|
|
77
|
+
|
|
78
|
+
```sh
|
|
79
|
+
m365 spo folder add --webUrl https://contoso.sharepoint.com --url '/ProjectFiles/Project-x' --color lightTeal
|
|
80
|
+
```
|
|
81
|
+
|
|
44
82
|
## Response
|
|
45
83
|
|
|
46
84
|
<Tabs>
|
|
@@ -26,7 +26,7 @@ m365 spo folder roleassignment add [options]
|
|
|
26
26
|
: The upn/email of the user. Specify either `upn`, `groupName` or `principalId` but not multiple.
|
|
27
27
|
|
|
28
28
|
`--groupName [groupName]`
|
|
29
|
-
: The
|
|
29
|
+
: The Microsoft Entra or SharePoint group name. Specify either `upn`, `groupName` or `principalId` but not multiple.
|
|
30
30
|
|
|
31
31
|
`--roleDefinitionId [roleDefinitionId]`
|
|
32
32
|
: ID of the role definition. Specify either `roleDefinitionId` or `roleDefinitionName` but not both.
|
|
@@ -26,7 +26,7 @@ m365 spo folder roleassignment remove [options]
|
|
|
26
26
|
: The upn/email of the user. Specify either `upn`, `groupName` or `principalId` but not multiple.
|
|
27
27
|
|
|
28
28
|
`--groupName [groupName]`
|
|
29
|
-
: The
|
|
29
|
+
: The Microsoft Entra or SharePoint group name. Specify either `upn`, `groupName` or `principalId` but not multiple.
|
|
30
30
|
|
|
31
31
|
`-f, --force`
|
|
32
32
|
: Don't prompt for confirmation when removing the role assignment.
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
|
|
3
|
+
# spo folder set
|
|
4
|
+
|
|
5
|
+
Updates a folder
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
m365 spo folder set [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Alias
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
m365 spo folder rename [options]
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Options
|
|
20
|
+
|
|
21
|
+
```md definition-list
|
|
22
|
+
`-u, --webUrl <webUrl>`
|
|
23
|
+
: The URL of the site where the folder is located.
|
|
24
|
+
|
|
25
|
+
`--url <url>`
|
|
26
|
+
: The server- or site-relative decoded URL of the folder.
|
|
27
|
+
|
|
28
|
+
`-n, --name [name]`
|
|
29
|
+
: New name for the folder.
|
|
30
|
+
|
|
31
|
+
`--color [color]`
|
|
32
|
+
: Visual color of the folder. Valid values are a color name or a number. Check remarks for more info.
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
<Global />
|
|
36
|
+
|
|
37
|
+
## Remarks
|
|
38
|
+
|
|
39
|
+
When you specify a value for `color`, consider the following:
|
|
40
|
+
|
|
41
|
+
| Color | Number value | String value |
|
|
42
|
+
|--------------|--------------|--------------|
|
|
43
|
+
| Yellow | 0 | yellow |
|
|
44
|
+
| Dark red | 1 | darkRed |
|
|
45
|
+
| Dark orange | 2 | darkOrange |
|
|
46
|
+
| Dark green | 3 | darkGreen |
|
|
47
|
+
| Dark teal | 4 | darkTeal |
|
|
48
|
+
| Dark blue | 5 | darkBlue |
|
|
49
|
+
| Dark purple | 6 | darkPurple |
|
|
50
|
+
| Dark pink | 7 | darkPink |
|
|
51
|
+
| Grey | 8 | grey |
|
|
52
|
+
| Light red | 9 | lightRed |
|
|
53
|
+
| Light orange | 10 | lightOrange |
|
|
54
|
+
| Light green | 11 | lightGreen |
|
|
55
|
+
| Light teal | 12 | lightTeal |
|
|
56
|
+
| Light blue | 13 | lightBlue |
|
|
57
|
+
| Light purple | 14 | lightPurple |
|
|
58
|
+
| Light pink | 15 | lightPink |
|
|
59
|
+
|
|
60
|
+
## Examples
|
|
61
|
+
|
|
62
|
+
Set the folder name to 'My Folder 2'
|
|
63
|
+
|
|
64
|
+
```sh
|
|
65
|
+
m365 spo folder set --webUrl https://contoso.sharepoint.com/sites/project-x --url '/Shared Documents/My Folder 1' --name 'My Folder 2'
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Set the folder name to 'My folder 2'
|
|
69
|
+
|
|
70
|
+
```sh
|
|
71
|
+
m365 spo folder set --webUrl https://contoso.sharepoint.com/sites/project-x --url '/sites/project-x/Shared Documents/My Folder 1' --name 'My Folder 2'
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Set the folder color to dark blue
|
|
75
|
+
|
|
76
|
+
```sh
|
|
77
|
+
m365 spo folder set --webUrl https://contoso.sharepoint.com --url '/ProjectFiles/Project-x' --color 5
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Set the folder color to light teal
|
|
81
|
+
|
|
82
|
+
```sh
|
|
83
|
+
m365 spo folder set --webUrl https://contoso.sharepoint.com --url '/ProjectFiles/Project-x' --color lightTeal
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## Response
|
|
87
|
+
|
|
88
|
+
The command won't return a response on success.
|
|
@@ -37,13 +37,13 @@ m365 spo group member add [options]
|
|
|
37
37
|
: The object Id of the Entra group to add as a member. If multiple groups need to be added, the Ids have to be comma-separated. Specify either `userIds`, `userNames`, `emails`, `aadGroupIds`, `entraGroupIds`, `aadGroupNames`, or `entraGroupNames`.
|
|
38
38
|
|
|
39
39
|
`--aadGroupIds [aadGroupIds]`
|
|
40
|
-
: (deprecated. Use `entraGroupIds` instead) The object
|
|
40
|
+
: (deprecated. Use `entraGroupIds` instead) The object ID of the Microsoft Entra group to add as a member. If multiple groups need to be added, the Ids have to be comma-separated. Specify either `userIds`, `userNames`, `emails`, `aadGroupIds`, `entraGroupIds`, `aadGroupNames`, or `entraGroupNames`.
|
|
41
41
|
|
|
42
42
|
`--entraGroupNames [entraGroupNames]`
|
|
43
43
|
: The name of the Entra group to add as a member. If multiple groups need to be added, they have to be comma-separated. Specify either `userIds`, `userNames`, `emails`, `aadGroupIds`, `entraGroupIds`, `aadGroupNames`, or `entraGroupNames`.
|
|
44
44
|
|
|
45
45
|
`--aadGroupNames [aadGroupNames]`
|
|
46
|
-
: (deprecated. Use `entraGroupNames` instead) The name of the
|
|
46
|
+
: (deprecated. Use `entraGroupNames` instead) The name of the Microsoft Entra group to add as a member. If multiple groups need to be added, they have to be comma-separated. Specify either `userIds`, `userNames`, `emails`, `aadGroupIds`, `entraGroupIds`, `aadGroupNames`, or `entraGroupNames`.
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
<Global />
|
|
@@ -35,13 +35,13 @@ m365 spo group member remove [options]
|
|
|
35
35
|
: The object Id of the Entra group to remove as a member. Specify either `userName`, `email`, `userId`, `aadGroupId`, `entraGroupId`, `aadGroupName`, or `entraGroupName`.
|
|
36
36
|
|
|
37
37
|
`--aadGroupId [aadGroupId]`
|
|
38
|
-
: (deprecated. Use `entraGroupId` instead) The object
|
|
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`.
|
|
39
39
|
|
|
40
40
|
`--entraGroupName [entraGroupName]`
|
|
41
41
|
: The name of the Entra group to remove as a member. Specify either `userName`, `email`, `userId`, `aadGroupId`, `entraGroupId`, `aadGroupName`, or `entraGroupName`.
|
|
42
42
|
|
|
43
43
|
`--aadGroupName [aadGroupName]`
|
|
44
|
-
: (deprecated. Use `entraGroupName` instead) The name of the
|
|
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`.
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
<Global />
|
|
@@ -69,7 +69,7 @@ m365 spo group member remove --webUrl https://contoso.sharepoint.com/sites/SiteA
|
|
|
69
69
|
Remove an Entra group from a SharePoint group based on the Entra group name on a given web.
|
|
70
70
|
|
|
71
71
|
```sh
|
|
72
|
-
m365 spo group member remove --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --entraGroupName "
|
|
72
|
+
m365 spo group member remove --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --entraGroupName "Microsoft Entra ID Security Group"
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
Remove an Entra group from a SharePoint group based on the Entra group ID on a given web.
|
|
@@ -29,16 +29,16 @@ m365 spo list roleassignment add [options]
|
|
|
29
29
|
: SharePoint ID of principal it may be either user id or group id we want to add permissions to. Specify either `principalId`, `upn`, or `groupName` but not multiple.
|
|
30
30
|
|
|
31
31
|
`--upn [upn]`
|
|
32
|
-
:
|
|
32
|
+
: The upn/email of user to assign role to. Specify either `principalId`, `upn`, or `groupName` but not multiple.
|
|
33
33
|
|
|
34
34
|
`--groupName [groupName]`
|
|
35
|
-
:
|
|
35
|
+
: The group name of Microsoft Entra or SharePoint group. Specify either `principalId`, `upn`, or `groupName` but not multiple.
|
|
36
36
|
|
|
37
37
|
`--roleDefinitionId [roleDefinitionId]`
|
|
38
38
|
: ID of role definition. Specify either `roleDefinitionId` or `roleDefinitionName` but not both.
|
|
39
39
|
|
|
40
40
|
`--roleDefinitionName [roleDefinitionName]`
|
|
41
|
-
:
|
|
41
|
+
: The name of a role definition, like 'Contribute', 'Read', etc. Specify either `roleDefinitionId` or `roleDefinitionName` but not both.
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
<Global />
|
|
@@ -29,10 +29,10 @@ m365 spo list roleassignment remove [options]
|
|
|
29
29
|
: SharePoint ID of principal it may be either user id or group id you want to remove permissions. Specify either `principalId`, `upn`, or `groupName` but not multiple.
|
|
30
30
|
|
|
31
31
|
`--upn [upn]`
|
|
32
|
-
: upn/email of user. Specify either `principalId`, `upn`, or `groupName` but not multiple.
|
|
32
|
+
: The upn/email of user. Specify either `principalId`, `upn`, or `groupName` but not multiple.
|
|
33
33
|
|
|
34
34
|
`--groupName [groupName]`
|
|
35
|
-
:
|
|
35
|
+
: The group name of Microsoft Entra or SharePoint group. Specify either `principalId`, `upn`, or `groupName` but not multiple.
|
|
36
36
|
|
|
37
37
|
`-f, --force`
|
|
38
38
|
: Don't prompt for confirming removing the role assignment.
|
|
@@ -17,31 +17,31 @@ m365 spo listitem roleassignment add [options]
|
|
|
17
17
|
: URL of the site where the listitem is located
|
|
18
18
|
|
|
19
19
|
`--listId [listId]`
|
|
20
|
-
: ID of the list. Specify either listId
|
|
20
|
+
: ID of the list. Specify either `listId`, `listTitle` or `listUrl` but not multiple.
|
|
21
21
|
|
|
22
22
|
`--listTitle [listTitle]`
|
|
23
|
-
: Title of the list. Specify either listId
|
|
23
|
+
: Title of the list. Specify either `listId`, `listTitle` or `listUrl` but not multiple.
|
|
24
24
|
|
|
25
25
|
`--listUrl [listUrl]`
|
|
26
|
-
: Relative URL of the list. Specify either listId
|
|
26
|
+
: Relative URL of the list. Specify either `listId`, `listTitle` or `listUrl` but not multiple.
|
|
27
27
|
|
|
28
28
|
`--listItemId <listItemId>`
|
|
29
29
|
: Id of the listitem to assign the role to.
|
|
30
30
|
|
|
31
31
|
`--principalId [principalId]`
|
|
32
|
-
: The SharePoint Id of the principal. It may be either a user id or group id to add a role assignment for. Specify either upn
|
|
32
|
+
: The SharePoint Id of the principal. It may be either a user id or group id to add a role assignment for. Specify either `upn`, `groupName` or `principalId`.
|
|
33
33
|
|
|
34
34
|
`--upn [upn]`
|
|
35
|
-
: upn/email of user to assign role to. Specify either upn
|
|
35
|
+
: The upn/email of user to assign role to. Specify either `upn`, `groupName` or `principalId`.
|
|
36
36
|
|
|
37
37
|
`--groupName [groupName]`
|
|
38
|
-
: The group name of
|
|
38
|
+
: The group name of Microsoft Entra or SharePoint group. Specify either `upn`, `groupName` or `principalId`.
|
|
39
39
|
|
|
40
40
|
`--roleDefinitionId [roleDefinitionId]`
|
|
41
|
-
: ID of role definition. Specify either roleDefinitionId or roleDefinitionName but not both
|
|
41
|
+
: ID of role definition. Specify either `roleDefinitionId` or `roleDefinitionName` but not both.
|
|
42
42
|
|
|
43
43
|
`--roleDefinitionName [roleDefinitionName]`
|
|
44
|
-
:
|
|
44
|
+
: The name of a role definition, like 'Contribute', 'Read', etc. Specify either `roleDefinitionId` or `roleDefinitionName` but not both.
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
<Global />
|
|
@@ -32,10 +32,10 @@ m365 spo listitem roleassignment remove [options]
|
|
|
32
32
|
: SharePoint ID of principal it may be either user id or group id we want to remove permissions. Specify either `principalId`, `upn`, or `groupName` but not multiple.
|
|
33
33
|
|
|
34
34
|
`--upn [upn]`
|
|
35
|
-
: upn/email of user. Specify either `principalId`, `upn`, or `groupName` but not multiple.
|
|
35
|
+
: The upn/email of user. Specify either `principalId`, `upn`, or `groupName` but not multiple.
|
|
36
36
|
|
|
37
37
|
`--groupName [groupName]`
|
|
38
|
-
:
|
|
38
|
+
: The group name of Microsoft Entra or SharePoint group. Specify either `principalId`, `upn`, or `groupName` but not multiple.
|
|
39
39
|
|
|
40
40
|
`-f, --force`
|
|
41
41
|
: Don't prompt for confirming removing the role assignment.
|
|
@@ -21,6 +21,14 @@ m365 spo report activityfilecounts [options]
|
|
|
21
21
|
|
|
22
22
|
<Global />
|
|
23
23
|
|
|
24
|
+
## Remarks
|
|
25
|
+
|
|
26
|
+
:::info
|
|
27
|
+
|
|
28
|
+
This command supports only csv and json output.
|
|
29
|
+
|
|
30
|
+
:::
|
|
31
|
+
|
|
24
32
|
## Examples
|
|
25
33
|
|
|
26
34
|
Gets the number of unique, licensed users who interacted with files stored on SharePoint sites for the last week
|
|
@@ -25,6 +25,12 @@ m365 spo report activityusercounts [options]
|
|
|
25
25
|
|
|
26
26
|
A user is considered active if he or she has executed a file activity (save, sync, modify, or share) or visited a page within the specified time period
|
|
27
27
|
|
|
28
|
+
:::info
|
|
29
|
+
|
|
30
|
+
This command supports only csv and json output.
|
|
31
|
+
|
|
32
|
+
:::
|
|
33
|
+
|
|
28
34
|
## Examples
|
|
29
35
|
|
|
30
36
|
Gets the trend in the number of active users for the last week
|
|
@@ -28,6 +28,12 @@ m365 spo report activityuserdetail [options]
|
|
|
28
28
|
|
|
29
29
|
As this report is only available for the past 28 days, date parameter value should be a date from that range.
|
|
30
30
|
|
|
31
|
+
:::info
|
|
32
|
+
|
|
33
|
+
This command supports only csv and json output.
|
|
34
|
+
|
|
35
|
+
:::
|
|
36
|
+
|
|
31
37
|
## Examples
|
|
32
38
|
|
|
33
39
|
Gets details about SharePoint activity by user for the last week
|
|
@@ -28,6 +28,12 @@ m365 spo report siteusagedetail [options]
|
|
|
28
28
|
|
|
29
29
|
As this report is only available for the past 28 days, date parameter value should be a date from that range.
|
|
30
30
|
|
|
31
|
+
:::info
|
|
32
|
+
|
|
33
|
+
This command supports only csv and json output.
|
|
34
|
+
|
|
35
|
+
:::
|
|
36
|
+
|
|
31
37
|
## Examples
|
|
32
38
|
|
|
33
39
|
Gets details about SharePoint site usage for the last week
|
|
@@ -25,6 +25,12 @@ m365 spo report siteusagefilecounts [options]
|
|
|
25
25
|
|
|
26
26
|
A file (user or system) is considered active if it has been saved, synced, modified, or shared within the specified time period.
|
|
27
27
|
|
|
28
|
+
:::info
|
|
29
|
+
|
|
30
|
+
This command supports only csv and json output.
|
|
31
|
+
|
|
32
|
+
:::
|
|
33
|
+
|
|
28
34
|
## Examples
|
|
29
35
|
|
|
30
36
|
Get the total number of files across all sites and the number of active files for the last week
|
|
@@ -25,6 +25,12 @@ m365 spo report siteusagesitecounts [options]
|
|
|
25
25
|
|
|
26
26
|
A file (user or system) is considered active if it has been saved, synced, modified, or shared within the specified time period.
|
|
27
27
|
|
|
28
|
+
:::info
|
|
29
|
+
|
|
30
|
+
This command supports only csv and json output.
|
|
31
|
+
|
|
32
|
+
:::
|
|
33
|
+
|
|
28
34
|
## Examples
|
|
29
35
|
|
|
30
36
|
Gets the total number of files across all sites and the number of active files for the last week
|
|
@@ -21,6 +21,14 @@ m365 spo report siteusagestorage [options]
|
|
|
21
21
|
|
|
22
22
|
<Global />
|
|
23
23
|
|
|
24
|
+
## Remarks
|
|
25
|
+
|
|
26
|
+
:::info
|
|
27
|
+
|
|
28
|
+
This command supports only csv and json output.
|
|
29
|
+
|
|
30
|
+
:::
|
|
31
|
+
|
|
24
32
|
## Examples
|
|
25
33
|
|
|
26
34
|
Gets the trend of storage allocated and consumed during the last week
|
|
@@ -22,10 +22,10 @@ m365 spo site apppermission add [options]
|
|
|
22
22
|
: Permission to site (`read`, `write`, `manage` or `fullcontrol`)
|
|
23
23
|
|
|
24
24
|
`-i, --appId [appId]`
|
|
25
|
-
: Client ID of the
|
|
25
|
+
: Client ID of the Microsoft Entra app for which to grant permissions
|
|
26
26
|
|
|
27
27
|
`-n, --appDisplayName [appDisplayName]`
|
|
28
|
-
: Display name of the
|
|
28
|
+
: Display name of the Microsoft Entra app for which to grant permissions
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
<Global />
|
|
@@ -22,10 +22,10 @@ m365 spo site apppermission set [options]
|
|
|
22
22
|
: ID of the permission to update. Specify `id`, `appId` or `appDisplayName`
|
|
23
23
|
|
|
24
24
|
`--appId [appId]`
|
|
25
|
-
: Client ID of the
|
|
25
|
+
: Client ID of the Microsoft Entra app for which to update permissions. Specify `id`, `appId` or `appDisplayName`
|
|
26
26
|
|
|
27
27
|
`-n, --appDisplayName [appDisplayName]`
|
|
28
|
-
: Display name of the
|
|
28
|
+
: Display name of the Microsoft Entra app for which to update permissions. Specify `id`, `appId` or `appDisplayName`
|
|
29
29
|
|
|
30
30
|
`-p, --permission <permission>`
|
|
31
31
|
: Permission to site (`read`, `write`, `manage` or `fullcontrol`)
|
|
@@ -14,20 +14,44 @@ m365 spo site recyclebinitem restore [options]
|
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
16
|
`-u, --siteUrl <siteUrl>`
|
|
17
|
-
: URL of the site
|
|
17
|
+
: URL of the site.
|
|
18
18
|
|
|
19
|
-
`-i, --ids
|
|
20
|
-
: List of ids of items which will be restored from the site recycle bin
|
|
19
|
+
`-i, --ids [ids]`
|
|
20
|
+
: List of ids of items which will be restored from the site recycle bin. Specify `ids` or `allPrimary` and/or `allSecondary`.
|
|
21
|
+
|
|
22
|
+
`--allPrimary`
|
|
23
|
+
: Restore all items from the first-stage recycle bin. Specify `ids` or `allPrimary` and/or `allSecondary`.
|
|
24
|
+
|
|
25
|
+
`--allSecondary`
|
|
26
|
+
: Restore all items from the second-stage recycle bin. Specify `ids` or `allPrimary` and/or `allSecondary`.
|
|
21
27
|
```
|
|
22
28
|
|
|
23
29
|
<Global />
|
|
24
30
|
|
|
25
31
|
## Examples
|
|
26
32
|
|
|
27
|
-
Restore specific items by given ids from recycle bin
|
|
33
|
+
Restore specific items by given ids from recycle bin of given site.
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
m365 spo site recyclebinitem restore --siteUrl https://contoso.sharepoint.com/sites/project --ids "ae6f97a7-280e-48d6-b481-0ea986c323da,aadbf916-1f71-42ee-abf2-8ee4802ae291"
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Restore all items from the first-stage recycle bin of a given site.
|
|
40
|
+
|
|
41
|
+
```sh
|
|
42
|
+
m365 spo site recyclebinitem restore --siteUrl https://contoso.sharepoint.com/sites/project --allPrimary
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Restore all items from the second-stage recycle bin of a given site.
|
|
46
|
+
|
|
47
|
+
```sh
|
|
48
|
+
m365 spo site recyclebinitem restore --siteUrl https://contoso.sharepoint.com --allSecondary
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Restore all items from both the first-stage and second-stage recycle bins of a given site.
|
|
28
52
|
|
|
29
53
|
```sh
|
|
30
|
-
m365 spo site recyclebinitem restore --siteUrl https://contoso.sharepoint.com
|
|
54
|
+
m365 spo site recyclebinitem restore --siteUrl https://contoso.sharepoint.com --allPrimary --allSecondary
|
|
31
55
|
```
|
|
32
56
|
|
|
33
57
|
## Response
|