@pnp/cli-microsoft365 7.4.0-beta.fce7b64 → 7.5.0-beta.0ae7da4
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} +3 -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/entra/commands/app/app-permission-list.js +182 -0
- 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/entra/commands/group/group-add.js +224 -0
- 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/entra/commands/user/user-get.js +115 -0
- 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 +89 -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/file/commands/file-copy.js +151 -0
- package/dist/m365/file/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 +24 -2
- package/dist/utils/urlUtil.js +31 -0
- package/dist/utils/validation.js +8 -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-permission-list.mdx +105 -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/entra/group/group-add.mdx +231 -0
- 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/file/file-copy.mdx +68 -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/dist/m365/aad/commands/user/user-get.js +0 -111
- 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
|
@@ -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 app role list
|
|
6
6
|
|
|
7
|
-
Gets
|
|
7
|
+
Gets Entra app registration roles
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
|
+
```sh
|
|
12
|
+
m365 entra app role list [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Alias
|
|
16
|
+
|
|
11
17
|
```sh
|
|
12
18
|
m365 aad app role list [options]
|
|
13
19
|
```
|
|
@@ -16,41 +22,41 @@ m365 aad app role list [options]
|
|
|
16
22
|
|
|
17
23
|
```md definition-list
|
|
18
24
|
`--appId [appId]`
|
|
19
|
-
: Application (client) ID of the
|
|
25
|
+
: Application (client) ID of the Entra application registration for which to retrieve roles. Specify either `appId`, `appObjectId` or `appName`
|
|
20
26
|
|
|
21
27
|
`--appObjectId [appObjectId]`
|
|
22
|
-
: Object ID of the
|
|
28
|
+
: Object ID of the Entra application registration for which to retrieve roles. Specify either `appId`, `appObjectId` or `appName`
|
|
23
29
|
|
|
24
30
|
`--appName [appName]`
|
|
25
|
-
: Name of the
|
|
31
|
+
: Name of the Entra application registration for which to retrieve roles. Specify either `appId`, `appObjectId` or `appName`
|
|
26
32
|
```
|
|
27
33
|
|
|
28
34
|
<Global />
|
|
29
35
|
|
|
30
36
|
## Remarks
|
|
31
37
|
|
|
32
|
-
For best performance use the `appObjectId` option to reference the
|
|
38
|
+
For best performance use the `appObjectId` option to reference the Entra application registration for which to retrieve roles. If you use `appId` or `appName`, this command will first need to find the corresponding object ID for that application.
|
|
33
39
|
|
|
34
|
-
If the command finds multiple
|
|
40
|
+
If the command finds multiple Entra application registrations with the specified app name, it will prompt you to disambiguate which app it should use, listing the discovered object IDs.
|
|
35
41
|
|
|
36
42
|
## Examples
|
|
37
43
|
|
|
38
|
-
Get roles for the
|
|
44
|
+
Get roles for the Entra application registration specified by its object ID
|
|
39
45
|
|
|
40
46
|
```sh
|
|
41
|
-
m365
|
|
47
|
+
m365 entra app role list --appObjectId d75be2e1-0204-4f95-857d-51a37cf40be8
|
|
42
48
|
```
|
|
43
49
|
|
|
44
|
-
Get roles for the
|
|
50
|
+
Get roles for the Entra application registration specified by its app (client) ID
|
|
45
51
|
|
|
46
52
|
```sh
|
|
47
|
-
m365
|
|
53
|
+
m365 entra app role list --appId e75be2e1-0204-4f95-857d-51a37cf40be8
|
|
48
54
|
```
|
|
49
55
|
|
|
50
|
-
Get roles for the
|
|
56
|
+
Get roles for the Entra application registration specified by its name
|
|
51
57
|
|
|
52
58
|
```sh
|
|
53
|
-
m365
|
|
59
|
+
m365 entra app role list --appName "My app"
|
|
54
60
|
```
|
|
55
61
|
|
|
56
62
|
## Response
|
|
@@ -95,7 +101,7 @@ m365 aad app role list --appName "My app"
|
|
|
95
101
|
<TabItem value="Markdown">
|
|
96
102
|
|
|
97
103
|
```md
|
|
98
|
-
#
|
|
104
|
+
# entra app role list --appObjectId "29d99e17-96b7-46aa-816d-b52bfeeafeb9"
|
|
99
105
|
|
|
100
106
|
Date: 2023-06-01
|
|
101
107
|
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
|
|
3
|
+
# entra app role remove
|
|
4
|
+
|
|
5
|
+
Removes role from the specified Entra app registration
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
m365 entra app role remove [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Alias
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
m365 aad app role remove [options]
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Options
|
|
20
|
+
|
|
21
|
+
```md definition-list
|
|
22
|
+
`--appId [appId]`
|
|
23
|
+
: Application (client) ID of the Entra application registration from which role should be removed. Specify either `appId`, `appObjectId` or `appName`
|
|
24
|
+
|
|
25
|
+
`--appObjectId [appObjectId]`
|
|
26
|
+
: Object ID of the Entra application registration from which role should be removed. Specify either `appId`, `appObjectId` or `appName`
|
|
27
|
+
|
|
28
|
+
`--appName [appName]`
|
|
29
|
+
: Name of the Entra application registration from which role should be removed. Specify either `appId`, `appObjectId` or `appName`
|
|
30
|
+
|
|
31
|
+
`-n, --name [name]`
|
|
32
|
+
: Name of the role to remove. Specify either `name`, `id` or `claim`
|
|
33
|
+
|
|
34
|
+
`-i, --id [id]`
|
|
35
|
+
: Id of the role to remove. Specify either `name`, `id` or `claim`
|
|
36
|
+
|
|
37
|
+
`-c, --claim [claim]`
|
|
38
|
+
: Claim value of the role to remove. Specify either `name`, `id` or `claim`
|
|
39
|
+
|
|
40
|
+
`-f, --force`
|
|
41
|
+
: Don't prompt for confirmation to remove the role.
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
<Global />
|
|
45
|
+
|
|
46
|
+
## Remarks
|
|
47
|
+
|
|
48
|
+
For best performance use the `appObjectId` option to reference the Entra application registration from which to remove the role. If you use `appId` or `appName`, this command will first need to find the corresponding object ID for that application.
|
|
49
|
+
|
|
50
|
+
If the command finds multiple Entra application registrations with the specified app name, it will prompt you to disambiguate which app it should use, listing the discovered object IDs.
|
|
51
|
+
|
|
52
|
+
If the command finds multiple roles with the specified role name, it will prompt you to disambiguate which role it should use, listing the claim values.
|
|
53
|
+
|
|
54
|
+
If the role to be removed is 'Enabled', this command will disable the role first and then remove.
|
|
55
|
+
|
|
56
|
+
## Examples
|
|
57
|
+
|
|
58
|
+
Remove role from a Entra application registration using object ID and role name options. Will prompt for confirmation before deleting the role.
|
|
59
|
+
|
|
60
|
+
```sh
|
|
61
|
+
m365 entra app role remove --appObjectId d75be2e1-0204-4f95-857d-51a37cf40be8 --name "Get Product"
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Remove role from a Entra application registration using app (client) ID and role claim options. Will prompt for confirmation before deleting the role.
|
|
65
|
+
|
|
66
|
+
```sh
|
|
67
|
+
m365 entra app role remove --appId e75be2e1-0204-4f95-857d-51a37cf40be8 --claim "Product.Get"
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Remove role from a Entra application registration using app name and role claim options. Will prompt for confirmation before deleting the role.
|
|
71
|
+
|
|
72
|
+
```sh
|
|
73
|
+
m365 entra app role remove --appName "My app" --claim "Product.Get"
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Remove role from a Entra application registration using object ID and role id options. Will NOT prompt for confirmation before deleting the role.
|
|
77
|
+
|
|
78
|
+
```sh
|
|
79
|
+
m365 entra app role remove --appObjectId d75be2e1-0204-4f95-857d-51a37cf40be8 --id 15927ce6-1933-4b2f-b029-4dee3d53f4dd --force
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## Response
|
|
83
|
+
|
|
84
|
+
The command won't return a response on success.
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
|
|
3
|
+
# entra app set
|
|
4
|
+
|
|
5
|
+
Updates Entra app registration
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
m365 entra app set [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Alias
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
m365 aad app set [options]
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Options
|
|
20
|
+
|
|
21
|
+
```md definition-list
|
|
22
|
+
`--appId [appId]`
|
|
23
|
+
: Application (client) ID of the Entra application registration to update. Specify either `appId`, `objectId` or `name`.
|
|
24
|
+
|
|
25
|
+
`--objectId [objectId]`
|
|
26
|
+
: Object ID of the Entra application registration to update. Specify either `appId`, `objectId` or `name`.
|
|
27
|
+
|
|
28
|
+
`--name [name]`
|
|
29
|
+
: Name of the Entra application registration to update. Specify either `appId`, `objectId` or `name`.
|
|
30
|
+
|
|
31
|
+
`-u, --uris [uris]`
|
|
32
|
+
: Comma-separated list of Application ID URIs to update.
|
|
33
|
+
|
|
34
|
+
`-r, --redirectUris [redirectUris]`
|
|
35
|
+
: Comma-separated list of redirect URIs to add to the app registration. Requires `platform` to be specified.
|
|
36
|
+
|
|
37
|
+
`-p, --platform [platform]`
|
|
38
|
+
: Platform for which the `redirectUri` should be configured. Allowed values `spa`, `web`, `publicClient`.
|
|
39
|
+
|
|
40
|
+
`--redirectUrisToRemove [redirectUrisToRemove]`
|
|
41
|
+
: Comma-separated list of existing redirect URIs to remove. Specify, when you want to replace existing redirect URIs with another.
|
|
42
|
+
|
|
43
|
+
`--certificateFile [certificateFile]`
|
|
44
|
+
: Path to the file with certificate public key. Specify either `certificateFile` or `certificateBase64Encoded`.
|
|
45
|
+
|
|
46
|
+
`--certificateBase64Encoded [certificateBase64Encoded]`
|
|
47
|
+
: Base64-encoded string with certificate public key. Specify either `certificateFile` or `certificateBase64Encoded`.
|
|
48
|
+
|
|
49
|
+
`--certificateDisplayName [certificateDisplayName]`
|
|
50
|
+
: Display name for the certificate. If not given, the displayName will be set to the certificate subject. When specified, also specify either `certificateFile` or `certificateBase64Encoded`.
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
<Global />
|
|
54
|
+
|
|
55
|
+
## Remarks
|
|
56
|
+
|
|
57
|
+
For best performance use the `objectId` option to reference the Entra application registration to update. If you use `appId` or `name`, this command will first need to find the corresponding object ID for that application.
|
|
58
|
+
|
|
59
|
+
If the command finds multiple Entra application registrations with the specified app name, it will prompt you to disambiguate which app it should use, listing the discovered object IDs.
|
|
60
|
+
|
|
61
|
+
When a certificate is specified it will be added to the list of certificates of the app without changing existing certificates.
|
|
62
|
+
|
|
63
|
+
## Examples
|
|
64
|
+
|
|
65
|
+
Update the app URI of the Entra application registration specified by its object ID
|
|
66
|
+
|
|
67
|
+
```sh
|
|
68
|
+
m365 entra app set --objectId d75be2e1-0204-4f95-857d-51a37cf40be8 --uris https://contoso.com/e75be2e1-0204-4f95-857d-51a37cf40be8
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Update the app URI of the Entra application registration specified by its app (client) ID
|
|
72
|
+
|
|
73
|
+
```sh
|
|
74
|
+
m365 entra app set --appId e75be2e1-0204-4f95-857d-51a37cf40be8 --uris https://contoso.com/e75be2e1-0204-4f95-857d-51a37cf40be8
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Update the app URI of the Entra application registration specified by its name
|
|
78
|
+
|
|
79
|
+
```sh
|
|
80
|
+
m365 entra app set --name "My app" --uris https://contoso.com/e75be2e1-0204-4f95-857d-51a37cf40be8
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Add a new redirect URI for SPA authentication
|
|
84
|
+
|
|
85
|
+
```sh
|
|
86
|
+
m365 entra app set --objectId 95cfe30d-ed44-4f9d-b73d-c66560f72e83 --redirectUris https://contoso.com/auth --platform spa
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
Replace one redirect URI with another for SPA authentication
|
|
90
|
+
|
|
91
|
+
```sh
|
|
92
|
+
m365 entra app set --objectId 95cfe30d-ed44-4f9d-b73d-c66560f72e83 --redirectUris https://contoso.com/auth --platform spa --redirectUrisToRemove https://contoso.com/old-auth
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
Add a certificate to the app
|
|
96
|
+
|
|
97
|
+
```sh
|
|
98
|
+
m365 entra app set --appId e75be2e1-0204-4f95-857d-51a37cf40be8 --certificateDisplayName "Some certificate name" --certificateFile "c:\temp\some-certificate.cer"
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
## Response
|
|
102
|
+
|
|
103
|
+
The command won't return a response on success.
|
|
@@ -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 approleassignment add
|
|
6
6
|
|
|
7
|
-
Adds service principal permissions also known as scopes and app role assignments for specified
|
|
7
|
+
Adds service principal permissions also known as scopes and app role assignments for specified Entra application registration
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
|
+
```sh
|
|
12
|
+
m365 entra approleassignment add [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Alias
|
|
16
|
+
|
|
11
17
|
```sh
|
|
12
18
|
m365 aad approleassignment add [options]
|
|
13
19
|
```
|
|
@@ -45,22 +51,22 @@ This command can also be used to assign permissions to system or user-assigned m
|
|
|
45
51
|
|
|
46
52
|
## Examples
|
|
47
53
|
|
|
48
|
-
Adds SharePoint _Sites.Read.All_ application permissions to
|
|
54
|
+
Adds SharePoint _Sites.Read.All_ application permissions to Entra application with app id _57907bf8-73fa-43a6-89a5-1f603e29e451_
|
|
49
55
|
|
|
50
56
|
```sh
|
|
51
|
-
m365
|
|
57
|
+
m365 entra approleassignment add --appId "57907bf8-73fa-43a6-89a5-1f603e29e451" --resource "SharePoint" --scopes "Sites.Read.All"
|
|
52
58
|
```
|
|
53
59
|
|
|
54
|
-
Adds multiple Microsoft Graph application permissions to an
|
|
60
|
+
Adds multiple Microsoft Graph application permissions to an Entra application with the name _MyAppName__
|
|
55
61
|
|
|
56
62
|
```sh
|
|
57
|
-
m365
|
|
63
|
+
m365 entra approleassignment add --appDisplayName "MyAppName" --resource "Microsoft Graph" --scopes "Mail.Read,Mail.Send"
|
|
58
64
|
```
|
|
59
65
|
|
|
60
66
|
Adds Microsoft Graph _Mail.Read_ application permissions to a system-managed identity app with objectId _57907bf8-73fa-43a6-89a5-1f603e29e451_
|
|
61
67
|
|
|
62
68
|
```sh
|
|
63
|
-
m365
|
|
69
|
+
m365 entra approleassignment add --appObjectId "57907bf8-73fa-43a6-89a5-1f603e29e451" --resource "Microsoft Graph" --scopes "Mail.Read"
|
|
64
70
|
```
|
|
65
71
|
|
|
66
72
|
## Response
|
|
@@ -106,7 +112,7 @@ m365 aad approleassignment add --appObjectId "57907bf8-73fa-43a6-89a5-1f603e29e4
|
|
|
106
112
|
<TabItem value="Markdown">
|
|
107
113
|
|
|
108
114
|
```md
|
|
109
|
-
#
|
|
115
|
+
# entra approleassignment add --appId "e89804ac-a571-48cf-b2ba-fd57b5d49993" --resource "Microsoft Graph" --scopes "Mail.Read"
|
|
110
116
|
|
|
111
117
|
Date: 2023-06-01
|
|
112
118
|
|
|
@@ -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 approleassignment list
|
|
6
6
|
|
|
7
7
|
Lists app role assignments for the specified application registration
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
|
+
```sh
|
|
12
|
+
m365 entra approleassignment list [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Alias
|
|
16
|
+
|
|
11
17
|
```sh
|
|
12
18
|
m365 aad approleassignment list [options]
|
|
13
19
|
```
|
|
@@ -36,24 +42,24 @@ Specify either the `appId`, `appObjectId` or `appDisplayName`. If you specify mo
|
|
|
36
42
|
List app roles assigned to service principal with Application (client) ID _b2307a39-e878-458b-bc90-03bc578531d6_.
|
|
37
43
|
|
|
38
44
|
```sh
|
|
39
|
-
m365
|
|
45
|
+
m365 entra approleassignment list --appId b2307a39-e878-458b-bc90-03bc578531d6
|
|
40
46
|
```
|
|
41
47
|
|
|
42
48
|
List app roles assigned to service principal with Application display name _MyAppName_.
|
|
43
49
|
|
|
44
50
|
```sh
|
|
45
|
-
m365
|
|
51
|
+
m365 entra approleassignment list --appDisplayName 'MyAppName'
|
|
46
52
|
```
|
|
47
53
|
|
|
48
54
|
List app roles assigned to service principal with ObjectId _b2307a39-e878-458b-bc90-03bc578531dd_.
|
|
49
55
|
|
|
50
56
|
```sh
|
|
51
|
-
m365
|
|
57
|
+
m365 entra approleassignment list --appObjectId b2307a39-e878-458b-bc90-03bc578531dd
|
|
52
58
|
```
|
|
53
59
|
|
|
54
60
|
## More information
|
|
55
61
|
|
|
56
|
-
- Application and service principal objects in
|
|
62
|
+
- 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)
|
|
57
63
|
|
|
58
64
|
## Response
|
|
59
65
|
|
|
@@ -95,7 +101,7 @@ m365 aad approleassignment list --appObjectId b2307a39-e878-458b-bc90-03bc578531
|
|
|
95
101
|
<TabItem value="Markdown">
|
|
96
102
|
|
|
97
103
|
```md
|
|
98
|
-
#
|
|
104
|
+
# entra approleassignment list --appId "e89804ac-a571-48cf-b2ba-fd57b5d49993"
|
|
99
105
|
|
|
100
106
|
Date: 2023-06-01
|
|
101
107
|
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# entra approleassignment remove
|
|
4
4
|
|
|
5
|
-
Deletes an app role assignment for the specified
|
|
5
|
+
Deletes an app role assignment for the specified Entra application registration
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
9
|
+
```sh
|
|
10
|
+
m365 entra approleassignment remove [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Alias
|
|
14
|
+
|
|
9
15
|
```sh
|
|
10
16
|
m365 aad approleassignment remove [options]
|
|
11
17
|
```
|
|
@@ -46,22 +52,22 @@ This command can also be used to assign permissions to system- or user-assigned
|
|
|
46
52
|
|
|
47
53
|
## Examples
|
|
48
54
|
|
|
49
|
-
Deletes SharePoint _Sites.Read.All_ application permissions from
|
|
55
|
+
Deletes SharePoint _Sites.Read.All_ application permissions from Entra application with app id _57907bf8-73fa-43a6-89a5-1f603e29e451_
|
|
50
56
|
|
|
51
57
|
```sh
|
|
52
|
-
m365
|
|
58
|
+
m365 entra approleassignment remove --appId "57907bf8-73fa-43a6-89a5-1f603e29e451" --resource "SharePoint" --scopes "Sites.Read.All"
|
|
53
59
|
```
|
|
54
60
|
|
|
55
|
-
Deletes multiple Microsoft Graph application permissions from an
|
|
61
|
+
Deletes multiple Microsoft Graph application permissions from an Entra application with name _MyAppName_
|
|
56
62
|
|
|
57
63
|
```sh
|
|
58
|
-
m365
|
|
64
|
+
m365 entra approleassignment remove --appDisplayName "MyAppName" --resource "Microsoft Graph" --scopes "Mail.Read,Mail.Send"
|
|
59
65
|
```
|
|
60
66
|
|
|
61
67
|
Deletes Microsoft Graph _Mail.Read_ application permissions from a system-managed identity app with objectId _57907bf8-73fa-43a6-89a5-1f603e29e451_
|
|
62
68
|
|
|
63
69
|
```sh
|
|
64
|
-
m365
|
|
70
|
+
m365 entra approleassignment remove --appObjectId "57907bf8-73fa-43a6-89a5-1f603e29e451" --resource "Microsoft Graph" --scopes "Mail.Read"
|
|
65
71
|
```
|
|
66
72
|
|
|
67
73
|
## Response
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# entra group add
|
|
6
|
+
|
|
7
|
+
Creates a Microsoft Entra group
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 entra group add [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Alias
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
m365 aad group add [options]
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Options
|
|
22
|
+
|
|
23
|
+
```md definition-list
|
|
24
|
+
`-n, --displayName <displayName>`
|
|
25
|
+
: The name for the group. The maximum length is 256 characters.
|
|
26
|
+
|
|
27
|
+
`-d, --description [description]`
|
|
28
|
+
: The description for the group.
|
|
29
|
+
|
|
30
|
+
`-t, --type <type>`
|
|
31
|
+
: The group type. Valid values: `microsoft365` or `security`.
|
|
32
|
+
|
|
33
|
+
`-m, --mailNickname [mailNickname]`
|
|
34
|
+
: The mail alias for the group (part before the @). Maximum length is 64 characters.
|
|
35
|
+
|
|
36
|
+
`--ownerIds [ownerIds]`
|
|
37
|
+
: Comma-separated list of IDs of Microsoft Entra ID users that will be group owners. Specify either `ownerIds` or `ownerUserNames`, but not both.
|
|
38
|
+
|
|
39
|
+
`--ownerUserNames [ownerUserNames]`
|
|
40
|
+
: Comma-separated list of UPNs of Microsoft Entra ID users that will be group owners. Specify either `ownerIds` or `ownerUserNames`, but not both.
|
|
41
|
+
|
|
42
|
+
`--memberIds [memberIds]`
|
|
43
|
+
: Comma-separated list of IDs of Microsoft Entra ID users that will be group members. Specify either `memberIds` or `memberUserNames`, but not both.
|
|
44
|
+
|
|
45
|
+
`--memberUserNames [memberUserNames]`
|
|
46
|
+
: Comma-separated list of UPNs of Microsoft Entra ID users that will be group members. Specify either `memberIds` or `memberUserNames`, but not both.
|
|
47
|
+
|
|
48
|
+
`--visibility [visibility]`
|
|
49
|
+
: Specifies the group join policy and group content visibility for Microsoft 365 groups. Possible values are: `Private`, `Public`, or `HiddenMembership`. Defaults to `Public`. Specify only when creating a group of type `microsoft365`.
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
<Global />
|
|
53
|
+
|
|
54
|
+
## Remarks
|
|
55
|
+
|
|
56
|
+
:::info
|
|
57
|
+
|
|
58
|
+
The `visibility` option affects the behavior of the group.
|
|
59
|
+
|
|
60
|
+
With the `Public` visibility:
|
|
61
|
+
- Anyone can join the group without needing owner permission.
|
|
62
|
+
- Anyone can view the attributes of the group.
|
|
63
|
+
- Anyone can see the members of the group.
|
|
64
|
+
|
|
65
|
+
With the `Private` visibilty:
|
|
66
|
+
- Owner permission is needed to join the group.
|
|
67
|
+
- Anyone can view the attributes of the group.
|
|
68
|
+
- Anyone can see the members of the group.
|
|
69
|
+
|
|
70
|
+
With the `HiddenMembership` visibility:
|
|
71
|
+
- Owner permission is needed to join the group.
|
|
72
|
+
- Guest users cannot view the attributes of the group.
|
|
73
|
+
- Non-members cannot see the members of the group. This setting doesn't affect visibility of group owners.
|
|
74
|
+
- Administrators (global, company, user, and helpdesk) can view the membership of the group.
|
|
75
|
+
- The group appears in the global address book (GAL).
|
|
76
|
+
|
|
77
|
+
:::
|
|
78
|
+
|
|
79
|
+
:::note
|
|
80
|
+
|
|
81
|
+
The `HiddenMembership` visibility can be set only for Microsoft 365 groups when the groups are created. It can't be updated later.
|
|
82
|
+
|
|
83
|
+
:::
|
|
84
|
+
|
|
85
|
+
This command allows using unknown options. For a comprehensive list of group properties, please refer to the [Graph documentation page](https://learn.microsoft.com/graph/api/resources/group?view=graph-rest-1.0#properties).
|
|
86
|
+
|
|
87
|
+
If the specified option is not found, you will receive a `Resource 'xyz' does not exist or one of its queried reference-property objects are not present.` error.
|
|
88
|
+
|
|
89
|
+
## Examples
|
|
90
|
+
|
|
91
|
+
Create a security group without any owners or members
|
|
92
|
+
|
|
93
|
+
```sh
|
|
94
|
+
m365 entra group add --displayName Developers --type security
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
Create a private Microsoft 365 group with owners and members and a custom mail address
|
|
98
|
+
|
|
99
|
+
```sh
|
|
100
|
+
m365 entra group add --displayName Developers --type microsoft365 --mailNickname devs --ownerUserNames john.doe@contoso.com --memberUserNames "john.doe@contoso.com,adele.vance@contoso.com" --visibility Private
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Create a public Microsoft 365 group without any owners or members
|
|
104
|
+
|
|
105
|
+
```sh
|
|
106
|
+
m365 entra group add --displayName Developers --type microsoft365 --description "This group is for all developers in the company." --visibility Public
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
## Response
|
|
111
|
+
|
|
112
|
+
<Tabs>
|
|
113
|
+
<TabItem value="JSON">
|
|
114
|
+
|
|
115
|
+
```json
|
|
116
|
+
{
|
|
117
|
+
"id": "ae0e8388-cd70-427f-9503-c57498ee3337",
|
|
118
|
+
"deletedDateTime": null,
|
|
119
|
+
"classification": null,
|
|
120
|
+
"createdDateTime": "2024-01-10T11:33:18Z",
|
|
121
|
+
"creationOptions": [],
|
|
122
|
+
"description": "This group is for all developers in the company.",
|
|
123
|
+
"displayName": "Developers",
|
|
124
|
+
"expirationDateTime": null,
|
|
125
|
+
"groupTypes": [
|
|
126
|
+
"Unified"
|
|
127
|
+
],
|
|
128
|
+
"isAssignableToRole": null,
|
|
129
|
+
"mail": "devs@contoso.com",
|
|
130
|
+
"mailEnabled": true,
|
|
131
|
+
"mailNickname": "devs",
|
|
132
|
+
"membershipRule": null,
|
|
133
|
+
"membershipRuleProcessingState": null,
|
|
134
|
+
"onPremisesDomainName": null,
|
|
135
|
+
"onPremisesLastSyncDateTime": null,
|
|
136
|
+
"onPremisesNetBiosName": null,
|
|
137
|
+
"onPremisesSamAccountName": null,
|
|
138
|
+
"onPremisesSecurityIdentifier": null,
|
|
139
|
+
"onPremisesSyncEnabled": null,
|
|
140
|
+
"preferredDataLocation": null,
|
|
141
|
+
"preferredLanguage": null,
|
|
142
|
+
"proxyAddresses": [
|
|
143
|
+
"SMTP:devs@contoso.com"
|
|
144
|
+
],
|
|
145
|
+
"renewedDateTime": "2024-01-10T11:33:18Z",
|
|
146
|
+
"resourceBehaviorOptions": [],
|
|
147
|
+
"resourceProvisioningOptions": [],
|
|
148
|
+
"securityEnabled": true,
|
|
149
|
+
"securityIdentifier": "S-1-12-1-2920186760-1115671920-1959068565-926150296",
|
|
150
|
+
"theme": null,
|
|
151
|
+
"visibility": "Public",
|
|
152
|
+
"onPremisesProvisioningErrors": [],
|
|
153
|
+
"serviceProvisioningErrors": []
|
|
154
|
+
}
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
</TabItem>
|
|
158
|
+
<TabItem value="Text">
|
|
159
|
+
|
|
160
|
+
```text
|
|
161
|
+
classification : null
|
|
162
|
+
createdDateTime : 2024-01-10T11:36:31Z
|
|
163
|
+
creationOptions : []
|
|
164
|
+
deletedDateTime : null
|
|
165
|
+
description : This group is for all developers in the company.
|
|
166
|
+
displayName : Developers
|
|
167
|
+
expirationDateTime : null
|
|
168
|
+
groupTypes : ["Unified"]
|
|
169
|
+
id : f7bce6b2-c017-4a00-ba0c-fbbe458364aa
|
|
170
|
+
isAssignableToRole : null
|
|
171
|
+
mail : dev@contoso.com
|
|
172
|
+
mailEnabled : true
|
|
173
|
+
mailNickname : devs
|
|
174
|
+
membershipRule : null
|
|
175
|
+
membershipRuleProcessingState: null
|
|
176
|
+
onPremisesDomainName : null
|
|
177
|
+
onPremisesLastSyncDateTime : null
|
|
178
|
+
onPremisesNetBiosName : null
|
|
179
|
+
onPremisesProvisioningErrors : []
|
|
180
|
+
onPremisesSamAccountName : null
|
|
181
|
+
onPremisesSecurityIdentifier : null
|
|
182
|
+
onPremisesSyncEnabled : null
|
|
183
|
+
preferredDataLocation : null
|
|
184
|
+
preferredLanguage : null
|
|
185
|
+
proxyAddresses : ["SMTP:devs@contoso.com"]
|
|
186
|
+
renewedDateTime : 2024-01-10T11:36:31Z
|
|
187
|
+
resourceBehaviorOptions : []
|
|
188
|
+
resourceProvisioningOptions : []
|
|
189
|
+
securityEnabled : true
|
|
190
|
+
securityIdentifier : S-1-12-1-4156352178-1241563159-3204123834-2858713925
|
|
191
|
+
serviceProvisioningErrors : []
|
|
192
|
+
theme : null
|
|
193
|
+
visibility : Public
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
</TabItem>
|
|
197
|
+
<TabItem value="CSV">
|
|
198
|
+
|
|
199
|
+
```csv
|
|
200
|
+
id,deletedDateTime,classification,createdDateTime,description,displayName,expirationDateTime,isAssignableToRole,mail,mailEnabled,mailNickname,membershipRule,membershipRuleProcessingState,onPremisesDomainName,onPremisesLastSyncDateTime,onPremisesNetBiosName,onPremisesSamAccountName,onPremisesSecurityIdentifier,onPremisesSyncEnabled,preferredDataLocation,preferredLanguage,renewedDateTime,securityEnabled,securityIdentifier,theme,visibility
|
|
201
|
+
4c63e8cd-eb2b-4b0d-9251-d709cc75cf5e,,,2024-01-10T11:37:02Z,This group is for all developers in the company.,Developers,,,devs@contoso.com,1,devs,,,,,,,,,,,2024-01-10T11:37:02Z,1,S-1-12-1-1281616077-1259203371-165106066-1590654412,,Public
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
</TabItem>
|
|
205
|
+
<TabItem value="Markdown">
|
|
206
|
+
|
|
207
|
+
```md
|
|
208
|
+
# entra group add --displayName "Developers" --type "microsoft365" --description "This group is for all developers in the company." --visibility "Public" --mailNickname "devs"
|
|
209
|
+
|
|
210
|
+
Date: 1/10/2024
|
|
211
|
+
|
|
212
|
+
## Developers (b3fd8e8f-eced-45c7-a366-178bc5c1db37)
|
|
213
|
+
|
|
214
|
+
Property | Value
|
|
215
|
+
---------|-------
|
|
216
|
+
id | b3fd8e8f-eced-45c7-a366-178bc5c1db37
|
|
217
|
+
createdDateTime | 2024-01-10T11:37:39Z
|
|
218
|
+
description | This group is for all developers in the company.
|
|
219
|
+
displayName | Developers
|
|
220
|
+
mail | devs@contoso.com
|
|
221
|
+
mailEnabled | true
|
|
222
|
+
mailNickname | devs
|
|
223
|
+
renewedDateTime | 2024-01-10T11:37:39Z
|
|
224
|
+
securityEnabled | true
|
|
225
|
+
securityIdentifier | S-1-12-1-3019738767-1170730221-2333566627-937148869
|
|
226
|
+
visibility | Public
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
</TabItem>
|
|
230
|
+
</Tabs>
|
|
231
|
+
|