@pnp/cli-microsoft365 11.1.0-beta.d3fc85d → 11.1.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/.devproxy/api-specs/sharepoint.yaml +41 -0
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Auth.js +10 -7
- package/dist/Command.js +2 -2
- package/dist/auth/msalCachePlugin.js +6 -2
- package/dist/autocomplete.js +6 -2
- package/dist/chili/chili.js +2 -1
- package/dist/cli/cli.js +4 -2
- package/dist/config.js +0 -1
- package/dist/m365/adaptivecard/commands/adaptivecard-send.js +2 -2
- package/dist/m365/app/commands/permission/permission-list.js +4 -2
- package/dist/m365/booking/commands/business/business-list.js +5 -0
- package/dist/m365/commands/logout.js +5 -1
- package/dist/m365/commands/setup.js +6 -3
- package/dist/m365/connection/commands/connection-list.js +5 -1
- package/dist/m365/entra/commands/app/app-role-add.js +1 -1
- package/dist/m365/entra/commands/group/group-add.js +1 -1
- package/dist/m365/entra/commands/group/group-set.js +1 -1
- package/dist/m365/entra/commands/license/license-list.js +5 -0
- package/dist/m365/entra/commands/m365group/m365group-add.js +0 -1
- package/dist/m365/file/commands/convert/convert-pdf.js +1 -6
- package/dist/m365/flow/commands/flow-export.js +8 -5
- package/dist/m365/flow/commands/run/run-get.js +3 -3
- package/dist/m365/graph/commands/schemaextension/schemaextension-set.js +1 -1
- package/dist/m365/onedrive/commands/onedrive-list.js +5 -0
- package/dist/m365/outlook/commands/roomlist/roomlist-list.js +5 -0
- package/dist/m365/pa/commands/app/app-export.js +1 -1
- package/dist/m365/pa/commands/app/app-get.js +1 -1
- package/dist/m365/pa/commands/environment/environment-list.js +5 -0
- package/dist/m365/planner/commands/tenant/tenant-settings-list.js +5 -0
- package/dist/m365/pp/commands/gateway/gateway-list.js +5 -0
- package/dist/m365/pp/commands/solution/solution-publisher-get.js +1 -1
- package/dist/m365/pp/commands/tenant/tenant-settings-list.js +5 -0
- package/dist/m365/purview/commands/retentionevent/retentionevent-list.js +5 -0
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-list.js +5 -0
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-list.js +5 -0
- package/dist/m365/spfx/commands/package/package-generate.js +3 -1
- package/dist/m365/spfx/commands/project/base-project-command.js +13 -5
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021007_PKG_only_one_rush_stack_compiler_installed.js +1 -1
- package/dist/m365/spfx/commands/project/project-externalize/rules/PnPJsRule.js +6 -4
- package/dist/m365/spfx/commands/project/project-model/ScssFile.js +3 -1
- package/dist/m365/spfx/commands/project/project-model/TsFile.js +6 -2
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.15.2.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.16.0.js +2 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.0.js +2 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.18.0.js +2 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.19.0.js +2 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.20.0.js +2 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.21.0.js +2 -0
- package/dist/m365/spfx/commands/spfx-doctor.js +5 -5
- package/dist/m365/spo/commands/file/file-add.js +4 -2
- package/dist/m365/spo/commands/file/file-rename.js +3 -4
- package/dist/m365/spo/commands/hubsite/hubsite-list.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-attachment-add.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-batch-set.js +9 -5
- package/dist/m365/spo/commands/page/clientsidepages.js +12 -12
- package/dist/m365/spo/commands/page/page-add.js +4 -2
- package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +1 -0
- package/dist/m365/spo/commands/page/page-set.js +4 -2
- package/dist/m365/spo/commands/page/page-text-add.js +1 -0
- package/dist/m365/spo/commands/propertybag/propertybag-base.js +34 -54
- package/dist/m365/spo/commands/theme/theme-apply.js +1 -1
- package/dist/m365/spo/commands/web/web-alert-list.js +107 -0
- package/dist/m365/spo/commands/web/web-alert-remove.js +59 -0
- package/dist/m365/spo/commands/web/web-reindex.js +17 -27
- package/dist/m365/spo/commands.js +2 -0
- package/dist/m365/teams/commands/tab/tab-add.js +9 -3
- package/dist/m365/viva/commands/connections/connections-app-create.js +1 -1
- package/dist/m365/viva/commands/engage/engage-community-user-add.js +1 -1
- package/dist/m365/viva/commands/engage/engage-community-user-remove.js +1 -1
- package/dist/telemetry.js +3 -1
- package/dist/utils/accessToken.js +4 -0
- package/dist/utils/cache.js +3 -2
- package/dist/utils/customAppScope.js +1 -1
- package/dist/utils/directoryExtension.js +1 -1
- package/dist/utils/entraAdministrativeUnit.js +1 -1
- package/dist/utils/entraApp.js +2 -2
- package/dist/utils/entraDevice.js +1 -1
- package/dist/utils/entraServicePrincipal.js +2 -2
- package/dist/utils/formatting.js +1 -1
- package/dist/utils/md.js +2 -2
- package/dist/utils/odata.js +2 -0
- package/dist/utils/planner.js +1 -1
- package/dist/utils/powerPlatform.js +2 -2
- package/dist/utils/roleDefinition.js +2 -2
- package/dist/utils/spo.js +10 -11
- package/dist/utils/urlUtil.js +1 -1
- package/dist/utils/validation.js +1 -1
- package/dist/utils/vivaEngage.js +3 -3
- package/docs/docs/cmd/booking/business/business-get.mdx +18 -1
- package/docs/docs/cmd/booking/business/business-list.mdx +18 -1
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-add.mdx +19 -0
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-get.mdx +19 -0
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-list.mdx +19 -0
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-add.mdx +21 -0
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-get.mdx +19 -0
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-list.mdx +19 -0
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-remove.mdx +21 -0
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-remove.mdx +21 -0
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-roleassignment-add.mdx +19 -0
- package/docs/docs/cmd/entra/app/app-add.mdx +18 -0
- package/docs/docs/cmd/entra/app/app-get.mdx +19 -1
- package/docs/docs/cmd/entra/app/app-list.mdx +18 -1
- package/docs/docs/cmd/entra/app/app-remove.mdx +20 -0
- package/docs/docs/cmd/entra/app/app-set.mdx +20 -0
- package/docs/docs/cmd/entra/approleassignment/approleassignment-add.mdx +18 -0
- package/docs/docs/cmd/entra/approleassignment/approleassignment-list.mdx +18 -0
- package/docs/docs/cmd/entra/approleassignment/approleassignment-remove.mdx +20 -0
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-add.mdx +14 -0
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-get.mdx +15 -0
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-list.mdx +14 -0
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-remove.mdx +14 -0
- package/docs/docs/cmd/entra/group/group-add.mdx +18 -0
- package/docs/docs/cmd/entra/group/group-get.mdx +18 -0
- package/docs/docs/cmd/entra/group/group-list.mdx +18 -0
- package/docs/docs/cmd/entra/group/group-member-add.mdx +20 -0
- package/docs/docs/cmd/entra/group/group-member-list.mdx +18 -0
- package/docs/docs/cmd/entra/group/group-member-remove.mdx +20 -0
- package/docs/docs/cmd/entra/group/group-member-set.mdx +20 -0
- package/docs/docs/cmd/entra/group/group-remove.mdx +20 -0
- package/docs/docs/cmd/entra/group/group-set.mdx +20 -0
- package/docs/docs/cmd/entra/groupsetting/groupsetting-add.mdx +19 -0
- package/docs/docs/cmd/entra/groupsetting/groupsetting-get.mdx +19 -0
- package/docs/docs/cmd/entra/groupsetting/groupsetting-list.mdx +19 -0
- package/docs/docs/cmd/entra/groupsetting/groupsetting-remove.mdx +21 -0
- package/docs/docs/cmd/entra/groupsetting/groupsetting-set.mdx +21 -0
- package/docs/docs/cmd/entra/m365group/m365group-add.mdx +19 -0
- package/docs/docs/cmd/entra/m365group/m365group-get.mdx +19 -0
- package/docs/docs/cmd/entra/m365group/m365group-list.mdx +19 -0
- package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-clear.mdx +14 -0
- package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-list.mdx +19 -0
- package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-remove.mdx +14 -0
- package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-restore.mdx +21 -0
- package/docs/docs/cmd/entra/m365group/m365group-remove.mdx +21 -0
- package/docs/docs/cmd/entra/m365group/m365group-renew.mdx +21 -0
- package/docs/docs/cmd/entra/m365group/m365group-report-activitycounts.mdx +18 -0
- package/docs/docs/cmd/entra/m365group/m365group-report-activitydetail.mdx +18 -0
- package/docs/docs/cmd/entra/m365group/m365group-report-activityfilecounts.mdx +18 -0
- package/docs/docs/cmd/entra/m365group/m365group-report-activitygroupcounts.mdx +18 -0
- package/docs/docs/cmd/entra/m365group/m365group-report-activitystorage.mdx +18 -0
- package/docs/docs/cmd/entra/m365group/m365group-set.mdx +21 -0
- package/docs/docs/cmd/entra/m365group/m365group-teamify.mdx +19 -0
- package/docs/docs/cmd/entra/multitenant/multitenant-add.mdx +18 -0
- package/docs/docs/cmd/entra/multitenant/multitenant-get.mdx +18 -1
- package/docs/docs/cmd/entra/multitenant/multitenant-remove.mdx +20 -0
- package/docs/docs/cmd/entra/multitenant/multitenant-set.mdx +20 -0
- package/docs/docs/cmd/entra/oauth2grant/oauth2grant-add.mdx +20 -0
- package/docs/docs/cmd/entra/oauth2grant/oauth2grant-list.mdx +17 -0
- package/docs/docs/cmd/entra/oauth2grant/oauth2grant-remove.mdx +20 -0
- package/docs/docs/cmd/entra/oauth2grant/oauth2grant-set.mdx +20 -0
- package/docs/docs/cmd/entra/organization/organization-list.mdx +19 -2
- package/docs/docs/cmd/entra/pim/pim-role-assignment-add.mdx +18 -0
- package/docs/docs/cmd/entra/pim/pim-role-assignment-eligibility-list.mdx +18 -0
- package/docs/docs/cmd/entra/pim/pim-role-assignment-list.mdx +18 -0
- package/docs/docs/cmd/entra/pim/pim-role-assignment-remove.mdx +18 -0
- package/docs/docs/cmd/entra/pim/pim-role-request-list.mdx +18 -0
- package/docs/docs/cmd/graph/directoryextension/directoryextension-add.mdx +18 -0
- package/docs/docs/cmd/graph/directoryextension/directoryextension-get.mdx +18 -0
- package/docs/docs/cmd/graph/directoryextension/directoryextension-list.mdx +18 -0
- package/docs/docs/cmd/graph/directoryextension/directoryextension-remove.mdx +20 -0
- package/docs/docs/cmd/graph/schemaextension/schemaextension-add.mdx +18 -1
- package/docs/docs/cmd/graph/schemaextension/schemaextension-get.mdx +18 -1
- package/docs/docs/cmd/graph/schemaextension/schemaextension-list.mdx +19 -1
- package/docs/docs/cmd/graph/schemaextension/schemaextension-remove.mdx +20 -0
- package/docs/docs/cmd/graph/schemaextension/schemaextension-set.mdx +23 -3
- package/docs/docs/cmd/graph/subscription/subscription-add.mdx +27 -6
- package/docs/docs/cmd/outlook/mail/mail-send.mdx +21 -0
- package/docs/docs/cmd/outlook/mailbox/mailbox-settings-get.mdx +20 -1
- package/docs/docs/cmd/outlook/mailbox/mailbox-settings-set.mdx +20 -1
- package/docs/docs/cmd/outlook/room/room-list.mdx +19 -0
- package/docs/docs/cmd/outlook/roomlist/roomlist-list.mdx +19 -0
- package/docs/docs/cmd/purview/retentionevent/retentionevent-add.mdx +18 -0
- package/docs/docs/cmd/purview/retentionevent/retentionevent-get.mdx +18 -0
- package/docs/docs/cmd/purview/retentionevent/retentionevent-list.mdx +18 -0
- package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.mdx +20 -0
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.mdx +18 -0
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.mdx +18 -0
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.mdx +18 -0
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.mdx +21 -1
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.mdx +21 -1
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.mdx +11 -0
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.mdx +12 -1
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.mdx +12 -1
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.mdx +14 -1
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.mdx +13 -0
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-get.mdx +18 -0
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-list.mdx +18 -0
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-policysettings-list.mdx +18 -0
- package/docs/docs/cmd/purview/threatassessment/threatassessment-add.mdx +12 -0
- package/docs/docs/cmd/purview/threatassessment/threatassessment-get.mdx +19 -0
- package/docs/docs/cmd/purview/threatassessment/threatassessment-list.mdx +19 -0
- package/docs/docs/cmd/spo/web/web-alert-list.mdx +187 -0
- package/docs/docs/cmd/spo/web/web-alert-remove.mdx +65 -0
- package/eslint-rules/lib/rules/correct-command-class-name.js +18 -2
- package/eslint.config.mjs +270 -0
- package/npm-shrinkwrap.json +1279 -2304
- package/package.json +26 -24
- package/.eslintrc.cjs +0 -289
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# entra m365group recyclebinitem restore
|
|
4
6
|
|
|
@@ -25,6 +27,25 @@ m365 entra m365group recyclebinitem restore [options]
|
|
|
25
27
|
|
|
26
28
|
<Global />
|
|
27
29
|
|
|
30
|
+
## Permissions
|
|
31
|
+
|
|
32
|
+
<Tabs>
|
|
33
|
+
<TabItem value="Delegated">
|
|
34
|
+
|
|
35
|
+
| Resource | Permissions |
|
|
36
|
+
|-----------------|---------------------|
|
|
37
|
+
| Microsoft Graph | Group.ReadWrite.All |
|
|
38
|
+
|
|
39
|
+
</TabItem>
|
|
40
|
+
<TabItem value="Application">
|
|
41
|
+
|
|
42
|
+
| Resource | Permissions |
|
|
43
|
+
|-----------------|---------------------|
|
|
44
|
+
| Microsoft Graph | Group.ReadWrite.All |
|
|
45
|
+
|
|
46
|
+
</TabItem>
|
|
47
|
+
</Tabs>
|
|
48
|
+
|
|
28
49
|
## Examples
|
|
29
50
|
|
|
30
51
|
Restores the Microsoft 365 Group with specific ID
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# entra m365group remove
|
|
4
6
|
|
|
@@ -28,6 +30,25 @@ m365 entra m365group remove [options]
|
|
|
28
30
|
|
|
29
31
|
<Global />
|
|
30
32
|
|
|
33
|
+
## Permissions
|
|
34
|
+
|
|
35
|
+
<Tabs>
|
|
36
|
+
<TabItem value="Delegated">
|
|
37
|
+
|
|
38
|
+
| Resource | Permissions |
|
|
39
|
+
|-----------------|---------------------|
|
|
40
|
+
| Microsoft Graph | Group.ReadWrite.All |
|
|
41
|
+
|
|
42
|
+
</TabItem>
|
|
43
|
+
<TabItem value="Application">
|
|
44
|
+
|
|
45
|
+
| Resource | Permissions |
|
|
46
|
+
|-----------------|---------------------|
|
|
47
|
+
| Microsoft Graph | Group.ReadWrite.All |
|
|
48
|
+
|
|
49
|
+
</TabItem>
|
|
50
|
+
</Tabs>
|
|
51
|
+
|
|
31
52
|
## Remarks
|
|
32
53
|
|
|
33
54
|
If the specified _id_ doesn't refer to an existing group, you will get a `Resource does not exist` error. Additionally, if you do not have access to the group or the associated group-connected site, you will get an `Access denied` error.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# entra m365group renew
|
|
4
6
|
|
|
@@ -22,6 +24,25 @@ m365 entra m365group renew [options]
|
|
|
22
24
|
|
|
23
25
|
<Global />
|
|
24
26
|
|
|
27
|
+
## Permissions
|
|
28
|
+
|
|
29
|
+
<Tabs>
|
|
30
|
+
<TabItem value="Delegated">
|
|
31
|
+
|
|
32
|
+
| Resource | Permissions |
|
|
33
|
+
|-----------------|---------------------|
|
|
34
|
+
| Microsoft Graph | Group.ReadWrite.All |
|
|
35
|
+
|
|
36
|
+
</TabItem>
|
|
37
|
+
<TabItem value="Application">
|
|
38
|
+
|
|
39
|
+
| Resource | Permissions |
|
|
40
|
+
|-----------------|---------------------|
|
|
41
|
+
| Microsoft Graph | Group.ReadWrite.All |
|
|
42
|
+
|
|
43
|
+
</TabItem>
|
|
44
|
+
</Tabs>
|
|
45
|
+
|
|
25
46
|
## Remarks
|
|
26
47
|
|
|
27
48
|
If the specified _id_ doesn't refer to an existing group, you will get a `The remote server returned an error: (404) Not Found.` error.
|
|
@@ -32,6 +32,24 @@ This command supports only csv and json output.
|
|
|
32
32
|
|
|
33
33
|
:::
|
|
34
34
|
|
|
35
|
+
## Permissions
|
|
36
|
+
<Tabs>
|
|
37
|
+
<TabItem value="Delegated">
|
|
38
|
+
|
|
39
|
+
| Resource | Permissions |
|
|
40
|
+
|-----------------|------------------|
|
|
41
|
+
| Microsoft Graph | Reports.Read.All |
|
|
42
|
+
|
|
43
|
+
</TabItem>
|
|
44
|
+
<TabItem value="Application">
|
|
45
|
+
|
|
46
|
+
| Resource | Permissions |
|
|
47
|
+
|-----------------|------------------|
|
|
48
|
+
| Microsoft Graph | Reports.Read.All |
|
|
49
|
+
|
|
50
|
+
</TabItem>
|
|
51
|
+
</Tabs>
|
|
52
|
+
|
|
35
53
|
## Examples
|
|
36
54
|
|
|
37
55
|
Get the number of group activities across group workloads for the last week
|
|
@@ -35,6 +35,24 @@ This command supports only csv and json output.
|
|
|
35
35
|
|
|
36
36
|
:::
|
|
37
37
|
|
|
38
|
+
## Permissions
|
|
39
|
+
<Tabs>
|
|
40
|
+
<TabItem value="Delegated">
|
|
41
|
+
|
|
42
|
+
| Resource | Permissions |
|
|
43
|
+
|-----------------|------------------|
|
|
44
|
+
| Microsoft Graph | Reports.Read.All |
|
|
45
|
+
|
|
46
|
+
</TabItem>
|
|
47
|
+
<TabItem value="Application">
|
|
48
|
+
|
|
49
|
+
| Resource | Permissions |
|
|
50
|
+
|-----------------|------------------|
|
|
51
|
+
| Microsoft Graph | Reports.Read.All |
|
|
52
|
+
|
|
53
|
+
</TabItem>
|
|
54
|
+
</Tabs>
|
|
55
|
+
|
|
38
56
|
## Examples
|
|
39
57
|
|
|
40
58
|
Get details about Microsoft 365 Groups activity by group for the last week
|
|
@@ -32,6 +32,24 @@ This command supports only csv and json output.
|
|
|
32
32
|
|
|
33
33
|
:::
|
|
34
34
|
|
|
35
|
+
## Permissions
|
|
36
|
+
<Tabs>
|
|
37
|
+
<TabItem value="Delegated">
|
|
38
|
+
|
|
39
|
+
| Resource | Permissions |
|
|
40
|
+
|-----------------|------------------|
|
|
41
|
+
| Microsoft Graph | Reports.Read.All |
|
|
42
|
+
|
|
43
|
+
</TabItem>
|
|
44
|
+
<TabItem value="Application">
|
|
45
|
+
|
|
46
|
+
| Resource | Permissions |
|
|
47
|
+
|-----------------|------------------|
|
|
48
|
+
| Microsoft Graph | Reports.Read.All |
|
|
49
|
+
|
|
50
|
+
</TabItem>
|
|
51
|
+
</Tabs>
|
|
52
|
+
|
|
35
53
|
## Examples
|
|
36
54
|
|
|
37
55
|
Get the total number of files and how many of them were active across all group sites associated with an Microsoft 365 Group for the last week
|
|
@@ -32,6 +32,24 @@ This command supports only csv and json output.
|
|
|
32
32
|
|
|
33
33
|
:::
|
|
34
34
|
|
|
35
|
+
## Permissions
|
|
36
|
+
<Tabs>
|
|
37
|
+
<TabItem value="Delegated">
|
|
38
|
+
|
|
39
|
+
| Resource | Permissions |
|
|
40
|
+
|-----------------|------------------|
|
|
41
|
+
| Microsoft Graph | Reports.Read.All |
|
|
42
|
+
|
|
43
|
+
</TabItem>
|
|
44
|
+
<TabItem value="Application">
|
|
45
|
+
|
|
46
|
+
| Resource | Permissions |
|
|
47
|
+
|-----------------|------------------|
|
|
48
|
+
| Microsoft Graph | Reports.Read.All |
|
|
49
|
+
|
|
50
|
+
</TabItem>
|
|
51
|
+
</Tabs>
|
|
52
|
+
|
|
35
53
|
## Examples
|
|
36
54
|
|
|
37
55
|
Get the daily total number of groups and how many of them were active based on activities for the last week
|
|
@@ -32,6 +32,24 @@ This command supports only csv and json output.
|
|
|
32
32
|
|
|
33
33
|
:::
|
|
34
34
|
|
|
35
|
+
## Permissions
|
|
36
|
+
<Tabs>
|
|
37
|
+
<TabItem value="Delegated">
|
|
38
|
+
|
|
39
|
+
| Resource | Permissions |
|
|
40
|
+
|-----------------|------------------|
|
|
41
|
+
| Microsoft Graph | Reports.Read.All |
|
|
42
|
+
|
|
43
|
+
</TabItem>
|
|
44
|
+
<TabItem value="Application">
|
|
45
|
+
|
|
46
|
+
| Resource | Permissions |
|
|
47
|
+
|-----------------|------------------|
|
|
48
|
+
| Microsoft Graph | Reports.Read.All |
|
|
49
|
+
|
|
50
|
+
</TabItem>
|
|
51
|
+
</Tabs>
|
|
52
|
+
|
|
35
53
|
## Examples
|
|
36
54
|
|
|
37
55
|
Get the total storage used across all group mailboxes and group sites for the last week
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# entra m365group set
|
|
4
6
|
|
|
@@ -58,6 +60,25 @@ m365 entra m365group set [options]
|
|
|
58
60
|
|
|
59
61
|
<Global />
|
|
60
62
|
|
|
63
|
+
## Permissions
|
|
64
|
+
|
|
65
|
+
<Tabs>
|
|
66
|
+
<TabItem value="Delegated">
|
|
67
|
+
|
|
68
|
+
| Resource | Permissions |
|
|
69
|
+
|-----------------|---------------------|
|
|
70
|
+
| Microsoft Graph | Group.ReadWrite.All |
|
|
71
|
+
|
|
72
|
+
</TabItem>
|
|
73
|
+
<TabItem value="Application">
|
|
74
|
+
|
|
75
|
+
| Resource | Permissions |
|
|
76
|
+
|-----------------|---------------------|
|
|
77
|
+
| Microsoft Graph | Group.ReadWrite.All |
|
|
78
|
+
|
|
79
|
+
</TabItem>
|
|
80
|
+
</Tabs>
|
|
81
|
+
|
|
61
82
|
## Remarks
|
|
62
83
|
|
|
63
84
|
When updating group's owners and members, the command will remove existing owners/members from the group, and the specified users will be added.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# entra m365group teamify
|
|
4
6
|
|
|
@@ -25,6 +27,23 @@ m365 entra m365group teamify [options]
|
|
|
25
27
|
|
|
26
28
|
<Global />
|
|
27
29
|
|
|
30
|
+
<Tabs>
|
|
31
|
+
<TabItem value="Delegated">
|
|
32
|
+
|
|
33
|
+
| Resource | Permissions |
|
|
34
|
+
|-----------------|---------------------|
|
|
35
|
+
| Microsoft Graph | Group.ReadWrite.All |
|
|
36
|
+
|
|
37
|
+
</TabItem>
|
|
38
|
+
<TabItem value="Application">
|
|
39
|
+
|
|
40
|
+
| Resource | Permissions |
|
|
41
|
+
|-----------------|---------------------|
|
|
42
|
+
| Microsoft Graph | Group.ReadWrite.All |
|
|
43
|
+
|
|
44
|
+
</TabItem>
|
|
45
|
+
</Tabs>
|
|
46
|
+
|
|
28
47
|
## Examples
|
|
29
48
|
|
|
30
49
|
Creates a new Microsoft Teams team under existing Microsoft 365 group with the specified id.
|
|
@@ -32,6 +32,24 @@ To use this command you must be at least **Security Administrator**.
|
|
|
32
32
|
|
|
33
33
|
:::
|
|
34
34
|
|
|
35
|
+
## Permissions
|
|
36
|
+
<Tabs>
|
|
37
|
+
<TabItem value="Delegated">
|
|
38
|
+
|
|
39
|
+
| Resource | Permissions |
|
|
40
|
+
|-----------------|---------------------------------------|
|
|
41
|
+
| Microsoft Graph | MultiTenantOrganization.ReadWrite.All |
|
|
42
|
+
|
|
43
|
+
</TabItem>
|
|
44
|
+
<TabItem value="Application">
|
|
45
|
+
|
|
46
|
+
| Resource | Permissions |
|
|
47
|
+
|-----------------|---------------------------------------|
|
|
48
|
+
| Microsoft Graph | MultiTenantOrganization.ReadWrite.All |
|
|
49
|
+
|
|
50
|
+
</TabItem>
|
|
51
|
+
</Tabs>
|
|
52
|
+
|
|
35
53
|
## Examples
|
|
36
54
|
|
|
37
55
|
Create a new multitenant organization with display name only.
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
3
2
|
import Tabs from '@theme/Tabs';
|
|
4
3
|
import TabItem from '@theme/TabItem';
|
|
@@ -25,6 +24,24 @@ To use this command you must be at least **Security Administrator**.
|
|
|
25
24
|
|
|
26
25
|
:::
|
|
27
26
|
|
|
27
|
+
## Permissions
|
|
28
|
+
<Tabs>
|
|
29
|
+
<TabItem value="Delegated">
|
|
30
|
+
|
|
31
|
+
| Resource | Permissions |
|
|
32
|
+
|-----------------|---------------------------------------|
|
|
33
|
+
| Microsoft Graph | MultiTenantOrganization.ReadBasic.All |
|
|
34
|
+
|
|
35
|
+
</TabItem>
|
|
36
|
+
<TabItem value="Application">
|
|
37
|
+
|
|
38
|
+
| Resource | Permissions |
|
|
39
|
+
|-----------------|----------------------------------|
|
|
40
|
+
| Microsoft Graph | MultiTenantOrganization.Read.All |
|
|
41
|
+
|
|
42
|
+
</TabItem>
|
|
43
|
+
</Tabs>
|
|
44
|
+
|
|
28
45
|
## Examples
|
|
29
46
|
|
|
30
47
|
Gets properties of the multitenant organization
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# entra multitenant remove
|
|
4
6
|
|
|
@@ -35,6 +37,24 @@ The removing process can take up to 2 hours to complete.
|
|
|
35
37
|
|
|
36
38
|
:::
|
|
37
39
|
|
|
40
|
+
## Permissions
|
|
41
|
+
<Tabs>
|
|
42
|
+
<TabItem value="Delegated">
|
|
43
|
+
|
|
44
|
+
| Resource | Permissions |
|
|
45
|
+
|-----------------|---------------------------------------|
|
|
46
|
+
| Microsoft Graph | MultiTenantOrganization.ReadWrite.All |
|
|
47
|
+
|
|
48
|
+
</TabItem>
|
|
49
|
+
<TabItem value="Application">
|
|
50
|
+
|
|
51
|
+
| Resource | Permissions |
|
|
52
|
+
|-----------------|---------------------------------------|
|
|
53
|
+
| Microsoft Graph | MultiTenantOrganization.ReadWrite.All |
|
|
54
|
+
|
|
55
|
+
</TabItem>
|
|
56
|
+
</Tabs>
|
|
57
|
+
|
|
38
58
|
## Examples
|
|
39
59
|
|
|
40
60
|
Remove the multitenant organization.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# entra multitenant set
|
|
4
6
|
|
|
@@ -30,6 +32,24 @@ To use this command you must be at least **Security Administrator**.
|
|
|
30
32
|
|
|
31
33
|
:::
|
|
32
34
|
|
|
35
|
+
## Permissions
|
|
36
|
+
<Tabs>
|
|
37
|
+
<TabItem value="Delegated">
|
|
38
|
+
|
|
39
|
+
| Resource | Permissions |
|
|
40
|
+
|-----------------|---------------------------------------|
|
|
41
|
+
| Microsoft Graph | MultiTenantOrganization.ReadWrite.All |
|
|
42
|
+
|
|
43
|
+
</TabItem>
|
|
44
|
+
<TabItem value="Application">
|
|
45
|
+
|
|
46
|
+
| Resource | Permissions |
|
|
47
|
+
|-----------------|---------------------------------------|
|
|
48
|
+
| Microsoft Graph | MultiTenantOrganization.ReadWrite.All |
|
|
49
|
+
|
|
50
|
+
</TabItem>
|
|
51
|
+
</Tabs>
|
|
52
|
+
|
|
33
53
|
## Examples
|
|
34
54
|
|
|
35
55
|
Update display name of multitenant organization.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# entra oauth2grant add
|
|
4
6
|
|
|
@@ -35,6 +37,24 @@ When granting OAuth2 permissions, you have to specify which permission scopes yo
|
|
|
35
37
|
|
|
36
38
|
When granting OAuth2 permissions, the values of the `clientId` and `resourceId` properties form a unique key. If a grant for the same `clientId`-`resourceId` pair already exists, running the `entra oauth2grant add` command will fail with an error. If you want to change permissions on an existing OAuth2 grant use the [entra oauth2grant set](./oauth2grant-set.mdx) command instead.
|
|
37
39
|
|
|
40
|
+
## Permissions
|
|
41
|
+
<Tabs>
|
|
42
|
+
<TabItem value="Delegated">
|
|
43
|
+
|
|
44
|
+
| Resource | Permissions |
|
|
45
|
+
|-----------------|----------------------------------------|
|
|
46
|
+
| Microsoft Graph | DelegatedPermissionGrant.ReadWrite.All |
|
|
47
|
+
|
|
48
|
+
</TabItem>
|
|
49
|
+
<TabItem value="Application">
|
|
50
|
+
|
|
51
|
+
| Resource | Permissions |
|
|
52
|
+
|-----------------|----------------------------------------|
|
|
53
|
+
| Microsoft Graph | DelegatedPermissionGrant.ReadWrite.All |
|
|
54
|
+
|
|
55
|
+
</TabItem>
|
|
56
|
+
</Tabs>
|
|
57
|
+
|
|
38
58
|
## Examples
|
|
39
59
|
|
|
40
60
|
Grant the service principal _d03a0062-1aa6-43e1-8f49-d73e969c5812_ the _Calendars.Read_ OAuth2 permissions to the _c2af2474-2c95-423a-b0e5-e4895f22f9e9_ resource.
|
|
@@ -27,6 +27,23 @@ In order to list existing OAuth2 permissions granted to a service principal, you
|
|
|
27
27
|
|
|
28
28
|
When using the text output type (default), the command lists only the values of the `objectId`, `resourceId` and `scope` properties of the OAuth grant. When setting the output type to JSON, all available properties are included in the command output.
|
|
29
29
|
|
|
30
|
+
## Permissions
|
|
31
|
+
<Tabs>
|
|
32
|
+
<TabItem value="Delegated">
|
|
33
|
+
|
|
34
|
+
| Resource | Permissions |
|
|
35
|
+
|-----------------|--------------------|
|
|
36
|
+
| Microsoft Graph | Directory.Read.All |
|
|
37
|
+
|
|
38
|
+
</TabItem>
|
|
39
|
+
<TabItem value="Application">
|
|
40
|
+
|
|
41
|
+
| Resource | Permissions |
|
|
42
|
+
|-----------------|--------------------|
|
|
43
|
+
| Microsoft Graph | Directory.Read.All |
|
|
44
|
+
</TabItem>
|
|
45
|
+
</Tabs>
|
|
46
|
+
|
|
30
47
|
## Examples
|
|
31
48
|
|
|
32
49
|
List OAuth2 permissions granted to service principal with `objectId` _b2307a39-e878-458b-bc90-03bc578531d6_.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# entra oauth2grant remove
|
|
4
6
|
|
|
@@ -32,6 +34,24 @@ If the `objectId` listed when using the [entra oauth2grant list](./oauth2grant-l
|
|
|
32
34
|
m365 entra oauth2grant remove --grantId \\-Zc1JRY8REeLxmXz5KtixAYU3Q6noCBPlhwGiX7pxmU
|
|
33
35
|
```
|
|
34
36
|
|
|
37
|
+
## Permissions
|
|
38
|
+
<Tabs>
|
|
39
|
+
<TabItem value="Delegated">
|
|
40
|
+
|
|
41
|
+
| Resource | Permissions |
|
|
42
|
+
|-----------------|----------------------------------------|
|
|
43
|
+
| Microsoft Graph | DelegatedPermissionGrant.ReadWrite.All |
|
|
44
|
+
|
|
45
|
+
</TabItem>
|
|
46
|
+
<TabItem value="Application">
|
|
47
|
+
|
|
48
|
+
| Resource | Permissions |
|
|
49
|
+
|-----------------|----------------------------------------|
|
|
50
|
+
| Microsoft Graph | DelegatedPermissionGrant.ReadWrite.All |
|
|
51
|
+
|
|
52
|
+
</TabItem>
|
|
53
|
+
</Tabs>
|
|
54
|
+
|
|
35
55
|
## Examples
|
|
36
56
|
|
|
37
57
|
Remove the OAuth2 permission grant with the specified ID.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# entra oauth2grant set
|
|
4
6
|
|
|
@@ -32,6 +34,24 @@ If the `objectId` listed when using the [entra oauth2grant list](./oauth2grant-l
|
|
|
32
34
|
m365 entra oauth2grant set --grantId \\-Zc1JRY8REeLxmXz5KtixAYU3Q6noCBPlhwGiX7pxmU
|
|
33
35
|
```
|
|
34
36
|
|
|
37
|
+
## Permissions
|
|
38
|
+
<Tabs>
|
|
39
|
+
<TabItem value="Delegated">
|
|
40
|
+
|
|
41
|
+
| Resource | Permissions |
|
|
42
|
+
|-----------------|----------------------------------------|
|
|
43
|
+
| Microsoft Graph | DelegatedPermissionGrant.ReadWrite.All |
|
|
44
|
+
|
|
45
|
+
</TabItem>
|
|
46
|
+
<TabItem value="Application">
|
|
47
|
+
|
|
48
|
+
| Resource | Permissions |
|
|
49
|
+
|-----------------|----------------------------------------|
|
|
50
|
+
| Microsoft Graph | DelegatedPermissionGrant.ReadWrite.All |
|
|
51
|
+
|
|
52
|
+
</TabItem>
|
|
53
|
+
</Tabs>
|
|
54
|
+
|
|
35
55
|
## Examples
|
|
36
56
|
|
|
37
57
|
Update the existing OAuth2 permission grant with ID _YgA60KYa4UOPSdc-lpxYEnQkr8KVLDpCsOXkiV8i-ek_ to the _Calendars.Read Mail.Read_ permissions.
|
|
@@ -21,7 +21,24 @@ m365 entra organization list [options]
|
|
|
21
21
|
|
|
22
22
|
<Global />
|
|
23
23
|
|
|
24
|
-
##
|
|
24
|
+
## Permissions
|
|
25
|
+
|
|
26
|
+
<Tabs>
|
|
27
|
+
<TabItem value="Delegated">
|
|
28
|
+
|
|
29
|
+
| Resource | Permissions |
|
|
30
|
+
|-----------------|----------------------------------|
|
|
31
|
+
| Microsoft Graph | User.Read, Organization.Read.All |
|
|
32
|
+
|
|
33
|
+
</TabItem>
|
|
34
|
+
<TabItem value="Application">
|
|
35
|
+
|
|
36
|
+
| Resource | Permissions |
|
|
37
|
+
|-----------------|----------------------------|
|
|
38
|
+
| Microsoft Graph | Organization.Read.All |
|
|
39
|
+
|
|
40
|
+
</TabItem>
|
|
41
|
+
</Tabs>
|
|
25
42
|
|
|
26
43
|
:::info
|
|
27
44
|
|
|
@@ -151,4 +168,4 @@ m365 entra organization list --properties 'id,displayName,tenantType'
|
|
|
151
168
|
|
|
152
169
|
## More information
|
|
153
170
|
|
|
154
|
-
- Organization: https://learn.microsoft.com/graph/api/organization-list
|
|
171
|
+
- Organization: https://learn.microsoft.com/graph/api/organization-list
|
|
@@ -71,6 +71,24 @@ When activating a role for other users, you must be **Privileged Role Administra
|
|
|
71
71
|
|
|
72
72
|
:::
|
|
73
73
|
|
|
74
|
+
## Permissions
|
|
75
|
+
<Tabs>
|
|
76
|
+
<TabItem value="Delegated">
|
|
77
|
+
|
|
78
|
+
| Resource | Permissions |
|
|
79
|
+
|-----------------|--------------------------------------------|
|
|
80
|
+
| Microsoft Graph | RoleAssignmentSchedule.ReadWrite.Directory |
|
|
81
|
+
|
|
82
|
+
</TabItem>
|
|
83
|
+
<TabItem value="Application">
|
|
84
|
+
|
|
85
|
+
| Resource | Permissions |
|
|
86
|
+
|-----------------|--------------------------------------------|
|
|
87
|
+
| Microsoft Graph | RoleAssignmentSchedule.ReadWrite.Directory |
|
|
88
|
+
|
|
89
|
+
</TabItem>
|
|
90
|
+
</Tabs>
|
|
91
|
+
|
|
74
92
|
## Examples
|
|
75
93
|
|
|
76
94
|
Request activation of the SharePoint Administrator Entra role assignment for the current user.
|
|
@@ -33,6 +33,24 @@ m365 entra pim role assignment eligibility list [options]
|
|
|
33
33
|
|
|
34
34
|
<Global />
|
|
35
35
|
|
|
36
|
+
## Permissions
|
|
37
|
+
<Tabs>
|
|
38
|
+
<TabItem value="Delegated">
|
|
39
|
+
|
|
40
|
+
| Resource | Permissions |
|
|
41
|
+
|-----------------|----------------------------------------|
|
|
42
|
+
| Microsoft Graph | RoleEligibilitySchedule.Read.Directory |
|
|
43
|
+
|
|
44
|
+
</TabItem>
|
|
45
|
+
<TabItem value="Application">
|
|
46
|
+
|
|
47
|
+
| Resource | Permissions |
|
|
48
|
+
|-----------------|----------------------------------------|
|
|
49
|
+
| Microsoft Graph | RoleEligibilitySchedule.Read.Directory |
|
|
50
|
+
|
|
51
|
+
</TabItem>
|
|
52
|
+
</Tabs>
|
|
53
|
+
|
|
36
54
|
## Examples
|
|
37
55
|
|
|
38
56
|
Get a list of eligible roles for any user.
|
|
@@ -36,6 +36,24 @@ m365 entra pim role assignment list [options]
|
|
|
36
36
|
|
|
37
37
|
<Global />
|
|
38
38
|
|
|
39
|
+
## Permissions
|
|
40
|
+
<Tabs>
|
|
41
|
+
<TabItem value="Delegated">
|
|
42
|
+
|
|
43
|
+
| Resource | Permissions |
|
|
44
|
+
|-----------------|---------------------------------------|
|
|
45
|
+
| Microsoft Graph | RoleAssignmentSchedule.Read.Directory |
|
|
46
|
+
|
|
47
|
+
</TabItem>
|
|
48
|
+
<TabItem value="Application">
|
|
49
|
+
|
|
50
|
+
| Resource | Permissions |
|
|
51
|
+
|-----------------|---------------------------------------|
|
|
52
|
+
| Microsoft Graph | RoleAssignmentSchedule.Read.Directory |
|
|
53
|
+
|
|
54
|
+
</TabItem>
|
|
55
|
+
</Tabs>
|
|
56
|
+
|
|
39
57
|
## Examples
|
|
40
58
|
|
|
41
59
|
Get a list of Entra role assignments.
|
|
@@ -59,6 +59,24 @@ When deactivating a role for other users, you must be **Privileged Role Administ
|
|
|
59
59
|
|
|
60
60
|
:::
|
|
61
61
|
|
|
62
|
+
## Permissions
|
|
63
|
+
<Tabs>
|
|
64
|
+
<TabItem value="Delegated">
|
|
65
|
+
|
|
66
|
+
| Resource | Permissions |
|
|
67
|
+
|-----------------|--------------------------------------------|
|
|
68
|
+
| Microsoft Graph | RoleAssignmentSchedule.ReadWrite.Directory |
|
|
69
|
+
|
|
70
|
+
</TabItem>
|
|
71
|
+
<TabItem value="Application">
|
|
72
|
+
|
|
73
|
+
| Resource | Permissions |
|
|
74
|
+
|-----------------|--------------------------------------------|
|
|
75
|
+
| Microsoft Graph | RoleAssignmentSchedule.ReadWrite.Directory |
|
|
76
|
+
|
|
77
|
+
</TabItem>
|
|
78
|
+
</Tabs>
|
|
79
|
+
|
|
62
80
|
## Examples
|
|
63
81
|
|
|
64
82
|
Request deactivation of the SharePoint Administrator Entra role assignment for the current user.
|