@pnp/cli-microsoft365 7.4.0-beta.fce7b64 → 7.5.0-beta.23612bc
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 +2 -2
- package/.eslintrc.cjs +7 -0
- package/Dockerfile +2 -5
- package/README.md +1 -1
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Auth.js +2 -1
- package/dist/appInsights.js +2 -0
- package/dist/cli/cli.js +1 -0
- package/dist/m365/app/commands/app-get.js +2 -2
- package/dist/m365/app/commands/permission/permission-list.js +1 -1
- package/dist/m365/{aad/commands.js → entra/aadCommands.js} +2 -1
- package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-add.js +12 -8
- package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-get.js +20 -16
- package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-list.js +6 -2
- package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-member-add.js +24 -20
- package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-member-get.js +18 -14
- package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-member-list.js +18 -14
- package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-remove.js +20 -16
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-roleassignment-add.js +102 -0
- package/dist/m365/{aad → entra}/commands/app/app-add.js +25 -21
- package/dist/m365/{aad → entra}/commands/app/app-get.js +17 -13
- package/dist/m365/{aad → entra}/commands/app/app-list.js +7 -3
- package/dist/m365/{aad → entra}/commands/app/app-permission-add.js +19 -19
- package/dist/m365/{aad → entra}/commands/app/app-remove.js +17 -13
- package/dist/m365/{aad → entra}/commands/app/app-role-add.js +18 -14
- package/dist/m365/{aad → entra}/commands/app/app-role-list.js +15 -11
- package/dist/m365/{aad → entra}/commands/app/app-role-remove.js +17 -13
- package/dist/m365/{aad → entra}/commands/app/app-set.js +18 -14
- package/dist/m365/{aad → entra}/commands/approleassignment/approleassignment-add.js +17 -13
- package/dist/m365/{aad → entra}/commands/approleassignment/approleassignment-list.js +16 -12
- package/dist/m365/{aad → entra}/commands/approleassignment/approleassignment-remove.js +17 -13
- package/dist/m365/{aad → entra}/commands/group/group-get.js +20 -16
- package/dist/m365/{aad → entra}/commands/group/group-list.js +16 -12
- package/dist/m365/{aad → entra}/commands/group/group-remove.js +21 -17
- package/dist/m365/entra/commands/group/group-user-add.js +145 -0
- package/dist/m365/{aad → entra}/commands/group/group-user-list.js +19 -15
- package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-add.js +12 -8
- package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-get.js +12 -8
- package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-list.js +7 -3
- package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-remove.js +14 -10
- package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-set.js +12 -8
- package/dist/m365/{aad → entra}/commands/groupsettingtemplate/groupsettingtemplate-get.js +17 -13
- package/dist/m365/{aad → entra}/commands/groupsettingtemplate/groupsettingtemplate-list.js +7 -3
- package/dist/m365/{aad → entra}/commands/license/license-list.js +6 -2
- package/dist/m365/{aad → entra}/commands/m365group/m365group-add.js +19 -15
- package/dist/m365/{aad → entra}/commands/m365group/m365group-conversation-list.js +14 -10
- package/dist/m365/{aad → entra}/commands/m365group/m365group-conversation-post-list.js +19 -15
- package/dist/m365/{aad → entra}/commands/m365group/m365group-get.js +15 -11
- package/dist/m365/{aad → entra}/commands/m365group/m365group-list.js +12 -8
- package/dist/m365/{aad → entra}/commands/m365group/m365group-recyclebinitem-clear.js +12 -8
- package/dist/m365/{aad → entra}/commands/m365group/m365group-recyclebinitem-list.js +12 -8
- package/dist/m365/{aad → entra}/commands/m365group/m365group-recyclebinitem-remove.js +16 -12
- package/dist/m365/{aad → entra}/commands/m365group/m365group-recyclebinitem-restore.js +16 -12
- package/dist/m365/{aad → entra}/commands/m365group/m365group-remove.js +19 -15
- package/dist/m365/{aad → entra}/commands/m365group/m365group-renew.js +14 -10
- package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activitycounts.js +4 -0
- package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activitydetail.js +4 -0
- package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activityfilecounts.js +4 -0
- package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activitygroupcounts.js +4 -0
- package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activitystorage.js +4 -0
- package/dist/m365/{aad → entra}/commands/m365group/m365group-set.js +21 -17
- package/dist/m365/{aad → entra}/commands/m365group/m365group-teamify.js +18 -14
- package/dist/m365/{aad → entra}/commands/m365group/m365group-user-add.js +16 -15
- package/dist/m365/entra/commands/m365group/m365group-user-list.js +154 -0
- package/dist/m365/{aad → entra}/commands/m365group/m365group-user-remove.js +16 -15
- package/dist/m365/{aad → entra}/commands/m365group/m365group-user-set.js +16 -15
- package/dist/m365/{aad → entra}/commands/oauth2grant/oauth2grant-add.js +12 -8
- package/dist/m365/{aad → entra}/commands/oauth2grant/oauth2grant-list.js +12 -8
- package/dist/m365/{aad → entra}/commands/oauth2grant/oauth2grant-remove.js +10 -6
- package/dist/m365/{aad → entra}/commands/oauth2grant/oauth2grant-set.js +10 -6
- package/dist/m365/{aad → entra}/commands/policy/policy-list.js +16 -12
- package/dist/m365/{aad → entra}/commands/siteclassification/siteclassification-disable.js +12 -8
- package/dist/m365/{aad → entra}/commands/siteclassification/siteclassification-enable.js +12 -8
- package/dist/m365/{aad → entra}/commands/siteclassification/siteclassification-get.js +6 -2
- package/dist/m365/{aad → entra}/commands/siteclassification/siteclassification-set.js +14 -10
- package/dist/m365/{aad → entra}/commands/sp/sp-add.js +17 -13
- package/dist/m365/{aad → entra}/commands/sp/sp-get.js +16 -12
- package/dist/m365/{aad → entra}/commands/sp/sp-list.js +12 -8
- package/dist/m365/{aad → entra}/commands/user/user-add.js +18 -14
- package/dist/m365/{aad → entra}/commands/user/user-get.js +16 -12
- package/dist/m365/{aad → entra}/commands/user/user-guest-add.js +12 -8
- package/dist/m365/{aad → entra}/commands/user/user-hibp.js +14 -10
- package/dist/m365/{aad → entra}/commands/user/user-license-add.js +16 -12
- package/dist/m365/{aad → entra}/commands/user/user-license-list.js +16 -12
- package/dist/m365/{aad → entra}/commands/user/user-license-remove.js +16 -12
- package/dist/m365/{aad → entra}/commands/user/user-list.js +12 -8
- package/dist/m365/{aad → entra}/commands/user/user-password-validate.js +10 -6
- package/dist/m365/{aad → entra}/commands/user/user-recyclebinitem-clear.js +12 -8
- package/dist/m365/{aad → entra}/commands/user/user-recyclebinitem-list.js +6 -2
- package/dist/m365/{aad → entra}/commands/user/user-recyclebinitem-remove.js +14 -10
- package/dist/m365/{aad → entra}/commands/user/user-recyclebinitem-restore.js +12 -8
- package/dist/m365/{aad → entra}/commands/user/user-remove.js +16 -12
- package/dist/m365/{aad → entra}/commands/user/user-set.js +18 -14
- package/dist/m365/{aad → entra}/commands/user/user-signin-list.js +15 -11
- package/dist/m365/entra/commands.js +87 -0
- package/dist/m365/external/commands/connection/connection-doctor.js +2 -1
- package/dist/m365/external/commands/connection/connection-urltoitemresolver-add.js +69 -0
- package/dist/m365/external/commands.js +1 -0
- package/dist/m365/flow/commands/owner/owner-ensure.js +4 -4
- package/dist/m365/flow/commands/owner/owner-remove.js +4 -4
- package/dist/m365/flow/commands/run/run-get.js +52 -13
- package/dist/m365/onenote/commands/notebook/notebook-list.js +2 -2
- package/dist/m365/onenote/commands/page/page-list.js +2 -2
- package/dist/m365/pa/commands/app/app-get.js +26 -11
- package/dist/m365/pa/commands/app/app-owner-set.js +2 -2
- package/dist/m365/pa/commands/app/app-permission-ensure.js +4 -4
- package/dist/m365/pa/commands/app/app-permission-remove.js +4 -4
- package/dist/m365/pa/commands/app/app-remove.js +19 -2
- package/dist/m365/planner/commands/bucket/bucket-add.js +2 -2
- package/dist/m365/planner/commands/bucket/bucket-get.js +2 -2
- package/dist/m365/planner/commands/bucket/bucket-list.js +2 -2
- package/dist/m365/planner/commands/bucket/bucket-remove.js +2 -2
- package/dist/m365/planner/commands/bucket/bucket-set.js +2 -2
- package/dist/m365/planner/commands/plan/plan-add.js +2 -2
- package/dist/m365/planner/commands/plan/plan-get.js +2 -2
- package/dist/m365/planner/commands/plan/plan-list.js +2 -2
- package/dist/m365/planner/commands/plan/plan-remove.js +2 -2
- package/dist/m365/planner/commands/plan/plan-set.js +2 -2
- package/dist/m365/planner/commands/roster/roster-member-add.js +2 -2
- package/dist/m365/planner/commands/roster/roster-member-get.js +2 -2
- package/dist/m365/planner/commands/roster/roster-member-remove.js +2 -2
- package/dist/m365/planner/commands/task/task-add.js +2 -2
- package/dist/m365/planner/commands/task/task-get.js +2 -2
- package/dist/m365/planner/commands/task/task-list.js +2 -2
- package/dist/m365/planner/commands/task/task-remove.js +2 -2
- package/dist/m365/planner/commands/task/task-set.js +2 -2
- package/dist/m365/spfx/commands/project/project-github-workflow-add.js +1 -1
- package/dist/m365/spo/commands/file/file-add.js +12 -8
- package/dist/m365/spo/commands/file/file-checkin.js +4 -1
- package/dist/m365/spo/commands/file/file-checkout-undo.js +5 -1
- package/dist/m365/spo/commands/file/file-checkout.js +4 -1
- package/dist/m365/spo/commands/file/file-copy.js +5 -1
- package/dist/m365/spo/commands/file/file-get.js +5 -1
- package/dist/m365/spo/commands/file/file-list.js +5 -1
- package/dist/m365/spo/commands/file/file-move.js +5 -1
- package/dist/m365/spo/commands/file/file-remove.js +5 -1
- package/dist/m365/spo/commands/file/file-rename.js +5 -1
- package/dist/m365/spo/commands/file/file-retentionlabel-ensure.js +4 -1
- package/dist/m365/spo/commands/file/file-retentionlabel-remove.js +5 -1
- package/dist/m365/spo/commands/file/file-roleassignment-add.js +4 -1
- package/dist/m365/spo/commands/file/file-roleassignment-remove.js +5 -1
- package/dist/m365/spo/commands/file/file-roleinheritance-break.js +5 -1
- package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +5 -1
- package/dist/m365/spo/commands/file/file-sharinginfo-get.js +6 -3
- package/dist/m365/spo/commands/file/file-sharinglink-add.js +4 -1
- package/dist/m365/spo/commands/file/file-sharinglink-clear.js +5 -1
- package/dist/m365/spo/commands/file/file-sharinglink-get.js +4 -1
- package/dist/m365/spo/commands/file/file-sharinglink-list.js +4 -1
- package/dist/m365/spo/commands/file/file-sharinglink-remove.js +5 -1
- package/dist/m365/spo/commands/file/file-sharinglink-set.js +4 -1
- package/dist/m365/spo/commands/file/file-version-clear.js +6 -2
- package/dist/m365/spo/commands/file/file-version-get.js +1 -1
- package/dist/m365/spo/commands/file/file-version-list.js +4 -1
- package/dist/m365/spo/commands/file/file-version-remove.js +2 -1
- package/dist/m365/spo/commands/file/file-version-restore.js +2 -1
- package/dist/m365/spo/commands/folder/folder-add.js +4 -1
- package/dist/m365/spo/commands/folder/folder-copy.js +5 -1
- package/dist/m365/spo/commands/folder/folder-get.js +4 -1
- package/dist/m365/spo/commands/folder/folder-list.js +6 -2
- package/dist/m365/spo/commands/folder/folder-move.js +5 -1
- package/dist/m365/spo/commands/folder/folder-remove.js +5 -1
- package/dist/m365/spo/commands/folder/folder-rename.js +4 -1
- package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +4 -1
- package/dist/m365/spo/commands/folder/folder-retentionlabel-remove.js +5 -1
- package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +4 -1
- package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +6 -2
- package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +5 -1
- package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +5 -1
- package/dist/m365/spo/commands/group/group-member-add.js +25 -8
- package/dist/m365/spo/commands/group/group-member-remove.js +29 -12
- package/dist/m365/spo/commands/group/group-set.js +2 -2
- package/dist/m365/spo/commands/site/site-remove.js +2 -2
- package/dist/m365/spo/commands/site/site-set.js +2 -2
- package/dist/m365/spo/commands/user/user-ensure.js +17 -7
- package/dist/m365/teams/commands/app/app-install.js +2 -2
- package/dist/m365/teams/commands/channel/channel-get.js +2 -2
- package/dist/m365/teams/commands/channel/channel-list.js +2 -2
- package/dist/m365/teams/commands/channel/channel-member-add.js +2 -2
- package/dist/m365/teams/commands/channel/channel-member-list.js +2 -2
- package/dist/m365/teams/commands/channel/channel-member-remove.js +2 -2
- package/dist/m365/teams/commands/channel/channel-member-set.js +2 -2
- package/dist/m365/teams/commands/channel/channel-remove.js +2 -2
- package/dist/m365/teams/commands/channel/channel-set.js +2 -2
- package/dist/m365/teams/commands/meeting/meeting-add.js +2 -2
- package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +2 -2
- package/dist/m365/teams/commands/meeting/meeting-get.js +3 -3
- package/dist/m365/teams/commands/meeting/meeting-list.js +2 -2
- package/dist/m365/teams/commands/meeting/meeting-transcript-list.js +2 -2
- package/dist/m365/teams/commands/tab/tab-get.js +2 -2
- package/dist/m365/teams/commands/team/team-add.js +6 -6
- package/dist/m365/teams/commands/team/team-archive.js +2 -2
- package/dist/m365/teams/commands/team/team-get.js +2 -2
- package/dist/m365/teams/commands/team/team-remove.js +2 -2
- package/dist/m365/teams/commands/team/team-unarchive.js +2 -2
- package/dist/m365/teams/commands/user/user-app-add.js +35 -3
- package/dist/request.js +16 -0
- package/dist/utils/{aadAdministrativeUnit.js → entraAdministrativeUnit.js} +2 -2
- package/dist/utils/{aadDevice.js → entraDevice.js} +2 -2
- package/dist/utils/{aadGroup.js → entraGroup.js} +2 -2
- package/dist/utils/{aadUser.js → entraUser.js} +38 -2
- package/dist/utils/md.js +2 -2
- package/dist/utils/roleAssignment.js +42 -0
- package/dist/utils/roleDefinition.js +24 -0
- package/dist/utils/spo.js +2 -2
- package/dist/utils/validation.js +4 -0
- package/docs/docs/cmd/adaptivecard/adaptivecard-send.mdx +1 -1
- package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-add.mdx +10 -4
- package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-get.mdx +9 -3
- package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-list.mdx +9 -3
- package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-member-add.mdx +13 -7
- package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-member-get.mdx +9 -3
- package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-member-list.mdx +16 -10
- package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-remove.mdx +9 -3
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-roleassignment-add.mdx +116 -0
- package/docs/docs/cmd/{aad → entra}/app/app-add.mdx +44 -38
- package/docs/docs/cmd/{aad → entra}/app/app-get.mdx +23 -17
- package/docs/docs/cmd/{aad → entra}/app/app-list.mdx +11 -5
- package/docs/docs/cmd/entra/app/app-permission-add.mdx +68 -0
- package/docs/docs/cmd/entra/app/app-remove.mdx +65 -0
- package/docs/docs/cmd/entra/app/app-role-add.mdx +74 -0
- package/docs/docs/cmd/{aad → entra}/app/app-role-list.mdx +20 -14
- package/docs/docs/cmd/entra/app/app-role-remove.mdx +84 -0
- package/docs/docs/cmd/entra/app/app-set.mdx +103 -0
- package/docs/docs/cmd/{aad → entra}/approleassignment/approleassignment-add.mdx +14 -8
- package/docs/docs/cmd/{aad → entra}/approleassignment/approleassignment-list.mdx +12 -6
- package/docs/docs/cmd/{aad → entra}/approleassignment/approleassignment-remove.mdx +13 -7
- package/docs/docs/cmd/{aad → entra}/group/group-get.mdx +15 -9
- package/docs/docs/cmd/{aad → entra}/group/group-list.mdx +13 -7
- package/docs/docs/cmd/entra/group/group-remove.mdx +50 -0
- package/docs/docs/cmd/entra/group/group-user-add.mdx +62 -0
- package/docs/docs/cmd/{aad → entra}/group/group-user-list.mdx +17 -11
- package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-add.mdx +11 -5
- package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-get.mdx +9 -3
- package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-list.mdx +10 -4
- package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-remove.mdx +9 -3
- package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-set.mdx +10 -4
- package/docs/docs/cmd/{aad → entra}/groupsettingtemplate/groupsettingtemplate-get.mdx +11 -5
- package/docs/docs/cmd/{aad → entra}/groupsettingtemplate/groupsettingtemplate-list.mdx +10 -4
- package/docs/docs/cmd/{aad → entra}/license/license-list.mdx +9 -3
- package/docs/docs/cmd/{aad → entra}/m365group/m365group-add.mdx +17 -11
- package/docs/docs/cmd/{aad → entra}/m365group/m365group-conversation-list.mdx +9 -3
- package/docs/docs/cmd/{aad → entra}/m365group/m365group-conversation-post-list.mdx +10 -4
- package/docs/docs/cmd/{aad → entra}/m365group/m365group-get.mdx +10 -4
- package/docs/docs/cmd/{aad → entra}/m365group/m365group-list.mdx +13 -7
- package/docs/docs/cmd/{aad → entra}/m365group/m365group-recyclebinitem-clear.mdx +9 -3
- package/docs/docs/cmd/{aad → entra}/m365group/m365group-recyclebinitem-list.mdx +12 -6
- package/docs/docs/cmd/{aad → entra}/m365group/m365group-recyclebinitem-remove.mdx +10 -4
- package/docs/docs/cmd/{aad → entra}/m365group/m365group-recyclebinitem-restore.mdx +10 -4
- package/docs/docs/cmd/{aad → entra}/m365group/m365group-remove.mdx +10 -4
- package/docs/docs/cmd/{aad → entra}/m365group/m365group-renew.mdx +8 -2
- package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activitycounts.mdx +10 -4
- package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activitydetail.mdx +11 -5
- package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activityfilecounts.mdx +10 -4
- package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activitygroupcounts.mdx +10 -4
- package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activitystorage.mdx +10 -4
- package/docs/docs/cmd/{aad → entra}/m365group/m365group-set.mdx +12 -6
- package/docs/docs/cmd/{aad → entra}/m365group/m365group-teamify.mdx +9 -3
- package/docs/docs/cmd/{aad → entra}/m365group/m365group-user-add.mdx +9 -3
- package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +131 -0
- package/docs/docs/cmd/{aad → entra}/m365group/m365group-user-remove.mdx +9 -5
- package/docs/docs/cmd/{aad → entra}/m365group/m365group-user-set.mdx +10 -6
- package/docs/docs/cmd/{aad → entra}/oauth2grant/oauth2grant-add.mdx +15 -9
- package/docs/docs/cmd/{aad → entra}/oauth2grant/oauth2grant-list.mdx +11 -5
- package/docs/docs/cmd/{aad → entra}/oauth2grant/oauth2grant-remove.mdx +13 -7
- package/docs/docs/cmd/{aad → entra}/oauth2grant/oauth2grant-set.mdx +12 -6
- package/docs/docs/cmd/{aad → entra}/policy/policy-list.mdx +14 -8
- package/docs/docs/cmd/{aad → entra}/siteclassification/siteclassification-disable.mdx +9 -3
- package/docs/docs/cmd/{aad → entra}/siteclassification/siteclassification-enable.mdx +10 -4
- package/docs/docs/cmd/{aad → entra}/siteclassification/siteclassification-get.mdx +9 -3
- package/docs/docs/cmd/{aad → entra}/siteclassification/siteclassification-set.mdx +11 -5
- package/docs/docs/cmd/{aad → entra}/sp/sp-add.mdx +25 -19
- package/docs/docs/cmd/{aad → entra}/sp/sp-get.mdx +12 -6
- package/docs/docs/cmd/{aad → entra}/sp/sp-list.mdx +10 -4
- package/docs/docs/cmd/{aad → entra}/user/user-add.mdx +12 -6
- package/docs/docs/cmd/{aad → entra}/user/user-get.mdx +16 -10
- package/docs/docs/cmd/{aad → entra}/user/user-guest-add.mdx +11 -5
- package/docs/docs/cmd/{aad → entra}/user/user-hibp.mdx +10 -4
- package/docs/docs/cmd/{aad → entra}/user/user-license-add.mdx +10 -4
- package/docs/docs/cmd/{aad → entra}/user/user-license-list.mdx +11 -5
- package/docs/docs/cmd/{aad → entra}/user/user-license-remove.mdx +9 -3
- package/docs/docs/cmd/{aad → entra}/user/user-list.mdx +12 -6
- package/docs/docs/cmd/{aad → entra}/user/user-password-validate.mdx +9 -3
- package/docs/docs/cmd/{aad → entra}/user/user-recyclebinitem-clear.mdx +9 -3
- package/docs/docs/cmd/{aad → entra}/user/user-recyclebinitem-list.mdx +9 -3
- package/docs/docs/cmd/{aad → entra}/user/user-recyclebinitem-remove.mdx +9 -3
- package/docs/docs/cmd/{aad → entra}/user/user-recyclebinitem-restore.mdx +8 -2
- package/docs/docs/cmd/{aad → entra}/user/user-remove.mdx +9 -3
- package/docs/docs/cmd/{aad → entra}/user/user-set.mdx +15 -9
- package/docs/docs/cmd/{aad → entra}/user/user-signin-list.mdx +19 -13
- package/docs/docs/cmd/external/connection/connection-urltoitemresolver-add.mdx +47 -0
- package/docs/docs/cmd/flow/run/run-get.mdx +167 -4
- package/docs/docs/cmd/graph/schemaextension/schemaextension-add.mdx +1 -1
- package/docs/docs/cmd/graph/schemaextension/schemaextension-set.mdx +1 -1
- package/docs/docs/cmd/pa/app/app-get.mdx +15 -0
- package/docs/docs/cmd/pa/app/app-remove.mdx +14 -0
- package/docs/docs/cmd/planner/plan/plan-add.mdx +1 -1
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.mdx +1 -1
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +1 -1
- package/docs/docs/cmd/spo/commandset/commandset-add.mdx +1 -1
- package/docs/docs/cmd/spo/commandset/commandset-set.mdx +1 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-set.mdx +1 -1
- package/docs/docs/cmd/spo/customaction/customaction-add.mdx +1 -1
- package/docs/docs/cmd/spo/customaction/customaction-set.mdx +1 -1
- package/docs/docs/cmd/spo/field/field-set.mdx +1 -1
- package/docs/docs/cmd/spo/group/group-member-add.mdx +19 -7
- package/docs/docs/cmd/spo/group/group-member-remove.mdx +12 -6
- package/docs/docs/cmd/spo/list/list-view-set.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-add.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-batch-add.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-list.mdx +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-set.mdx +1 -1
- package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.mdx +1 -1
- package/docs/docs/cmd/spo/page/page-control-set.mdx +1 -1
- package/docs/docs/cmd/spo/page/page-set.mdx +2 -2
- package/docs/docs/cmd/spo/site/site-add.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +1 -1
- package/docs/docs/cmd/spo/term/term-add.mdx +1 -1
- package/docs/docs/cmd/spo/term/term-group-add.mdx +1 -1
- package/docs/docs/cmd/spo/term/term-set-add.mdx +1 -1
- package/docs/docs/cmd/spo/user/user-ensure.mdx +8 -5
- package/docs/docs/cmd/teams/team/team-add.mdx +1 -1
- package/docs/docs/cmd/teams/user/user-app-add.mdx +8 -5
- package/npm-shrinkwrap.json +298 -542
- package/package.json +21 -21
- package/dist/m365/aad/commands/m365group/m365group-user-list.js +0 -94
- package/docs/docs/cmd/aad/app/app-permission-add.mdx +0 -62
- package/docs/docs/cmd/aad/app/app-remove.mdx +0 -59
- package/docs/docs/cmd/aad/app/app-role-add.mdx +0 -68
- package/docs/docs/cmd/aad/app/app-role-remove.mdx +0 -78
- package/docs/docs/cmd/aad/app/app-set.mdx +0 -97
- package/docs/docs/cmd/aad/group/group-remove.mdx +0 -44
- package/docs/docs/cmd/aad/m365group/m365group-user-list.mdx +0 -99
- /package/dist/m365/{aad → entra}/commands/approleassignment/ServicePrincipal.js +0 -0
- /package/dist/m365/{aad → entra}/commands/m365group/GroupExtended.js +0 -0
- /package/dist/m365/{aad → entra}/commands/siteclassification/SiteClassificationSettings.js +0 -0
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# entra oauth2grant remove
|
|
4
4
|
|
|
5
5
|
Remove specified service principal OAuth2 permissions
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
9
|
+
```sh
|
|
10
|
+
m365 entra oauth2grant remove [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Alias
|
|
14
|
+
|
|
9
15
|
```sh
|
|
10
16
|
m365 aad oauth2grant remove [options]
|
|
11
17
|
```
|
|
@@ -24,12 +30,12 @@ m365 aad oauth2grant remove [options]
|
|
|
24
30
|
|
|
25
31
|
## Remarks
|
|
26
32
|
|
|
27
|
-
Before you can remove service principal's OAuth2 permissions, you need to get the `objectId` of the permissions grant to remove. You can retrieve it using the [
|
|
33
|
+
Before you can remove service principal's OAuth2 permissions, you need to get the `objectId` of the permissions grant to remove. You can retrieve it using the [entra oauth2grant list](./oauth2grant-list.mdx) command.
|
|
28
34
|
|
|
29
|
-
If the `objectId` listed when using the [
|
|
35
|
+
If the `objectId` listed when using the [entra oauth2grant list](./oauth2grant-list.mdx) command has a minus sign ('-') prefix, you may receive an error indicating `--grantId` is missing. To resolve this issue simply escape the leading '-'.
|
|
30
36
|
|
|
31
37
|
```sh
|
|
32
|
-
m365
|
|
38
|
+
m365 entra oauth2grant remove --grantId \\-Zc1JRY8REeLxmXz5KtixAYU3Q6noCBPlhwGiX7pxmU
|
|
33
39
|
```
|
|
34
40
|
|
|
35
41
|
## Examples
|
|
@@ -37,13 +43,13 @@ m365 aad oauth2grant remove --grantId \\-Zc1JRY8REeLxmXz5KtixAYU3Q6noCBPlhwGiX7p
|
|
|
37
43
|
Remove the OAuth2 permission grant with ID _YgA60KYa4UOPSdc-lpxYEnQkr8KVLDpCsOXkiV8i-ek_
|
|
38
44
|
|
|
39
45
|
```sh
|
|
40
|
-
m365
|
|
46
|
+
m365 entra oauth2grant remove --grantId YgA60KYa4UOPSdc-lpxYEnQkr8KVLDpCsOXkiV8i-ek
|
|
41
47
|
```
|
|
42
48
|
|
|
43
49
|
Remove the OAuth2 permission grant with ID _YgA60KYa4UOPSdc-lpxYEnQkr8KVLDpCsOXkiV8i-ek_ without being asked for confirmation
|
|
44
50
|
|
|
45
51
|
```sh
|
|
46
|
-
m365
|
|
52
|
+
m365 entra oauth2grant remove --grantId YgA60KYa4UOPSdc-lpxYEnQkr8KVLDpCsOXkiV8i-ek --force
|
|
47
53
|
```
|
|
48
54
|
|
|
49
55
|
## Response
|
|
@@ -52,5 +58,5 @@ The command won't return a response on success.
|
|
|
52
58
|
|
|
53
59
|
## More information
|
|
54
60
|
|
|
55
|
-
- Application and service principal objects in
|
|
61
|
+
- Application and service principal objects in Entra ID (Azure AD): [https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects](https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects)
|
|
56
62
|
- Delete a delegated permission grant (oAuth2PermissionGrant): [https://learn.microsoft.com/graph/api/oauth2permissiongrant-delete?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/oauth2permissiongrant-delete?view=graph-rest-1.0)
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# entra oauth2grant set
|
|
4
4
|
|
|
5
5
|
Update OAuth2 permissions for the service principal
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
9
|
+
```sh
|
|
10
|
+
m365 entra oauth2grant set [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Alias
|
|
14
|
+
|
|
9
15
|
```sh
|
|
10
16
|
m365 aad oauth2grant set [options]
|
|
11
17
|
```
|
|
@@ -24,12 +30,12 @@ m365 aad oauth2grant set [options]
|
|
|
24
30
|
|
|
25
31
|
## Remarks
|
|
26
32
|
|
|
27
|
-
Before you can update service principal's OAuth2 permissions, you need to get the `objectId` of the permissions grant to update. You can retrieve it using the [
|
|
33
|
+
Before you can update service principal's OAuth2 permissions, you need to get the `objectId` of the permissions grant to update. You can retrieve it using the [entra oauth2grant list](./oauth2grant-list.mdx) command.
|
|
28
34
|
|
|
29
|
-
If the `objectId` listed when using the [
|
|
35
|
+
If the `objectId` listed when using the [entra oauth2grant list](./oauth2grant-list.mdx) command has a minus sign ('-') prefix, you may receive an error indicating `--grantId` is missing. To resolve this issue simply escape the leading '-'.
|
|
30
36
|
|
|
31
37
|
```sh
|
|
32
|
-
m365
|
|
38
|
+
m365 entra oauth2grant set --grantId \\-Zc1JRY8REeLxmXz5KtixAYU3Q6noCBPlhwGiX7pxmU
|
|
33
39
|
```
|
|
34
40
|
|
|
35
41
|
## Examples
|
|
@@ -37,7 +43,7 @@ m365 aad oauth2grant set --grantId \\-Zc1JRY8REeLxmXz5KtixAYU3Q6noCBPlhwGiX7pxmU
|
|
|
37
43
|
Update the existing OAuth2 permission grant with ID _YgA60KYa4UOPSdc-lpxYEnQkr8KVLDpCsOXkiV8i-ek_ to the _Calendars.Read Mail.Read_ permissions
|
|
38
44
|
|
|
39
45
|
```sh
|
|
40
|
-
m365
|
|
46
|
+
m365 entra oauth2grant set --grantId YgA60KYa4UOPSdc-lpxYEnQkr8KVLDpCsOXkiV8i-ek --scope "Calendars.Read Mail.Read"
|
|
41
47
|
```
|
|
42
48
|
|
|
43
49
|
## Response
|
|
@@ -46,5 +52,5 @@ The command won't return a response on success.
|
|
|
46
52
|
|
|
47
53
|
## More information
|
|
48
54
|
|
|
49
|
-
- Application and service principal objects in
|
|
55
|
+
- Application and service principal objects in Entra ID (Azure AD): [https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects](https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects)
|
|
50
56
|
- Update a delegated permission grant (oAuth2PermissionGrant): [https://learn.microsoft.com/graph/api/oauth2permissiongrant-update?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/oauth2permissiongrant-update?view=graph-rest-1.0)
|
|
@@ -2,12 +2,18 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# entra policy list
|
|
6
6
|
|
|
7
|
-
Returns policies from
|
|
7
|
+
Returns policies from Entra ID
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
|
+
```sh
|
|
12
|
+
m365 entra policy list [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Alias
|
|
16
|
+
|
|
11
17
|
```sh
|
|
12
18
|
m365 aad policy list [options]
|
|
13
19
|
```
|
|
@@ -23,16 +29,16 @@ m365 aad policy list [options]
|
|
|
23
29
|
|
|
24
30
|
## Examples
|
|
25
31
|
|
|
26
|
-
Returns all policies from
|
|
32
|
+
Returns all policies from Entra ID
|
|
27
33
|
|
|
28
34
|
```sh
|
|
29
|
-
m365
|
|
35
|
+
m365 entra policy list
|
|
30
36
|
```
|
|
31
37
|
|
|
32
|
-
Returns claim-mapping policies from
|
|
38
|
+
Returns claim-mapping policies from Entra ID
|
|
33
39
|
|
|
34
40
|
```sh
|
|
35
|
-
m365
|
|
41
|
+
m365 entra policy list --type "claimsMapping"
|
|
36
42
|
```
|
|
37
43
|
|
|
38
44
|
## Response
|
|
@@ -88,7 +94,7 @@ m365 aad policy list --type "claimsMapping"
|
|
|
88
94
|
<TabItem value="Markdown">
|
|
89
95
|
|
|
90
96
|
```md
|
|
91
|
-
#
|
|
97
|
+
# entra policy list
|
|
92
98
|
|
|
93
99
|
Date: 2023-06-02
|
|
94
100
|
|
|
@@ -112,4 +118,4 @@ m365 aad policy list --type "claimsMapping"
|
|
|
112
118
|
|
|
113
119
|
## More information
|
|
114
120
|
|
|
115
|
-
- Microsoft Graph
|
|
121
|
+
- Microsoft Graph Entra ID policy overview: [https://learn.microsoft.com/graph/api/resources/policy-overview?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/resources/policy-overview?view=graph-rest-1.0)
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# entra siteclassification disable
|
|
4
4
|
|
|
5
5
|
Disables site classification
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
9
|
+
```sh
|
|
10
|
+
m365 entra siteclassification disable [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Alias
|
|
14
|
+
|
|
9
15
|
```sh
|
|
10
16
|
m365 aad siteclassification disable [options]
|
|
11
17
|
```
|
|
@@ -24,13 +30,13 @@ m365 aad siteclassification disable [options]
|
|
|
24
30
|
Disable site classification
|
|
25
31
|
|
|
26
32
|
```sh
|
|
27
|
-
m365
|
|
33
|
+
m365 entra siteclassification disable
|
|
28
34
|
```
|
|
29
35
|
|
|
30
36
|
Disable site classification without confirmation
|
|
31
37
|
|
|
32
38
|
```sh
|
|
33
|
-
m365
|
|
39
|
+
m365 entra siteclassification disable --force
|
|
34
40
|
```
|
|
35
41
|
|
|
36
42
|
## Response
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# entra siteclassification enable
|
|
4
4
|
|
|
5
5
|
Enables site classification configuration
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
9
|
+
```sh
|
|
10
|
+
m365 entra siteclassification enable [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Alias
|
|
14
|
+
|
|
9
15
|
```sh
|
|
10
16
|
m365 aad siteclassification enable [options]
|
|
11
17
|
```
|
|
@@ -33,19 +39,19 @@ m365 aad siteclassification enable [options]
|
|
|
33
39
|
Enable site classification
|
|
34
40
|
|
|
35
41
|
```sh
|
|
36
|
-
m365
|
|
42
|
+
m365 entra siteclassification enable --classifications "High, Medium, Low" --defaultClassification "Medium"
|
|
37
43
|
```
|
|
38
44
|
|
|
39
45
|
Enable site classification with a usage guidelines URL
|
|
40
46
|
|
|
41
47
|
```sh
|
|
42
|
-
m365
|
|
48
|
+
m365 entra siteclassification enable --classifications "High, Medium, Low" --defaultClassification "Medium" --usageGuidelinesUrl "http://aka.ms/pnp"
|
|
43
49
|
```
|
|
44
50
|
|
|
45
51
|
Enable site classification with usage guidelines URLs for guests and members
|
|
46
52
|
|
|
47
53
|
```sh
|
|
48
|
-
m365
|
|
54
|
+
m365 entra siteclassification enable --classifications "High, Medium, Low" --defaultClassification "Medium" --usageGuidelinesUrl "http://aka.ms/pnp" --guestUsageGuidelinesUrl "http://aka.ms/pnp"
|
|
49
55
|
```
|
|
50
56
|
|
|
51
57
|
## Response
|
|
@@ -2,12 +2,18 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# entra siteclassification get
|
|
6
6
|
|
|
7
7
|
Gets site classification configuration
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
|
+
```sh
|
|
12
|
+
m365 entra siteclassification get [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Alias
|
|
16
|
+
|
|
11
17
|
```sh
|
|
12
18
|
m365 aad siteclassification get [options]
|
|
13
19
|
```
|
|
@@ -21,7 +27,7 @@ m365 aad siteclassification get [options]
|
|
|
21
27
|
Get information about the Microsoft 365 Tenant site classification
|
|
22
28
|
|
|
23
29
|
```sh
|
|
24
|
-
m365
|
|
30
|
+
m365 entra siteclassification get
|
|
25
31
|
```
|
|
26
32
|
|
|
27
33
|
## Response
|
|
@@ -65,7 +71,7 @@ m365 aad siteclassification get
|
|
|
65
71
|
<TabItem value="Markdown">
|
|
66
72
|
|
|
67
73
|
```md
|
|
68
|
-
#
|
|
74
|
+
# entra siteclassification get
|
|
69
75
|
|
|
70
76
|
Date: 2023-06-02
|
|
71
77
|
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# entra siteclassification set
|
|
4
4
|
|
|
5
5
|
Updates site classification configuration
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
9
|
+
```sh
|
|
10
|
+
m365 entra siteclassification set [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Alias
|
|
14
|
+
|
|
9
15
|
```sh
|
|
10
16
|
m365 aad siteclassification set [options]
|
|
11
17
|
```
|
|
@@ -34,25 +40,25 @@ m365 aad siteclassification set [options]
|
|
|
34
40
|
Update Microsoft 365 Tenant site classification configuration
|
|
35
41
|
|
|
36
42
|
```sh
|
|
37
|
-
m365
|
|
43
|
+
m365 entra siteclassification set --classifications "High, Medium, Low" --defaultClassification "Medium"
|
|
38
44
|
```
|
|
39
45
|
|
|
40
46
|
Update only the default classification
|
|
41
47
|
|
|
42
48
|
```sh
|
|
43
|
-
m365
|
|
49
|
+
m365 entra siteclassification set --defaultClassification "Low"
|
|
44
50
|
```
|
|
45
51
|
|
|
46
52
|
Update site classification with a usage guidelines URL
|
|
47
53
|
|
|
48
54
|
```sh
|
|
49
|
-
m365
|
|
55
|
+
m365 entra siteclassification set --usageGuidelinesUrl "http://aka.ms/pnp"
|
|
50
56
|
```
|
|
51
57
|
|
|
52
58
|
Update site classification with usage guidelines URLs for guests and members
|
|
53
59
|
|
|
54
60
|
```sh
|
|
55
|
-
m365
|
|
61
|
+
m365 entra siteclassification set --usageGuidelinesUrl "http://aka.ms/pnp" --guestUsageGuidelinesUrl "http://aka.ms/pnp"
|
|
56
62
|
```
|
|
57
63
|
|
|
58
64
|
## Response
|
|
@@ -2,12 +2,18 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# entra sp add
|
|
6
6
|
|
|
7
|
-
Adds a service principal to a registered
|
|
7
|
+
Adds a service principal to a registered Entra app
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
|
+
```sh
|
|
12
|
+
m365 entra sp add [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Alias
|
|
16
|
+
|
|
11
17
|
```sh
|
|
12
18
|
m365 aad sp add [options]
|
|
13
19
|
```
|
|
@@ -31,26 +37,26 @@ m365 aad sp add [options]
|
|
|
31
37
|
|
|
32
38
|
Specify either the `appId`, `appName` or `objectId`. If you specify more than one option value, the command will fail with an error.
|
|
33
39
|
|
|
34
|
-
If you register an application in the portal, an application object as well as a service principal object are automatically created in your home tenant. If you register an application using CLI for Microsoft 365 or the Microsoft Graph, you'll need to create the service principal separately. To register/create an application using the CLI for Microsoft 365, use the [m365
|
|
40
|
+
If you register an application in the portal, an application object as well as a service principal object are automatically created in your home tenant. If you register an application using CLI for Microsoft 365 or the Microsoft Graph, you'll need to create the service principal separately. To register/create an application using the CLI for Microsoft 365, use the [m365 entra app add](../app/app-add.mdx) command.
|
|
35
41
|
|
|
36
42
|
## Examples
|
|
37
43
|
|
|
38
|
-
Adds a service principal to a registered
|
|
44
|
+
Adds a service principal to a registered Entra app with appId _b2307a39-e878-458b-bc90-03bc578531d6_.
|
|
39
45
|
|
|
40
46
|
```sh
|
|
41
|
-
m365
|
|
47
|
+
m365 entra sp add --appId b2307a39-e878-458b-bc90-03bc578531d6
|
|
42
48
|
```
|
|
43
49
|
|
|
44
|
-
Adds a service principal to a registered
|
|
50
|
+
Adds a service principal to a registered Entra app with appName _Microsoft Graph_.
|
|
45
51
|
|
|
46
52
|
```sh
|
|
47
|
-
m365
|
|
53
|
+
m365 entra sp add --appName "Microsoft Graph"
|
|
48
54
|
```
|
|
49
55
|
|
|
50
|
-
Adds a service principal to a registered
|
|
56
|
+
Adds a service principal to a registered Entra app with objectId _b2307a39-e878-458b-bc90-03bc578531d6_.
|
|
51
57
|
|
|
52
58
|
```sh
|
|
53
|
-
m365
|
|
59
|
+
m365 entra sp add --objectId b2307a39-e878-458b-bc90-03bc578531d6
|
|
54
60
|
```
|
|
55
61
|
|
|
56
62
|
## Response
|
|
@@ -64,7 +70,7 @@ m365 aad sp add --objectId b2307a39-e878-458b-bc90-03bc578531d6
|
|
|
64
70
|
"deletedDateTime": null,
|
|
65
71
|
"accountEnabled": true,
|
|
66
72
|
"alternativeNames": [],
|
|
67
|
-
"appDisplayName": "My
|
|
73
|
+
"appDisplayName": "My Entra app",
|
|
68
74
|
"appDescription": null,
|
|
69
75
|
"appId": "a1023942-9f35-42a6-baf6-390f3a5f89c4",
|
|
70
76
|
"applicationTemplateId": null,
|
|
@@ -73,7 +79,7 @@ m365 aad sp add --objectId b2307a39-e878-458b-bc90-03bc578531d6
|
|
|
73
79
|
"createdDateTime": null,
|
|
74
80
|
"description": null,
|
|
75
81
|
"disabledByMicrosoftStatus": null,
|
|
76
|
-
"displayName": "My
|
|
82
|
+
"displayName": "My Entra app",
|
|
77
83
|
"homepage": null,
|
|
78
84
|
"loginUrl": null,
|
|
79
85
|
"logoutUrl": null,
|
|
@@ -119,7 +125,7 @@ m365 aad sp add --objectId b2307a39-e878-458b-bc90-03bc578531d6
|
|
|
119
125
|
addIns : []
|
|
120
126
|
alternativeNames : []
|
|
121
127
|
appDescription : null
|
|
122
|
-
appDisplayName : My
|
|
128
|
+
appDisplayName : My Entra app
|
|
123
129
|
appId : f0790438-1fde-4340-8e64-3c770757dc4d
|
|
124
130
|
appOwnerOrganizationId : c2b2a0f7-fa44-4929-a994-757b7b998f01
|
|
125
131
|
appRoleAssignmentRequired : false
|
|
@@ -129,7 +135,7 @@ m365 aad sp add --objectId b2307a39-e878-458b-bc90-03bc578531d6
|
|
|
129
135
|
deletedDateTime : null
|
|
130
136
|
description : null
|
|
131
137
|
disabledByMicrosoftStatus : null
|
|
132
|
-
displayName : My
|
|
138
|
+
displayName : My Entra app
|
|
133
139
|
homepage : null
|
|
134
140
|
id : 6897ea56-b26f-4257-9101-2df7f1bcf2a2
|
|
135
141
|
info : {"logoUrl":null,"marketingUrl":null,"privacyStatementUrl":null,"supportUrl":null,"termsOfServiceUrl":null}
|
|
@@ -158,28 +164,28 @@ m365 aad sp add --objectId b2307a39-e878-458b-bc90-03bc578531d6
|
|
|
158
164
|
|
|
159
165
|
```csv
|
|
160
166
|
id,accountEnabled,appDisplayName,appId,appOwnerOrganizationId,appRoleAssignmentRequired,displayName,servicePrincipalType,signInAudience
|
|
161
|
-
29e00a15-cdb7-4d36-a745-30d920173dd8,1,My
|
|
167
|
+
29e00a15-cdb7-4d36-a745-30d920173dd8,1,My Entra app,ea8340e9-e464-4597-93f1-e115f9f8c7be,c2b2a0f7-fa44-4929-a994-757b7b998f01,,My Entra app,Application,AzureADMyOrg
|
|
162
168
|
```
|
|
163
169
|
|
|
164
170
|
</TabItem>
|
|
165
171
|
<TabItem value="Markdown">
|
|
166
172
|
|
|
167
173
|
```md
|
|
168
|
-
#
|
|
174
|
+
# entra sp add --appId "8da75b6a-4272-4b17-8ee1-20ba66e2b06f"
|
|
169
175
|
|
|
170
176
|
Date: 2023-06-02
|
|
171
177
|
|
|
172
|
-
## My
|
|
178
|
+
## My Entra app (28adf0e2-596c-4012-b24b-b0ec033a8f89)
|
|
173
179
|
|
|
174
180
|
Property | Value
|
|
175
181
|
---------|-------
|
|
176
182
|
id | 28adf0e2-596c-4012-b24b-b0ec033a8f89
|
|
177
183
|
accountEnabled | true
|
|
178
|
-
appDisplayName | My
|
|
184
|
+
appDisplayName | My Entra app
|
|
179
185
|
appId | 8da75b6a-4272-4b17-8ee1-20ba66e2b06f
|
|
180
186
|
appOwnerOrganizationId | c2b2a0f7-fa44-4929-a994-757b7b998f01
|
|
181
187
|
appRoleAssignmentRequired | false
|
|
182
|
-
displayName | My
|
|
188
|
+
displayName | My Entra app
|
|
183
189
|
servicePrincipalType | Application
|
|
184
190
|
signInAudience | AzureADMyOrg
|
|
185
191
|
```
|
|
@@ -189,5 +195,5 @@ m365 aad sp add --objectId b2307a39-e878-458b-bc90-03bc578531d6
|
|
|
189
195
|
|
|
190
196
|
## More information
|
|
191
197
|
|
|
192
|
-
- Application and service principal objects in
|
|
198
|
+
- Application and service principal objects in Entra ID (Azure AD): [https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects](https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects)
|
|
193
199
|
- Create servicePrincipal: [https://learn.microsoft.com/graph/api/serviceprincipal-post-serviceprincipals?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/serviceprincipal-post-serviceprincipals?view=graph-rest-1.0)
|
|
@@ -2,12 +2,18 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# entra sp get
|
|
6
6
|
|
|
7
7
|
Gets information about the specific service principal
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
|
+
```sh
|
|
12
|
+
m365 entra sp get [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Alias
|
|
16
|
+
|
|
11
17
|
```sh
|
|
12
18
|
m365 aad sp get [options]
|
|
13
19
|
```
|
|
@@ -36,19 +42,19 @@ Specify either the `appId`, `appObjectId` or `appDisplayName`. If you specify mo
|
|
|
36
42
|
Return details about the service principal with appId _b2307a39-e878-458b-bc90-03bc578531d6_.
|
|
37
43
|
|
|
38
44
|
```sh
|
|
39
|
-
m365
|
|
45
|
+
m365 entra sp get --appId b2307a39-e878-458b-bc90-03bc578531d6
|
|
40
46
|
```
|
|
41
47
|
|
|
42
48
|
Return details about the _Microsoft Graph_ service principal.
|
|
43
49
|
|
|
44
50
|
```sh
|
|
45
|
-
m365
|
|
51
|
+
m365 entra sp get --appDisplayName "Microsoft Graph"
|
|
46
52
|
```
|
|
47
53
|
|
|
48
54
|
Return details about the service principal with ObjectId _b2307a39-e878-458b-bc90-03bc578531dd_.
|
|
49
55
|
|
|
50
56
|
```sh
|
|
51
|
-
m365
|
|
57
|
+
m365 entra sp get --appObjectId b2307a39-e878-458b-bc90-03bc578531dd
|
|
52
58
|
```
|
|
53
59
|
|
|
54
60
|
## Response
|
|
@@ -191,7 +197,7 @@ m365 aad sp get --appObjectId b2307a39-e878-458b-bc90-03bc578531dd
|
|
|
191
197
|
<TabItem value="Markdown">
|
|
192
198
|
|
|
193
199
|
```md
|
|
194
|
-
#
|
|
200
|
+
# entra sp get --appId "ac7c9b4b-83b0-4a5e-ace2-a3530162c8f8"
|
|
195
201
|
|
|
196
202
|
Date: 2023-06-02
|
|
197
203
|
|
|
@@ -217,5 +223,5 @@ m365 aad sp get --appObjectId b2307a39-e878-458b-bc90-03bc578531dd
|
|
|
217
223
|
|
|
218
224
|
## More information
|
|
219
225
|
|
|
220
|
-
- Application and service principal objects in
|
|
226
|
+
- Application and service principal objects in Entra ID (Azure AD): [https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects](https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects)
|
|
221
227
|
- Get servicePrincipal: [https://learn.microsoft.com/graph/api/serviceprincipal-get?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/serviceprincipal-get?view=graph-rest-1.0)
|
|
@@ -2,12 +2,18 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# entra sp list
|
|
6
6
|
|
|
7
7
|
Lists the service principals in the directory
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
|
+
```sh
|
|
12
|
+
m365 entra sp list [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Alias
|
|
16
|
+
|
|
11
17
|
```sh
|
|
12
18
|
m365 aad sp list [options]
|
|
13
19
|
```
|
|
@@ -29,13 +35,13 @@ m365 aad sp list [options]
|
|
|
29
35
|
Return a list of all service principals
|
|
30
36
|
|
|
31
37
|
```sh
|
|
32
|
-
m365
|
|
38
|
+
m365 entra sp list
|
|
33
39
|
```
|
|
34
40
|
|
|
35
41
|
Return a list of all service principals that comply with the display name and the tag parameters
|
|
36
42
|
|
|
37
43
|
```sh
|
|
38
|
-
m365
|
|
44
|
+
m365 entra sp list --displayName "My custom service principal" --tag "WindowsAzureActiveDirectoryIntegratedApp"
|
|
39
45
|
```
|
|
40
46
|
|
|
41
47
|
## Response
|
|
@@ -138,7 +144,7 @@ m365 aad sp list --displayName "My custom service principal" --tag "WindowsAzure
|
|
|
138
144
|
<TabItem value="Markdown">
|
|
139
145
|
|
|
140
146
|
```md
|
|
141
|
-
#
|
|
147
|
+
# entra sp list
|
|
142
148
|
|
|
143
149
|
Date: 27/4/2023
|
|
144
150
|
|
|
@@ -2,12 +2,18 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# entra user add
|
|
6
6
|
|
|
7
7
|
Creates a new user
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
|
+
```sh
|
|
12
|
+
m365 entra user add [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Alias
|
|
16
|
+
|
|
11
17
|
```sh
|
|
12
18
|
m365 aad user add [options]
|
|
13
19
|
```
|
|
@@ -92,25 +98,25 @@ If the specified option is not found, you will receive a `Resource 'xyz' does no
|
|
|
92
98
|
Create a user and let him/her update the password at first login
|
|
93
99
|
|
|
94
100
|
```sh
|
|
95
|
-
m365
|
|
101
|
+
m365 entra user add --displayName "John Doe" --userName "john.doe@contoso.com" --password "SomePassw0rd" --forceChangePasswordNextSignIn
|
|
96
102
|
```
|
|
97
103
|
|
|
98
104
|
Create a user with job information
|
|
99
105
|
|
|
100
106
|
```sh
|
|
101
|
-
m365
|
|
107
|
+
m365 entra user add --displayName "John Doe" --userName "john.doe@contoso.com" --password "SomePassw0rd" --firstName John --lastName Doe --jobTitle "Sales Manager" --companyName Contoso --department Sales --officeLocation Vosselaar --forceChangePasswordNextSignIn
|
|
102
108
|
```
|
|
103
109
|
|
|
104
110
|
Create a user with language information
|
|
105
111
|
|
|
106
112
|
```sh
|
|
107
|
-
m365
|
|
113
|
+
m365 entra user add --displayName "John Doe" --userName "john.doe@contoso.com" --preferredLanguage "nl-BE" --usageLocation BE --forceChangePasswordNextSignIn
|
|
108
114
|
```
|
|
109
115
|
|
|
110
116
|
Create a user with a manager
|
|
111
117
|
|
|
112
118
|
```sh
|
|
113
|
-
m365
|
|
119
|
+
m365 entra user add --displayName "John Doe" --userName "john.doe@contoso.com" --managerUserName "adele@contoso.com"
|
|
114
120
|
```
|
|
115
121
|
|
|
116
122
|
## Response
|
|
@@ -165,7 +171,7 @@ m365 aad user add --displayName "John Doe" --userName "john.doe@contoso.com" --m
|
|
|
165
171
|
<TabItem value="Markdown">
|
|
166
172
|
|
|
167
173
|
```md
|
|
168
|
-
#
|
|
174
|
+
# entra user add --displayName "John Doe" --userName "john.doe@contoso.com" --password "SomePassw0rd" --firstName "John" --lastName "Doe" --jobTitle "Sales Manager" --officeLocation "Vosselaar" --preferredLanguage "nl-BE"
|
|
169
175
|
|
|
170
176
|
Date: 16/02/2023
|
|
171
177
|
|