@pnp/cli-microsoft365 6.9.0-beta.f6054b4 → 6.10.0-beta.6bf4ff9
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/.devcontainer/Dockerfile +12 -19
- package/.devcontainer/devcontainer.json +24 -17
- package/Dockerfile +3 -1
- package/README.md +7 -5
- package/dist/Auth.js +2 -8
- package/dist/AuthServer.js +2 -4
- package/dist/cli/Cli.js +2 -2
- package/dist/m365/aad/commands/app/app-add.js +258 -249
- package/dist/m365/aad/commands/app/app-get.js +65 -62
- package/dist/m365/aad/commands/app/app-remove.js +22 -23
- package/dist/m365/aad/commands/app/app-role-add.js +35 -34
- package/dist/m365/aad/commands/app/app-role-list.js +22 -23
- package/dist/m365/aad/commands/app/app-role-remove.js +76 -73
- package/dist/m365/aad/commands/app/app-set.js +103 -103
- package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +16 -14
- package/dist/m365/aad/commands/approleassignment/approleassignment-list.js +43 -52
- package/dist/m365/aad/commands/approleassignment/approleassignment-remove.js +20 -16
- package/dist/m365/aad/commands/o365group/o365group-add.js +40 -37
- package/dist/m365/aad/commands/o365group/o365group-conversation-post-list.js +7 -6
- package/dist/m365/aad/commands/o365group/o365group-list.js +6 -11
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-clear.js +7 -8
- package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-restore.js +23 -24
- package/dist/m365/aad/commands/o365group/o365group-set.js +15 -20
- package/dist/m365/aad/commands/o365group/o365group-teamify.js +15 -16
- package/dist/m365/aad/commands/o365group/o365group-user-list.js +17 -10
- package/dist/m365/aad/commands/o365group/o365group-user-set.js +17 -10
- package/dist/m365/aad/commands/policy/policy-list.js +12 -13
- package/dist/m365/aad/commands/siteclassification/siteclassification-enable.js +1 -3
- package/dist/m365/aad/commands/siteclassification/siteclassification-set.js +19 -20
- package/dist/m365/aad/commands/sp/sp-add.js +22 -23
- package/dist/m365/aad/commands/sp/sp-get.js +22 -23
- package/dist/m365/aad/commands/sp/sp-list.js +78 -0
- package/dist/m365/aad/commands.js +1 -0
- package/dist/m365/app/commands/app-open.js +4 -14
- package/dist/m365/base/AzmgmtItemsListCommand.js +31 -33
- package/dist/m365/cli/commands/cli-issue.js +4 -10
- package/dist/m365/cli/commands/cli-reconsent.js +2 -8
- package/dist/m365/cli/commands/config/config-set.js +0 -1
- package/dist/m365/commands/docs.js +2 -8
- package/dist/m365/commands/login.js +20 -0
- package/dist/m365/file/commands/convert/convert-pdf.js +147 -143
- package/dist/m365/file/commands/file-add.js +87 -93
- package/dist/m365/file/commands/file-list.js +49 -55
- package/dist/m365/flow/commands/flow-list.js +30 -12
- package/dist/m365/flow/commands/flow-remove.js +2 -3
- package/dist/m365/flow/commands/run/run-resubmit.js +11 -10
- package/dist/m365/onedrive/commands/onedrive-list.js +21 -32
- package/dist/m365/outlook/commands/message/message-list.js +18 -23
- package/dist/m365/outlook/commands/message/message-move.js +15 -20
- package/dist/m365/pa/commands/app/app-export.js +3 -4
- package/dist/m365/pa/commands/app/app-get.js +11 -9
- package/dist/m365/pa/commands/app/app-remove.js +1 -1
- package/dist/m365/pa/commands/pcf/pcf-init.js +1 -2
- package/dist/m365/pa/commands/solution/solution-init.js +1 -2
- package/dist/m365/pa/commands/solution/solution-reference-add.js +1 -2
- package/dist/m365/planner/commands/bucket/bucket-add.js +15 -13
- package/dist/m365/planner/commands/bucket/bucket-get.js +27 -28
- package/dist/m365/planner/commands/bucket/bucket-list.js +15 -13
- package/dist/m365/planner/commands/bucket/bucket-remove.js +33 -34
- package/dist/m365/planner/commands/bucket/bucket-set.js +33 -34
- package/dist/m365/planner/commands/plan/plan-add.js +49 -52
- package/dist/m365/planner/commands/plan/plan-set.js +19 -20
- package/dist/m365/planner/commands/task/task-add.js +75 -78
- package/dist/m365/planner/commands/task/task-checklistitem-add.js +11 -10
- package/dist/m365/planner/commands/task/task-checklistitem-remove.js +10 -8
- package/dist/m365/planner/commands/task/task-get.js +53 -56
- package/dist/m365/planner/commands/task/task-list.js +23 -24
- package/dist/m365/planner/commands/task/task-reference-add.js +11 -10
- package/dist/m365/planner/commands/task/task-reference-remove.js +13 -14
- package/dist/m365/planner/commands/task/task-remove.js +44 -48
- package/dist/m365/planner/commands/task/task-set.js +83 -87
- package/dist/m365/pp/commands/managementapp/managementapp-add.js +19 -20
- package/dist/m365/purview/commands/retentionevent/retentionevent-add.js +3 -8
- package/dist/m365/purview/commands/retentionevent/retentionevent-get.js +1 -6
- package/dist/m365/purview/commands/retentionevent/retentionevent-list.js +1 -6
- package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +1 -6
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-add.js +1 -6
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-get.js +1 -6
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-list.js +1 -6
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +1 -6
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-set.js +1 -6
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +0 -5
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-get.js +0 -5
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-list.js +0 -5
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +19 -22
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-set.js +0 -5
- package/dist/m365/spfx/commands/project/JsonRule.js +1 -1
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.3.js +25 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.4.js +25 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.18.0-beta.1.js +23 -0
- package/dist/m365/spfx/commands/project/project-doctor.js +4 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001022_DEP_office_ui_fabric_react.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002027_DEVDEP_fluentui_react.js +14 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021003_PKG_engines_node.js +1 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.3.js +59 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.4.js +55 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.18.0-beta.1.js +61 -0
- package/dist/m365/spfx/commands/project/project-upgrade.js +18 -13
- package/dist/m365/spfx/commands/spfx-doctor.js +45 -0
- package/dist/m365/spo/commands/app/app-teamspackage-download.js +17 -24
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-set.js +154 -0
- package/dist/m365/spo/commands/apppage/apppage-set.js +1 -1
- package/dist/m365/spo/commands/commandset/commandset-set.js +11 -2
- package/dist/m365/spo/commands/contenttype/contenttype-field-set.js +65 -94
- package/dist/m365/spo/commands/customaction/customaction-clear.js +4 -12
- package/dist/m365/spo/commands/customaction/customaction-remove.js +12 -23
- package/dist/m365/spo/commands/customaction/customaction-set.js +21 -29
- package/dist/m365/spo/commands/file/file-add.js +133 -133
- package/dist/m365/spo/commands/file/file-checkout-undo.js +119 -0
- package/dist/m365/spo/commands/file/file-rename.js +11 -9
- package/dist/m365/spo/commands/file/file-retentionlabel-ensure.js +2 -2
- package/dist/m365/spo/commands/file/file-roleassignment-add.js +41 -61
- package/dist/m365/spo/commands/file/file-roleassignment-remove.js +3 -0
- package/dist/m365/spo/commands/file/file-roleinheritance-break.js +3 -0
- package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +3 -0
- package/dist/m365/spo/commands/file/file-sharinginfo-get.js +23 -21
- package/dist/m365/spo/commands/file/file-version-clear.js +1 -1
- package/dist/m365/spo/commands/file/file-version-remove.js +1 -1
- package/dist/m365/spo/commands/file/file-version-restore.js +1 -1
- package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +3 -3
- package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +1 -1
- package/dist/m365/spo/commands/group/group-member-add.js +17 -16
- package/dist/m365/spo/commands/group/group-set.js +20 -20
- package/dist/m365/spo/commands/homesite/homesite-remove.js +1 -1
- package/dist/m365/spo/commands/hubsite/hubsite-get.js +33 -31
- package/dist/m365/spo/commands/hubsite/hubsite-list.js +18 -29
- package/dist/m365/spo/commands/hubsite/hubsite-unregister.js +3 -0
- package/dist/m365/spo/commands/list/list-add.js +1 -1
- package/dist/m365/spo/commands/list/list-contenttype-default-set.js +1 -1
- package/dist/m365/spo/commands/list/list-roleassignment-add.js +45 -52
- package/dist/m365/spo/commands/list/list-roleassignment-remove.js +33 -38
- package/dist/m365/spo/commands/list/list-sensitivitylabel-ensure.js +137 -0
- package/dist/m365/spo/commands/list/list-view-field-add.js +12 -10
- package/dist/m365/spo/commands/list/list-view-field-remove.js +12 -10
- package/dist/m365/spo/commands/list/list-view-field-set.js +12 -10
- package/dist/m365/spo/commands/list/list-view-remove.js +3 -0
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +41 -61
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +71 -74
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +36 -34
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +32 -30
- package/dist/m365/spo/commands/navigation/navigation-node-remove.js +24 -22
- package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-remove.js +29 -27
- package/dist/m365/spo/commands/orgnewssite/orgnewssite-remove.js +26 -24
- package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +34 -40
- package/dist/m365/spo/commands/sitedesign/sitedesign-task-remove.js +23 -21
- package/dist/m365/spo/commands/sitescript/sitescript-remove.js +24 -22
- package/dist/m365/spo/commands/spo-search.js +7 -15
- package/dist/m365/spo/commands/storageentity/storageentity-remove.js +29 -27
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-set.js +156 -0
- package/dist/m365/spo/commands/tenant/tenant-commandset-list.js +50 -0
- package/dist/m365/spo/commands/tenant/tenant-commandset-set.js +1 -1
- package/dist/m365/spo/commands.js +5 -0
- package/dist/m365/teams/commands/app/app-install.js +23 -21
- package/dist/m365/teams/commands/app/app-remove.js +3 -0
- package/dist/m365/teams/commands/app/app-uninstall.js +3 -0
- package/dist/m365/teams/commands/app/app-update.js +15 -16
- package/dist/m365/teams/commands/channel/channel-add.js +40 -39
- package/dist/m365/teams/commands/channel/channel-get.js +23 -25
- package/dist/m365/teams/commands/channel/channel-list.js +6 -7
- package/dist/m365/teams/commands/channel/channel-member-add.js +61 -60
- package/dist/m365/teams/commands/channel/channel-member-list.js +20 -22
- package/dist/m365/teams/commands/channel/channel-member-remove.js +43 -48
- package/dist/m365/teams/commands/channel/channel-member-set.js +36 -39
- package/dist/m365/teams/commands/channel/channel-remove.js +4 -1
- package/dist/m365/teams/commands/funsettings/funsettings-list.js +3 -0
- package/dist/m365/teams/commands/funsettings/funsettings-set.js +3 -0
- package/dist/m365/teams/commands/tab/tab-get.js +34 -37
- package/dist/m365/teams/commands/team/team-archive.js +6 -7
- package/dist/m365/teams/commands/team/team-get.js +6 -7
- package/dist/m365/teams/commands/team/team-list.js +9 -11
- package/dist/m365/teams/commands/team/team-remove.js +6 -7
- package/dist/m365/teams/commands/team/team-unarchive.js +6 -7
- package/dist/m365/teams/commands/user/user-app-list.js +13 -11
- package/dist/m365/teams/commands/user/user-list.js +7 -4
- package/dist/m365/tenant/commands/security/security-alerts-list.js +25 -26
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-list.js +13 -14
- package/dist/m365/todo/commands/list/list-remove.js +39 -36
- package/dist/m365/todo/commands/list/list-set.js +16 -14
- package/dist/m365/todo/commands/task/task-add.js +14 -14
- package/dist/m365/util/commands/accesstoken/accesstoken-get.js +10 -7
- package/dist/settingsNames.js +0 -1
- package/dist/utils/browserUtil.js +23 -0
- package/dist/utils/md.js +1 -3
- package/docs/docs/_clisettings.mdx +17 -0
- package/docs/docs/cmd/aad/app/app-add.mdx +113 -0
- package/docs/docs/cmd/aad/app/app-get.mdx +217 -0
- package/docs/docs/cmd/aad/app/app-list.mdx +21 -0
- package/docs/docs/cmd/aad/app/app-role-add.mdx +4 -0
- package/docs/docs/cmd/aad/app/app-role-list.mdx +63 -0
- package/docs/docs/cmd/aad/app/app-role-remove.mdx +4 -0
- package/docs/docs/cmd/aad/app/app-set.mdx +4 -0
- package/docs/docs/cmd/aad/approleassignment/approleassignment-add.mdx +61 -0
- package/docs/docs/cmd/aad/approleassignment/approleassignment-list.mdx +59 -0
- package/docs/docs/cmd/aad/approleassignment/approleassignment-remove.mdx +4 -0
- package/docs/docs/cmd/aad/group/group-get.mdx +24 -0
- package/docs/docs/cmd/aad/group/group-list.mdx +98 -0
- package/docs/docs/cmd/aad/groupsetting/groupsetting-add.mdx +114 -0
- package/docs/docs/cmd/aad/groupsetting/groupsetting-get.mdx +115 -0
- package/docs/docs/cmd/aad/groupsetting/groupsetting-list.mdx +115 -0
- package/docs/docs/cmd/aad/groupsetting/groupsetting-remove.mdx +4 -0
- package/docs/docs/cmd/aad/groupsetting/groupsetting-set.mdx +4 -0
- package/docs/docs/cmd/aad/groupsettingtemplate/groupsettingtemplate-get.mdx +63 -0
- package/docs/docs/cmd/aad/groupsettingtemplate/groupsettingtemplate-list.mdx +63 -0
- package/docs/docs/cmd/aad/o365group/o365group-add.mdx +122 -0
- package/docs/docs/cmd/aad/o365group/o365group-conversation-list.mdx +68 -0
- package/docs/docs/cmd/aad/o365group/o365group-conversation-post-list.mdx +77 -0
- package/docs/docs/cmd/aad/o365group/o365group-get.mdx +122 -0
- package/docs/docs/cmd/aad/o365group/o365group-list.mdx +99 -0
- package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-clear.mdx +4 -0
- package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-list.mdx +96 -0
- package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-remove.mdx +4 -0
- package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-restore.mdx +4 -0
- package/docs/docs/cmd/aad/o365group/o365group-remove.mdx +4 -0
- package/docs/docs/cmd/aad/o365group/o365group-renew.mdx +4 -0
- package/docs/docs/cmd/aad/o365group/o365group-report-activitycounts.mdx +48 -0
- package/docs/docs/cmd/aad/o365group/o365group-report-activitydetail.mdx +60 -0
- package/docs/docs/cmd/aad/o365group/o365group-report-activityfilecounts.mdx +46 -0
- package/docs/docs/cmd/aad/o365group/o365group-report-activitygroupcounts.mdx +46 -0
- package/docs/docs/cmd/aad/o365group/o365group-report-activitystorage.mdx +46 -0
- package/docs/docs/cmd/aad/o365group/o365group-set.mdx +4 -0
- package/docs/docs/cmd/aad/o365group/o365group-teamify.mdx +4 -0
- package/docs/docs/cmd/aad/o365group/o365group-user-add.mdx +4 -0
- package/docs/docs/cmd/aad/o365group/o365group-user-list.mdx +56 -0
- package/docs/docs/cmd/aad/o365group/o365group-user-remove.mdx +4 -0
- package/docs/docs/cmd/aad/o365group/o365group-user-set.mdx +8 -4
- package/docs/docs/cmd/aad/oauth2grant/oauth2grant-add.mdx +4 -0
- package/docs/docs/cmd/aad/oauth2grant/oauth2grant-list.mdx +59 -0
- package/docs/docs/cmd/aad/oauth2grant/oauth2grant-remove.mdx +4 -0
- package/docs/docs/cmd/aad/oauth2grant/oauth2grant-set.mdx +4 -0
- package/docs/docs/cmd/aad/policy/policy-list.mdx +77 -0
- package/docs/docs/cmd/aad/siteclassification/siteclassification-disable.mdx +4 -0
- package/docs/docs/cmd/aad/siteclassification/siteclassification-enable.mdx +4 -0
- package/docs/docs/cmd/aad/siteclassification/siteclassification-get.mdx +57 -0
- package/docs/docs/cmd/aad/siteclassification/siteclassification-set.mdx +4 -0
- package/docs/docs/cmd/aad/sp/sp-add.mdx +136 -0
- package/docs/docs/cmd/aad/sp/sp-get.mdx +166 -0
- package/docs/docs/cmd/aad/sp/sp-list.mdx +162 -0
- package/docs/docs/cmd/aad/user/user-get.mdx +75 -0
- package/docs/docs/cmd/aad/user/user-guest-add.mdx +23 -0
- package/docs/docs/cmd/aad/user/user-hibp.mdx +82 -0
- package/docs/docs/cmd/aad/user/user-license-add.mdx +2 -2
- package/docs/docs/cmd/aad/user/user-license-remove.mdx +2 -2
- package/docs/docs/cmd/aad/user/user-list.mdx +52 -0
- package/docs/docs/cmd/aad/user/user-password-validate.mdx +67 -0
- package/docs/docs/cmd/aad/user/user-signin-list.mdx +131 -0
- package/docs/docs/cmd/flow/flow-list.mdx +15 -0
- package/docs/docs/cmd/login.mdx +39 -0
- package/docs/docs/cmd/pa/app/app-get.mdx +1 -1
- package/docs/docs/cmd/pa/app/app-list.mdx +1 -1
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.mdx +1 -1
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.mdx +1 -1
- package/docs/docs/cmd/pp/card/card-clone.mdx +1 -1
- package/docs/docs/cmd/pp/card/card-get.mdx +1 -1
- package/docs/docs/cmd/pp/card/card-list.mdx +1 -1
- package/docs/docs/cmd/pp/chatbot/chatbot-get.mdx +1 -1
- package/docs/docs/cmd/pp/chatbot/chatbot-list.mdx +1 -1
- package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +1 -1
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.mdx +1 -1
- package/docs/docs/cmd/pp/dataverse/dataverse-table-remove.mdx +1 -1
- package/docs/docs/cmd/pp/dataverse/dataverse-table-row-list.mdx +1 -1
- package/docs/docs/cmd/pp/dataverse/dataverse-table-row-remove.mdx +1 -1
- package/docs/docs/cmd/purview/retentionevent/retentionevent-add.mdx +0 -6
- package/docs/docs/cmd/purview/retentionevent/retentionevent-get.mdx +0 -6
- package/docs/docs/cmd/purview/retentionevent/retentionevent-list.mdx +0 -7
- package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.mdx +0 -6
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.mdx +0 -6
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.mdx +0 -6
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.mdx +0 -6
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.mdx +0 -6
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.mdx +0 -6
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.mdx +0 -6
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.mdx +0 -6
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.mdx +0 -6
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.mdx +0 -6
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.mdx +0 -6
- package/docs/docs/cmd/setup.mdx +2 -0
- package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +72 -0
- package/docs/docs/cmd/spo/commandset/commandset-set.mdx +12 -3
- package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +55 -0
- package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-sensitivitylabel-ensure.mdx +73 -0
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +81 -0
- package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-get.mdx +2 -2
- package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +114 -0
- package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +2 -2
- package/docs/docs/cmd/spo/tenant/tenant-settings-set.mdx +6 -0
- package/docs/docs/cmd/spo/userprofile/userprofile-get.mdx +1 -1
- package/docs/docs/cmd/status.mdx +6 -3
- package/docs/docs/cmd/util/accesstoken/accesstoken-get.mdx +12 -2
- package/npm-shrinkwrap.json +301 -274
- package/package.json +18 -17
- package/dist/m365/aad/commands/approleassignment/AppRoleAssignment.js +0 -3
- package/dist/m365/aad/commands/approleassignment/ServicePrincipal.js +0 -3
- package/dist/m365/aad/commands/groupsetting/GroupSetting.js +0 -3
- package/dist/m365/aad/commands/groupsettingtemplate/GroupSettingTemplate.js +0 -3
- package/dist/m365/aad/commands/siteclassification/DirectorySetting.js +0 -10
- package/dist/m365/aad/commands/siteclassification/DirectorySettingTemplatesRsp.js +0 -3
- package/dist/m365/aad/commands/siteclassification/DirectorySettingValue.js +0 -3
- package/dist/m365/outlook/Message.js +0 -3
- package/dist/m365/spo/commands/site/SitePermission.js +0 -3
- package/dist/m365/teams/Channel.js +0 -3
- package/dist/m365/teams/ConversationMember.js +0 -3
- package/dist/m365/teams/Message.js +0 -3
- package/dist/m365/teams/Reply.js +0 -3
- package/dist/m365/teams/Tab.js +0 -3
- package/dist/m365/teams/Team.js +0 -3
- package/dist/m365/teams/TeamsApp.js +0 -3
- package/dist/m365/teams/TeamsAppInstallation.js +0 -3
- package/dist/m365/teams/TeamsTabConfiguration.js +0 -3
- package/dist/m365/teams/commands/Meeting.js +0 -3
|
@@ -49,6 +49,10 @@ Grant the service principal _d03a0062-1aa6-43e1-8f49-d73e969c5812_ the _Calendar
|
|
|
49
49
|
m365 aad oauth2grant add --clientId d03a0062-1aa6-43e1-8f49-d73e969c5812 --resourceId c2af2474-2c95-423a-b0e5-e4895f22f9e9 --scope "Calendars.Read Mail.Read"
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
+
## Response
|
|
53
|
+
|
|
54
|
+
The command won't return a response on success.
|
|
55
|
+
|
|
52
56
|
## More information
|
|
53
57
|
|
|
54
58
|
- Application and service principal objects in Azure Active Directory (Azure AD): [https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-application-objects](https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-application-objects)
|
|
@@ -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
|
# aad oauth2grant list
|
|
4
6
|
|
|
@@ -33,6 +35,63 @@ List OAuth2 permissions granted to service principal with `objectId` _b2307a39-e
|
|
|
33
35
|
m365 aad oauth2grant list --spObjectId b2307a39-e878-458b-bc90-03bc578531d6
|
|
34
36
|
```
|
|
35
37
|
|
|
38
|
+
## Response
|
|
39
|
+
|
|
40
|
+
<Tabs>
|
|
41
|
+
<TabItem value="JSON">
|
|
42
|
+
|
|
43
|
+
```json
|
|
44
|
+
[
|
|
45
|
+
{
|
|
46
|
+
"clientId": "283f45c9-6b6f-4d15-a7b8-da2c2f3f6e67",
|
|
47
|
+
"consentType": "AllPrincipals",
|
|
48
|
+
"id": "yUU_KG9rFU2nuNosLz9uZ0SVQmWC1_RCvP7NnEv1Zus",
|
|
49
|
+
"principalId": null,
|
|
50
|
+
"resourceId": "65429544-d782-42f4-bcfe-cd9c4bf566eb",
|
|
51
|
+
"scope": "Mail.Read Mail.Send"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
</TabItem>
|
|
57
|
+
<TabItem value="Text">
|
|
58
|
+
|
|
59
|
+
```text
|
|
60
|
+
resourceId scope
|
|
61
|
+
------------------------------------ -------------------
|
|
62
|
+
65429544-d782-42f4-bcfe-cd9c4bf566eb Mail.Read Mail.Send
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
</TabItem>
|
|
66
|
+
<TabItem value="CSV">
|
|
67
|
+
|
|
68
|
+
```csv
|
|
69
|
+
clientId,consentType,id,resourceId,scope
|
|
70
|
+
283f45c9-6b6f-4d15-a7b8-da2c2f3f6e67,AllPrincipals,yUU_KG9rFU2nuNosLz9uZ0SVQmWC1_RCvP7NnEv1Zus,65429544-d782-42f4-bcfe-cd9c4bf566eb,Mail.Read Mail.Send
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
</TabItem>
|
|
74
|
+
<TabItem value="Markdown">
|
|
75
|
+
|
|
76
|
+
```md
|
|
77
|
+
# aad oauth2grant list --spObjectId "283f45c9-6b6f-4d15-a7b8-da2c2f3f6e67"
|
|
78
|
+
|
|
79
|
+
Date: 2023-06-02
|
|
80
|
+
|
|
81
|
+
## yUU_KG9rFU2nuNosLz9uZ0SVQmWC1_RCvP7NnEv1Zus
|
|
82
|
+
|
|
83
|
+
Property | Value
|
|
84
|
+
---------|-------
|
|
85
|
+
clientId | 283f45c9-6b6f-4d15-a7b8-da2c2f3f6e67
|
|
86
|
+
consentType | AllPrincipals
|
|
87
|
+
id | yUU\_KG9rFU2nuNosLz9uZ0SVQmWC1\_RCvP7NnEv1Zus
|
|
88
|
+
resourceId | 65429544-d782-42f4-bcfe-cd9c4bf566eb
|
|
89
|
+
scope | Mail.Read Mail.Send
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
</TabItem>
|
|
93
|
+
</Tabs>
|
|
94
|
+
|
|
36
95
|
## More information
|
|
37
96
|
|
|
38
97
|
- Application and service principal objects in Azure Active Directory (Azure AD): [https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-application-objects](https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-application-objects)
|
|
@@ -46,6 +46,10 @@ Remove the OAuth2 permission grant with ID _YgA60KYa4UOPSdc-lpxYEnQkr8KVLDpCsOXk
|
|
|
46
46
|
m365 aad oauth2grant remove --grantId YgA60KYa4UOPSdc-lpxYEnQkr8KVLDpCsOXkiV8i-ek --confirm
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
+
## Response
|
|
50
|
+
|
|
51
|
+
The command won't return a response on success.
|
|
52
|
+
|
|
49
53
|
## More information
|
|
50
54
|
|
|
51
55
|
- Application and service principal objects in Azure Active Directory (Azure AD): [https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-application-objects](https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-application-objects)
|
|
@@ -40,6 +40,10 @@ Update the existing OAuth2 permission grant with ID _YgA60KYa4UOPSdc-lpxYEnQkr8K
|
|
|
40
40
|
m365 aad oauth2grant set --grantId YgA60KYa4UOPSdc-lpxYEnQkr8KVLDpCsOXkiV8i-ek --scope "Calendars.Read Mail.Read"
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
+
## Response
|
|
44
|
+
|
|
45
|
+
The command won't return a response on success.
|
|
46
|
+
|
|
43
47
|
## More information
|
|
44
48
|
|
|
45
49
|
- Application and service principal objects in Azure Active Directory (Azure AD): [https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-application-objects](https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-application-objects)
|
|
@@ -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
|
# aad policy list
|
|
4
6
|
|
|
@@ -36,3 +38,78 @@ m365 aad policy list --type "claimsMapping"
|
|
|
36
38
|
## More information
|
|
37
39
|
|
|
38
40
|
- Microsoft Graph Azure AD policy overview: [https://docs.microsoft.com/en-us/graph/api/resources/policy-overview?view=graph-rest-1.0](https://docs.microsoft.com/en-us/graph/api/resources/policy-overview?view=graph-rest-1.0)
|
|
41
|
+
|
|
42
|
+
## Response
|
|
43
|
+
|
|
44
|
+
<Tabs>
|
|
45
|
+
<TabItem value="JSON">
|
|
46
|
+
|
|
47
|
+
```json
|
|
48
|
+
[
|
|
49
|
+
{
|
|
50
|
+
"id": "authorizationPolicy",
|
|
51
|
+
"allowInvitesFrom": "everyone",
|
|
52
|
+
"allowedToSignUpEmailBasedSubscriptions": true,
|
|
53
|
+
"allowedToUseSSPR": true,
|
|
54
|
+
"allowEmailVerifiedUsersToJoinOrganization": true,
|
|
55
|
+
"allowUserConsentForRiskyApps": null,
|
|
56
|
+
"blockMsolPowerShell": false,
|
|
57
|
+
"displayName": "Authorization Policy",
|
|
58
|
+
"description": "Used to manage authorization related settings across the company.",
|
|
59
|
+
"guestUserRoleId": "10dae51f-b6af-4016-8d66-8c2a99b929b3",
|
|
60
|
+
"defaultUserRolePermissions": {
|
|
61
|
+
"allowedToCreateApps": true,
|
|
62
|
+
"allowedToCreateSecurityGroups": true,
|
|
63
|
+
"allowedToCreateTenants": true,
|
|
64
|
+
"allowedToReadBitlockerKeysForOwnedDevice": true,
|
|
65
|
+
"allowedToReadOtherUsers": true,
|
|
66
|
+
"permissionGrantPoliciesAssigned": [
|
|
67
|
+
"ManagePermissionGrantsForSelf.microsoft-user-default-legacy"
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
</TabItem>
|
|
75
|
+
<TabItem value="Text">
|
|
76
|
+
|
|
77
|
+
```text
|
|
78
|
+
id displayName
|
|
79
|
+
------------------------------------ --------------------
|
|
80
|
+
authorizationPolicy Authorization Policy
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
</TabItem>
|
|
84
|
+
<TabItem value="CSV">
|
|
85
|
+
|
|
86
|
+
```csv
|
|
87
|
+
id,allowInvitesFrom,allowedToSignUpEmailBasedSubscriptions,allowedToUseSSPR,allowEmailVerifiedUsersToJoinOrganization,blockMsolPowerShell,displayName,description,guestUserRoleId
|
|
88
|
+
authorizationPolicy,everyone,1,1,1,,Authorization Policy,Used to manage authorization related settings across the company.,10dae51f-b6af-4016-8d66-8c2a99b929b3
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
</TabItem>
|
|
92
|
+
<TabItem value="Markdown">
|
|
93
|
+
|
|
94
|
+
```md
|
|
95
|
+
# aad policy list
|
|
96
|
+
|
|
97
|
+
Date: 2023-06-02
|
|
98
|
+
|
|
99
|
+
## Authorization Policy (authorizationPolicy)
|
|
100
|
+
|
|
101
|
+
Property | Value
|
|
102
|
+
---------|-------
|
|
103
|
+
id | authorizationPolicy
|
|
104
|
+
allowInvitesFrom | everyone
|
|
105
|
+
allowedToSignUpEmailBasedSubscriptions | true
|
|
106
|
+
allowedToUseSSPR | true
|
|
107
|
+
allowEmailVerifiedUsersToJoinOrganization | true
|
|
108
|
+
blockMsolPowerShell | false
|
|
109
|
+
displayName | Authorization Policy
|
|
110
|
+
description | Used to manage authorization related settings across the company.
|
|
111
|
+
guestUserRoleId | 10dae51f-b6af-4016-8d66-8c2a99b929b3
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
</TabItem>
|
|
115
|
+
</Tabs>
|
|
@@ -33,6 +33,10 @@ Disable site classification without confirmation
|
|
|
33
33
|
m365 aad siteclassification disable --confirm
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
+
## Response
|
|
37
|
+
|
|
38
|
+
The command won't return a response on success.
|
|
39
|
+
|
|
36
40
|
## More information
|
|
37
41
|
|
|
38
42
|
- SharePoint "modern" sites classification: [https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/modern-experience-site-classification](https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/modern-experience-site-classification)
|
|
@@ -48,6 +48,10 @@ Enable site classification with usage guidelines URLs for guests and members
|
|
|
48
48
|
m365 aad siteclassification enable --classifications "High, Medium, Low" --defaultClassification "Medium" --usageGuidelinesUrl "http://aka.ms/pnp" --guestUsageGuidelinesUrl "http://aka.ms/pnp"
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
+
## Response
|
|
52
|
+
|
|
53
|
+
The command won't return a response on success.
|
|
54
|
+
|
|
51
55
|
## More information
|
|
52
56
|
|
|
53
57
|
- SharePoint "modern" sites classification: [https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/modern-experience-site-classification](https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/modern-experience-site-classification)
|
|
@@ -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
|
# aad siteclassification get
|
|
4
6
|
|
|
@@ -22,6 +24,61 @@ Get information about the Microsoft 365 Tenant site classification
|
|
|
22
24
|
m365 aad siteclassification get
|
|
23
25
|
```
|
|
24
26
|
|
|
27
|
+
## Response
|
|
28
|
+
|
|
29
|
+
<Tabs>
|
|
30
|
+
<TabItem value="JSON">
|
|
31
|
+
|
|
32
|
+
```json
|
|
33
|
+
{
|
|
34
|
+
"UsageGuidelinesUrl": "https://contoso.sharepoint.com/sites/compliance",
|
|
35
|
+
"GuestUsageGuidelinesUrl": "",
|
|
36
|
+
"Classifications": [
|
|
37
|
+
"HBI",
|
|
38
|
+
"MBI",
|
|
39
|
+
"LBI",
|
|
40
|
+
"GDPR"
|
|
41
|
+
],
|
|
42
|
+
"DefaultClassification": "MBI"
|
|
43
|
+
}
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
</TabItem>
|
|
47
|
+
<TabItem value="Text">
|
|
48
|
+
|
|
49
|
+
```text
|
|
50
|
+
Classifications : ["HBI","MBI","LBI","GDPR"]
|
|
51
|
+
DefaultClassification : MBI
|
|
52
|
+
GuestUsageGuidelinesUrl:
|
|
53
|
+
UsageGuidelinesUrl : https://contoso.sharepoint.com/sites/compliance
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
</TabItem>
|
|
57
|
+
<TabItem value="CSV">
|
|
58
|
+
|
|
59
|
+
```csv
|
|
60
|
+
UsageGuidelinesUrl,GuestUsageGuidelinesUrl,DefaultClassification
|
|
61
|
+
https://contoso.sharepoint.com/sites/compliance,,MBI
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
</TabItem>
|
|
65
|
+
<TabItem value="Markdown">
|
|
66
|
+
|
|
67
|
+
```md
|
|
68
|
+
# aad siteclassification get
|
|
69
|
+
|
|
70
|
+
Date: 2023-06-02
|
|
71
|
+
|
|
72
|
+
Property | Value
|
|
73
|
+
---------|-------
|
|
74
|
+
UsageGuidelinesUrl | https://contoso.sharepoint.com/sites/compliance
|
|
75
|
+
GuestUsageGuidelinesUrl |
|
|
76
|
+
DefaultClassification | MBI
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
</TabItem>
|
|
80
|
+
</Tabs>
|
|
81
|
+
|
|
25
82
|
## More information
|
|
26
83
|
|
|
27
84
|
- SharePoint "modern" sites classification: [https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/modern-experience-site-classification](https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/modern-experience-site-classification)
|
|
@@ -55,6 +55,10 @@ Update site classification with usage guidelines URLs for guests and members
|
|
|
55
55
|
m365 aad siteclassification set --usageGuidelinesUrl "http://aka.ms/pnp" --guestUsageGuidelinesUrl "http://aka.ms/pnp"
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
+
## Response
|
|
59
|
+
|
|
60
|
+
The command won't return a response on success.
|
|
61
|
+
|
|
58
62
|
## More information
|
|
59
63
|
|
|
60
64
|
- SharePoint "modern" sites classification: [https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/modern-experience-site-classification](https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/modern-experience-site-classification)
|
|
@@ -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
|
# aad sp add
|
|
4
6
|
|
|
@@ -51,6 +53,140 @@ Adds a service principal to a registered Azure AD app with objectId _b2307a39-e8
|
|
|
51
53
|
m365 aad sp add --objectId b2307a39-e878-458b-bc90-03bc578531d6
|
|
52
54
|
```
|
|
53
55
|
|
|
56
|
+
## Response
|
|
57
|
+
|
|
58
|
+
<Tabs>
|
|
59
|
+
<TabItem value="JSON">
|
|
60
|
+
|
|
61
|
+
```json
|
|
62
|
+
{
|
|
63
|
+
"id": "caeefa7c-1b4e-4257-8f1e-5dffd4e409e4",
|
|
64
|
+
"deletedDateTime": null,
|
|
65
|
+
"accountEnabled": true,
|
|
66
|
+
"alternativeNames": [],
|
|
67
|
+
"appDisplayName": "My AAD app",
|
|
68
|
+
"appDescription": null,
|
|
69
|
+
"appId": "a1023942-9f35-42a6-baf6-390f3a5f89c4",
|
|
70
|
+
"applicationTemplateId": null,
|
|
71
|
+
"appOwnerOrganizationId": "c2b2a0f7-fa44-4929-a994-757b7b998f01",
|
|
72
|
+
"appRoleAssignmentRequired": false,
|
|
73
|
+
"createdDateTime": null,
|
|
74
|
+
"description": null,
|
|
75
|
+
"disabledByMicrosoftStatus": null,
|
|
76
|
+
"displayName": "My AAD app",
|
|
77
|
+
"homepage": null,
|
|
78
|
+
"loginUrl": null,
|
|
79
|
+
"logoutUrl": null,
|
|
80
|
+
"notes": null,
|
|
81
|
+
"notificationEmailAddresses": [],
|
|
82
|
+
"preferredSingleSignOnMode": null,
|
|
83
|
+
"preferredTokenSigningKeyThumbprint": null,
|
|
84
|
+
"replyUrls": [],
|
|
85
|
+
"servicePrincipalNames": [
|
|
86
|
+
"a1023942-9f35-42a6-baf6-390f3a5f89c4"
|
|
87
|
+
],
|
|
88
|
+
"servicePrincipalType": "Application",
|
|
89
|
+
"signInAudience": "AzureADMyOrg",
|
|
90
|
+
"tags": [],
|
|
91
|
+
"tokenEncryptionKeyId": null,
|
|
92
|
+
"samlSingleSignOnSettings": null,
|
|
93
|
+
"addIns": [],
|
|
94
|
+
"appRoles": [],
|
|
95
|
+
"info": {
|
|
96
|
+
"logoUrl": null,
|
|
97
|
+
"marketingUrl": null,
|
|
98
|
+
"privacyStatementUrl": null,
|
|
99
|
+
"supportUrl": null,
|
|
100
|
+
"termsOfServiceUrl": null
|
|
101
|
+
},
|
|
102
|
+
"keyCredentials": [],
|
|
103
|
+
"oauth2PermissionScopes": [],
|
|
104
|
+
"passwordCredentials": [],
|
|
105
|
+
"resourceSpecificApplicationPermissions": [],
|
|
106
|
+
"verifiedPublisher": {
|
|
107
|
+
"displayName": null,
|
|
108
|
+
"verifiedPublisherId": null,
|
|
109
|
+
"addedDateTime": null
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
</TabItem>
|
|
115
|
+
<TabItem value="Text">
|
|
116
|
+
|
|
117
|
+
```text
|
|
118
|
+
accountEnabled : true
|
|
119
|
+
addIns : []
|
|
120
|
+
alternativeNames : []
|
|
121
|
+
appDescription : null
|
|
122
|
+
appDisplayName : My AAD app
|
|
123
|
+
appId : f0790438-1fde-4340-8e64-3c770757dc4d
|
|
124
|
+
appOwnerOrganizationId : c2b2a0f7-fa44-4929-a994-757b7b998f01
|
|
125
|
+
appRoleAssignmentRequired : false
|
|
126
|
+
appRoles : []
|
|
127
|
+
applicationTemplateId : null
|
|
128
|
+
createdDateTime : null
|
|
129
|
+
deletedDateTime : null
|
|
130
|
+
description : null
|
|
131
|
+
disabledByMicrosoftStatus : null
|
|
132
|
+
displayName : My AAD app
|
|
133
|
+
homepage : null
|
|
134
|
+
id : 6897ea56-b26f-4257-9101-2df7f1bcf2a2
|
|
135
|
+
info : {"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null}
|
|
136
|
+
keyCredentials : []
|
|
137
|
+
loginUrl : null
|
|
138
|
+
logoutUrl : null
|
|
139
|
+
notes : null
|
|
140
|
+
notificationEmailAddresses : []
|
|
141
|
+
oauth2PermissionScopes : []
|
|
142
|
+
passwordCredentials : []
|
|
143
|
+
preferredSingleSignOnMode : null
|
|
144
|
+
preferredTokenSigningKeyThumbprint : null
|
|
145
|
+
replyUrls : []
|
|
146
|
+
resourceSpecificApplicationPermissions: []
|
|
147
|
+
samlSingleSignOnSettings : null
|
|
148
|
+
servicePrincipalNames : ["f0790438-1fde-4340-8e64-3c770757dc4d"]
|
|
149
|
+
servicePrincipalType : Application
|
|
150
|
+
signInAudience : AzureADMyOrg
|
|
151
|
+
tags : []
|
|
152
|
+
tokenEncryptionKeyId : null
|
|
153
|
+
verifiedPublisher : {"displayName":null,"verifiedPublisherId":null,"addedDateTime":null}
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
</TabItem>
|
|
157
|
+
<TabItem value="CSV">
|
|
158
|
+
|
|
159
|
+
```csv
|
|
160
|
+
id,accountEnabled,appDisplayName,appId,appOwnerOrganizationId,appRoleAssignmentRequired,displayName,servicePrincipalType,signInAudience
|
|
161
|
+
29e00a15-cdb7-4d36-a745-30d920173dd8,1,My AAD app,ea8340e9-e464-4597-93f1-e115f9f8c7be,c2b2a0f7-fa44-4929-a994-757b7b998f01,,My AAD app,Application,AzureADMyOrg
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
</TabItem>
|
|
165
|
+
<TabItem value="Markdown">
|
|
166
|
+
|
|
167
|
+
```md
|
|
168
|
+
# aad sp add --appId "8da75b6a-4272-4b17-8ee1-20ba66e2b06f"
|
|
169
|
+
|
|
170
|
+
Date: 2023-06-02
|
|
171
|
+
|
|
172
|
+
## My AAD app (28adf0e2-596c-4012-b24b-b0ec033a8f89)
|
|
173
|
+
|
|
174
|
+
Property | Value
|
|
175
|
+
---------|-------
|
|
176
|
+
id | 28adf0e2-596c-4012-b24b-b0ec033a8f89
|
|
177
|
+
accountEnabled | true
|
|
178
|
+
appDisplayName | My AAD app
|
|
179
|
+
appId | 8da75b6a-4272-4b17-8ee1-20ba66e2b06f
|
|
180
|
+
appOwnerOrganizationId | c2b2a0f7-fa44-4929-a994-757b7b998f01
|
|
181
|
+
appRoleAssignmentRequired | false
|
|
182
|
+
displayName | My AAD app
|
|
183
|
+
servicePrincipalType | Application
|
|
184
|
+
signInAudience | AzureADMyOrg
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
</TabItem>
|
|
188
|
+
</Tabs>
|
|
189
|
+
|
|
54
190
|
## More information
|
|
55
191
|
|
|
56
192
|
- Application and service principal objects in Azure Active Directory (Azure AD): [https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-application-objects](https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-application-objects)
|
|
@@ -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
|
# aad sp get
|
|
4
6
|
|
|
@@ -49,6 +51,170 @@ Return details about the service principal with ObjectId _b2307a39-e878-458b-bc9
|
|
|
49
51
|
m365 aad sp get --appObjectId b2307a39-e878-458b-bc90-03bc578531dd
|
|
50
52
|
```
|
|
51
53
|
|
|
54
|
+
## Response
|
|
55
|
+
|
|
56
|
+
<Tabs>
|
|
57
|
+
<TabItem value="JSON">
|
|
58
|
+
|
|
59
|
+
```json
|
|
60
|
+
{
|
|
61
|
+
"id": "b62fe6f3-5746-49be-af60-eaa24d66754a",
|
|
62
|
+
"deletedDateTime": null,
|
|
63
|
+
"accountEnabled": true,
|
|
64
|
+
"alternativeNames": [],
|
|
65
|
+
"appDisplayName": "LinkedIn",
|
|
66
|
+
"appDescription": null,
|
|
67
|
+
"appId": "ac7c9b4b-83b0-4a5e-ace2-a3530162c8f8",
|
|
68
|
+
"applicationTemplateId": null,
|
|
69
|
+
"appOwnerOrganizationId": "c2b2a0f7-fa44-4929-a994-757b7b998f01",
|
|
70
|
+
"appRoleAssignmentRequired": true,
|
|
71
|
+
"createdDateTime": "2022-12-12T15:41:42Z",
|
|
72
|
+
"description": null,
|
|
73
|
+
"disabledByMicrosoftStatus": null,
|
|
74
|
+
"displayName": "LinkedIn",
|
|
75
|
+
"homepage": "https://account.activedirectory.windowsazure.com:444/applications/default.aspx?metadata=linkedin|ISV9.3|primary|z",
|
|
76
|
+
"loginUrl": null,
|
|
77
|
+
"logoutUrl": null,
|
|
78
|
+
"notes": null,
|
|
79
|
+
"notificationEmailAddresses": [],
|
|
80
|
+
"preferredSingleSignOnMode": null,
|
|
81
|
+
"preferredTokenSigningKeyThumbprint": null,
|
|
82
|
+
"replyUrls": [],
|
|
83
|
+
"servicePrincipalNames": [
|
|
84
|
+
"ac7c9b4b-83b0-4a5e-ace2-a3530162c8f8",
|
|
85
|
+
"http://LinkedIn/41859ae8-d0c4-45ac-9394-00000464c196"
|
|
86
|
+
],
|
|
87
|
+
"servicePrincipalType": "Application",
|
|
88
|
+
"signInAudience": "AzureADMyOrg",
|
|
89
|
+
"tags": [
|
|
90
|
+
"4d57f64e-9941-4df2-bb70-8d9a2a38ab91",
|
|
91
|
+
"WindowsAzureActiveDirectoryGalleryApplicationPrimaryV1",
|
|
92
|
+
"WindowsAzureActiveDirectoryIntegratedApp"
|
|
93
|
+
],
|
|
94
|
+
"tokenEncryptionKeyId": null,
|
|
95
|
+
"samlSingleSignOnSettings": null,
|
|
96
|
+
"addIns": [],
|
|
97
|
+
"appRoles": [
|
|
98
|
+
{
|
|
99
|
+
"allowedMemberTypes": [
|
|
100
|
+
"User"
|
|
101
|
+
],
|
|
102
|
+
"description": "msiam_access",
|
|
103
|
+
"displayName": "msiam_access",
|
|
104
|
+
"id": "01c2bb8e-0895-42c8-b950-3ec8abc7a012",
|
|
105
|
+
"isEnabled": true,
|
|
106
|
+
"origin": "Application",
|
|
107
|
+
"value": null
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"info": {
|
|
111
|
+
"logoUrl": null,
|
|
112
|
+
"marketingUrl": null,
|
|
113
|
+
"privacyStatementUrl": null,
|
|
114
|
+
"supportUrl": null,
|
|
115
|
+
"termsOfServiceUrl": null
|
|
116
|
+
},
|
|
117
|
+
"keyCredentials": [],
|
|
118
|
+
"oauth2PermissionScopes": [
|
|
119
|
+
{
|
|
120
|
+
"adminConsentDescription": "Allow the application to access LinkedIn on behalf of the signed-in user.",
|
|
121
|
+
"adminConsentDisplayName": "Access LinkedIn",
|
|
122
|
+
"id": "823b3b27-be2a-4699-a0ae-da054e6465cf",
|
|
123
|
+
"isEnabled": true,
|
|
124
|
+
"type": "User",
|
|
125
|
+
"userConsentDescription": "Allow the application to access LinkedIn on your behalf.",
|
|
126
|
+
"userConsentDisplayName": "Access LinkedIn",
|
|
127
|
+
"value": "user_impersonation"
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"passwordCredentials": [],
|
|
131
|
+
"resourceSpecificApplicationPermissions": [],
|
|
132
|
+
"verifiedPublisher": {
|
|
133
|
+
"displayName": null,
|
|
134
|
+
"verifiedPublisherId": null,
|
|
135
|
+
"addedDateTime": null
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
</TabItem>
|
|
141
|
+
<TabItem value="Text">
|
|
142
|
+
|
|
143
|
+
```text
|
|
144
|
+
accountEnabled : true
|
|
145
|
+
addIns : []
|
|
146
|
+
alternativeNames : []
|
|
147
|
+
appDescription : null
|
|
148
|
+
appDisplayName : LinkedIn
|
|
149
|
+
appId : ac7c9b4b-83b0-4a5e-ace2-a3530162c8f8
|
|
150
|
+
appOwnerOrganizationId : c2b2a0f7-fa44-4929-a994-757b7b998f01
|
|
151
|
+
appRoleAssignmentRequired : true
|
|
152
|
+
appRoles : [{"allowedMemberTypes":["User"],"description":"msiam_access","displayName":"msiam_access","id":"01c2bb8e-0895-42c8-b950-3ec8abc7a012","isEnabled":true,"origin":"Application","value":null}]
|
|
153
|
+
applicationTemplateId : null
|
|
154
|
+
createdDateTime : 2022-12-12T15:41:42Z
|
|
155
|
+
deletedDateTime : null
|
|
156
|
+
description : null
|
|
157
|
+
disabledByMicrosoftStatus : null
|
|
158
|
+
displayName : LinkedIn
|
|
159
|
+
homepage : https://account.activedirectory.windowsazure.com:444/applications/default.aspx?metadata=linkedin|ISV9.3|primary|z
|
|
160
|
+
id : b62fe6f3-5746-49be-af60-eaa24d66754a
|
|
161
|
+
info : {"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null}
|
|
162
|
+
keyCredentials : []
|
|
163
|
+
loginUrl : null
|
|
164
|
+
logoutUrl : null
|
|
165
|
+
notes : null
|
|
166
|
+
notificationEmailAddresses : []
|
|
167
|
+
oauth2PermissionScopes : [{"adminConsentDescription":"Allow the application to access LinkedIn on behalf of the signed-in user.","adminConsentDisplayName":"Access LinkedIn","id":"823b3b27-be2a-4699-a0ae-da054e6465cf","isEnabled":true,"type":"User","userConsentDescription":"Allow the application to access LinkedIn on your behalf.","userConsentDisplayName":"Access LinkedIn","value":"user_impersonation"}]
|
|
168
|
+
passwordCredentials : []
|
|
169
|
+
preferredSingleSignOnMode : null
|
|
170
|
+
preferredTokenSigningKeyThumbprint : null
|
|
171
|
+
replyUrls : []
|
|
172
|
+
resourceSpecificApplicationPermissions: []
|
|
173
|
+
samlSingleSignOnSettings : null
|
|
174
|
+
servicePrincipalNames : ["ac7c9b4b-83b0-4a5e-ace2-a3530162c8f8","http://LinkedIn/41859ae8-d0c4-45ac-9394-00000464c196"]
|
|
175
|
+
servicePrincipalType : Application
|
|
176
|
+
signInAudience : AzureADMyOrg
|
|
177
|
+
tags : ["4d57f64e-9941-4df2-bb70-8d9a2a38ab91","WindowsAzureActiveDirectoryGalleryApplicationPrimaryV1","WindowsAzureActiveDirectoryIntegratedApp"]
|
|
178
|
+
tokenEncryptionKeyId : null
|
|
179
|
+
verifiedPublisher : {"displayName":null,"verifiedPublisherId":null,"addedDateTime":null}
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
</TabItem>
|
|
183
|
+
<TabItem value="CSV">
|
|
184
|
+
|
|
185
|
+
```csv
|
|
186
|
+
id,accountEnabled,appDisplayName,appId,appOwnerOrganizationId,appRoleAssignmentRequired,createdDateTime,displayName,homepage,servicePrincipalType,signInAudience
|
|
187
|
+
b62fe6f3-5746-49be-af60-eaa24d66754a,1,LinkedIn,ac7c9b4b-83b0-4a5e-ace2-a3530162c8f8,c2b2a0f7-fa44-4929-a994-757b7b998f01,1,2022-12-12T15:41:42Z,LinkedIn,https://account.activedirectory.windowsazure.com:444/applications/default.aspx?metadata=linkedin|ISV9.3|primary|z,Application,AzureADMyOrg
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
</TabItem>
|
|
191
|
+
<TabItem value="Markdown">
|
|
192
|
+
|
|
193
|
+
```md
|
|
194
|
+
# aad sp get --appId "ac7c9b4b-83b0-4a5e-ace2-a3530162c8f8"
|
|
195
|
+
|
|
196
|
+
Date: 2023-06-02
|
|
197
|
+
|
|
198
|
+
## LinkedIn (b62fe6f3-5746-49be-af60-eaa24d66754a)
|
|
199
|
+
|
|
200
|
+
Property | Value
|
|
201
|
+
---------|-------
|
|
202
|
+
id | b62fe6f3-5746-49be-af60-eaa24d66754a
|
|
203
|
+
accountEnabled | true
|
|
204
|
+
appDisplayName | LinkedIn
|
|
205
|
+
appId | ac7c9b4b-83b0-4a5e-ace2-a3530162c8f8
|
|
206
|
+
appOwnerOrganizationId | c2b2a0f7-fa44-4929-a994-757b7b998f01
|
|
207
|
+
appRoleAssignmentRequired | true
|
|
208
|
+
createdDateTime | 2022-12-12T15:41:42Z
|
|
209
|
+
displayName | LinkedIn
|
|
210
|
+
homepage | https://account.activedirectory.windowsazure.com:444/applications/default.aspx?metadata=linkedin\|ISV9.3\|primary\|z
|
|
211
|
+
servicePrincipalType | Application
|
|
212
|
+
signInAudience | AzureADMyOrg
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
</TabItem>
|
|
216
|
+
</Tabs>
|
|
217
|
+
|
|
52
218
|
## More information
|
|
53
219
|
|
|
54
220
|
- Application and service principal objects in Azure Active Directory (Azure AD): [https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-application-objects](https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-application-objects)
|