@pnp/cli-microsoft365 11.1.0-beta.317d8bb → 11.1.0-beta.53bc672
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 +23 -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/setup.js +6 -3
- package/dist/m365/commands/status.js +5 -1
- 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/m365group/m365group-add.js +0 -1
- package/dist/m365/file/commands/convert/convert-pdf.js +1 -6
- package/dist/m365/flow/commands/environment/environment-list.js +5 -0
- 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/environment/environment-list.js +10 -23
- package/dist/m365/pp/commands/solution/solution-publisher-get.js +1 -1
- 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/site/site-alert-list.js +107 -0
- package/dist/m365/spo/commands/theme/theme-apply.js +1 -1
- package/dist/m365/spo/commands/web/web-reindex.js +17 -27
- package/dist/m365/spo/commands.js +1 -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/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-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/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/site/site-alert-list.mdx +187 -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 +25 -23
- package/.eslintrc.cjs +0 -289
|
@@ -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.
|
|
@@ -39,6 +39,24 @@ m365 entra pim role request list [options]
|
|
|
39
39
|
|
|
40
40
|
<Global />
|
|
41
41
|
|
|
42
|
+
## Permissions
|
|
43
|
+
<Tabs>
|
|
44
|
+
<TabItem value="Delegated">
|
|
45
|
+
|
|
46
|
+
| Resource | Permissions |
|
|
47
|
+
|-----------------|--------------------------------------------|
|
|
48
|
+
| Microsoft Graph | RoleAssignmentSchedule.ReadWrite.Directory |
|
|
49
|
+
|
|
50
|
+
</TabItem>
|
|
51
|
+
<TabItem value="Application">
|
|
52
|
+
|
|
53
|
+
| Resource | Permissions |
|
|
54
|
+
|-----------------|--------------------------------------------|
|
|
55
|
+
| Microsoft Graph | RoleAssignmentSchedule.ReadWrite.Directory |
|
|
56
|
+
|
|
57
|
+
</TabItem>
|
|
58
|
+
</Tabs>
|
|
59
|
+
|
|
42
60
|
## Examples
|
|
43
61
|
|
|
44
62
|
Get a list of PIM requests for roles.
|
|
@@ -39,6 +39,24 @@ m365 graph directoryextension add [options]
|
|
|
39
39
|
|
|
40
40
|
<Global />
|
|
41
41
|
|
|
42
|
+
## Permissions
|
|
43
|
+
<Tabs>
|
|
44
|
+
<TabItem value="Delegated">
|
|
45
|
+
|
|
46
|
+
| Resource | Permissions |
|
|
47
|
+
|-----------------|---------------------------|
|
|
48
|
+
| Microsoft Graph | Application.ReadWrite.All |
|
|
49
|
+
|
|
50
|
+
</TabItem>
|
|
51
|
+
<TabItem value="Application">
|
|
52
|
+
|
|
53
|
+
| Resource | Permissions |
|
|
54
|
+
|-----------------|-------------------------------|
|
|
55
|
+
| Microsoft Graph | Application.ReadWrite.OwnedBy |
|
|
56
|
+
|
|
57
|
+
</TabItem>
|
|
58
|
+
</Tabs>
|
|
59
|
+
|
|
42
60
|
## Examples
|
|
43
61
|
|
|
44
62
|
Create a new directory extension of string type defined for user resource.
|
|
@@ -33,6 +33,24 @@ m365 graph directoryextension get [options]
|
|
|
33
33
|
|
|
34
34
|
<Global />
|
|
35
35
|
|
|
36
|
+
## Permissions
|
|
37
|
+
<Tabs>
|
|
38
|
+
<TabItem value="Delegated">
|
|
39
|
+
|
|
40
|
+
| Resource | Permissions |
|
|
41
|
+
|-----------------|----------------------|
|
|
42
|
+
| Microsoft Graph | Application.Read.All |
|
|
43
|
+
|
|
44
|
+
</TabItem>
|
|
45
|
+
<TabItem value="Application">
|
|
46
|
+
|
|
47
|
+
| Resource | Permissions |
|
|
48
|
+
|-----------------|----------------------|
|
|
49
|
+
| Microsoft Graph | Application.Read.All |
|
|
50
|
+
|
|
51
|
+
</TabItem>
|
|
52
|
+
</Tabs>
|
|
53
|
+
|
|
36
54
|
## Examples
|
|
37
55
|
|
|
38
56
|
Get directory extension by id registered for an application specified by app id.
|
|
@@ -37,6 +37,24 @@ Otherwise, it will return directory extensions for a specific application.
|
|
|
37
37
|
|
|
38
38
|
https://learn.microsoft.com/en-us/graph/api/application-list-extensionproperty?view=graph-rest-1.0&tabs=http
|
|
39
39
|
|
|
40
|
+
## Permissions
|
|
41
|
+
<Tabs>
|
|
42
|
+
<TabItem value="Delegated">
|
|
43
|
+
|
|
44
|
+
| Resource | Permissions |
|
|
45
|
+
|-----------------|----------------------|
|
|
46
|
+
| Microsoft Graph | Application.Read.All |
|
|
47
|
+
|
|
48
|
+
</TabItem>
|
|
49
|
+
<TabItem value="Application">
|
|
50
|
+
|
|
51
|
+
| Resource | Permissions |
|
|
52
|
+
|-----------------|----------------------|
|
|
53
|
+
| Microsoft Graph | Application.Read.All |
|
|
54
|
+
|
|
55
|
+
</TabItem>
|
|
56
|
+
</Tabs>
|
|
57
|
+
|
|
40
58
|
## Examples
|
|
41
59
|
|
|
42
60
|
Get all available directory extensions including those registered for multi-tenant apps
|
|
@@ -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
|
# graph directoryextension remove
|
|
4
6
|
|
|
@@ -34,6 +36,24 @@ m365 graph directoryextension remove [options]
|
|
|
34
36
|
|
|
35
37
|
<Global />
|
|
36
38
|
|
|
39
|
+
## Permissions
|
|
40
|
+
<Tabs>
|
|
41
|
+
<TabItem value="Delegated">
|
|
42
|
+
|
|
43
|
+
| Resource | Permissions |
|
|
44
|
+
|-----------------|---------------------------|
|
|
45
|
+
| Microsoft Graph | Application.ReadWrite.All |
|
|
46
|
+
|
|
47
|
+
</TabItem>
|
|
48
|
+
<TabItem value="Application">
|
|
49
|
+
|
|
50
|
+
| Resource | Permissions |
|
|
51
|
+
|-----------------|-------------------------------|
|
|
52
|
+
| Microsoft Graph | Application.ReadWrite.OwnedBy |
|
|
53
|
+
|
|
54
|
+
</TabItem>
|
|
55
|
+
</Tabs>
|
|
56
|
+
|
|
37
57
|
## Examples
|
|
38
58
|
|
|
39
59
|
Remove a directory extension specified by name from an application specified by app object id and don't prompt for confirmation
|
|
@@ -55,6 +55,24 @@ When using the `--properties` option it's possible to enter a JSON string. In Po
|
|
|
55
55
|
|
|
56
56
|
:::
|
|
57
57
|
|
|
58
|
+
## Permissions
|
|
59
|
+
<Tabs>
|
|
60
|
+
<TabItem value="Delegated">
|
|
61
|
+
|
|
62
|
+
| Resource | Permissions |
|
|
63
|
+
|-----------------|---------------------------|
|
|
64
|
+
| Microsoft Graph | Application.ReadWrite.All |
|
|
65
|
+
|
|
66
|
+
</TabItem>
|
|
67
|
+
<TabItem value="Application">
|
|
68
|
+
|
|
69
|
+
| Resource | Permissions |
|
|
70
|
+
|-----------------|----------------------------------------------------|
|
|
71
|
+
| Microsoft Graph | Application.ReadWrite.All, Directory.ReadWrite.All |
|
|
72
|
+
|
|
73
|
+
</TabItem>
|
|
74
|
+
</Tabs>
|
|
75
|
+
|
|
58
76
|
## Examples
|
|
59
77
|
|
|
60
78
|
Create a schema extension
|
|
@@ -136,4 +154,3 @@ m365 graph schemaextension add --id contoso_MySchemaExtension --description "My
|
|
|
136
154
|
|
|
137
155
|
</TabItem>
|
|
138
156
|
</Tabs>
|
|
139
|
-
|
|
@@ -26,6 +26,24 @@ m365 graph schemaextension get [options]
|
|
|
26
26
|
To get properties of a schema extension definition, you have to pass the ID of the schema
|
|
27
27
|
extension.
|
|
28
28
|
|
|
29
|
+
## Permissions
|
|
30
|
+
<Tabs>
|
|
31
|
+
<TabItem value="Delegated">
|
|
32
|
+
|
|
33
|
+
| Resource | Permissions |
|
|
34
|
+
|-----------------|-------------|
|
|
35
|
+
| Microsoft Graph | User.Read |
|
|
36
|
+
|
|
37
|
+
</TabItem>
|
|
38
|
+
<TabItem value="Application">
|
|
39
|
+
|
|
40
|
+
| Resource | Permissions |
|
|
41
|
+
|-----------------|----------------------|
|
|
42
|
+
| Microsoft Graph | Application.Read.All |
|
|
43
|
+
|
|
44
|
+
</TabItem>
|
|
45
|
+
</Tabs>
|
|
46
|
+
|
|
29
47
|
## Examples
|
|
30
48
|
|
|
31
49
|
Gets properties of a schema extension definition with ID domain_myExtension
|
|
@@ -101,4 +119,3 @@ m365 graph schemaextension get --id domain_myExtension
|
|
|
101
119
|
|
|
102
120
|
</TabItem>
|
|
103
121
|
</Tabs>
|
|
104
|
-
|
|
@@ -34,6 +34,24 @@ m365 graph schemaextension list [options]
|
|
|
34
34
|
|
|
35
35
|
pageNumber is specified as a 0-based index. A value of 2 returns the third page of items.
|
|
36
36
|
|
|
37
|
+
## Permissions
|
|
38
|
+
<Tabs>
|
|
39
|
+
<TabItem value="Delegated">
|
|
40
|
+
|
|
41
|
+
| Resource | Permissions |
|
|
42
|
+
|-----------------|-------------|
|
|
43
|
+
| Microsoft Graph | User.Read |
|
|
44
|
+
|
|
45
|
+
</TabItem>
|
|
46
|
+
<TabItem value="Application">
|
|
47
|
+
|
|
48
|
+
| Resource | Permissions |
|
|
49
|
+
|-----------------|----------------------|
|
|
50
|
+
| Microsoft Graph | Application.Read.All |
|
|
51
|
+
|
|
52
|
+
</TabItem>
|
|
53
|
+
</Tabs>
|
|
54
|
+
|
|
37
55
|
## Examples
|
|
38
56
|
|
|
39
57
|
Get a list of schemaExtension objects created in the current tenant, that can be InDevelopment, Available, or Deprecated.
|
|
@@ -123,4 +141,4 @@ m365 graph schemaextension list --owner 617720dc-85fc-45d7-a187-cee75eaf239e --p
|
|
|
123
141
|
|
|
124
142
|
## More information
|
|
125
143
|
|
|
126
|
-
[https://
|
|
144
|
+
[https://learn.microsoft.com/graph/api/schemaextension-list](https://learn.microsoft.com/graph/api/schemaextension-list)
|
|
@@ -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
|
# graph schemaextension remove
|
|
4
6
|
|
|
@@ -27,6 +29,24 @@ m365 graph schemaextension remove [options]
|
|
|
27
29
|
To remove specified schema extension definition, you have to pass the ID of the schema
|
|
28
30
|
extension.
|
|
29
31
|
|
|
32
|
+
## Permissions
|
|
33
|
+
<Tabs>
|
|
34
|
+
<TabItem value="Delegated">
|
|
35
|
+
|
|
36
|
+
| Resource | Permissions |
|
|
37
|
+
|-----------------|---------------------------|
|
|
38
|
+
| Microsoft Graph | Application.ReadWrite.All |
|
|
39
|
+
|
|
40
|
+
</TabItem>
|
|
41
|
+
<TabItem value="Application">
|
|
42
|
+
|
|
43
|
+
| Resource | Permissions |
|
|
44
|
+
|-----------------|----------------------------------------------------|
|
|
45
|
+
| Microsoft Graph | Application.ReadWrite.All, Directory.ReadWrite.All |
|
|
46
|
+
|
|
47
|
+
</TabItem>
|
|
48
|
+
</Tabs>
|
|
49
|
+
|
|
30
50
|
## Examples
|
|
31
51
|
|
|
32
52
|
Removes specified Microsoft Graph schema extension with ID domain_myExtension. Will prompt for confirmation
|