@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
|
@@ -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 administrativeunit get
|
|
6
6
|
|
|
7
7
|
Gets information about a specific administrative unit
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
|
+
```sh
|
|
12
|
+
m365 entra administrativeunit get [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Alias
|
|
16
|
+
|
|
11
17
|
```sh
|
|
12
18
|
m365 aad administrativeunit get [options]
|
|
13
19
|
```
|
|
@@ -29,13 +35,13 @@ m365 aad administrativeunit get [options]
|
|
|
29
35
|
Get information about the administrative unit by its id
|
|
30
36
|
|
|
31
37
|
```sh
|
|
32
|
-
m365
|
|
38
|
+
m365 entra administrativeunit get --id 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7
|
|
33
39
|
```
|
|
34
40
|
|
|
35
41
|
Get information about the administrative unit by its display name
|
|
36
42
|
|
|
37
43
|
```sh
|
|
38
|
-
m365
|
|
44
|
+
m365 entra administrativeunit get --displayName 'Marketing Division'
|
|
39
45
|
```
|
|
40
46
|
|
|
41
47
|
## 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 administrativeunit list
|
|
6
6
|
|
|
7
7
|
Retrieves a list of administrative units
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
|
+
```sh
|
|
12
|
+
m365 entra administrativeunit list [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Alias
|
|
16
|
+
|
|
11
17
|
```sh
|
|
12
18
|
m365 aad administrativeunit list [options]
|
|
13
19
|
```
|
|
@@ -21,7 +27,7 @@ m365 aad administrativeunit list [options]
|
|
|
21
27
|
Retrieve a list of administrative units
|
|
22
28
|
|
|
23
29
|
```sh
|
|
24
|
-
m365
|
|
30
|
+
m365 entra administrativeunit list
|
|
25
31
|
```
|
|
26
32
|
|
|
27
33
|
## Response
|
|
@@ -65,7 +71,7 @@ m365 aad administrativeunit list
|
|
|
65
71
|
<TabItem value="Markdown">
|
|
66
72
|
|
|
67
73
|
```md
|
|
68
|
-
#
|
|
74
|
+
# entra administrativeunit list
|
|
69
75
|
|
|
70
76
|
Date: 2023-10-16
|
|
71
77
|
|
|
@@ -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 administrativeunit member add
|
|
6
6
|
|
|
7
7
|
Add a member (user, group, or device) to an administrative unit
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
|
+
```sh
|
|
12
|
+
m365 entra administrativeunit member add [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Alias
|
|
16
|
+
|
|
11
17
|
```sh
|
|
12
18
|
m365 aad administrativeunit member add [options]
|
|
13
19
|
```
|
|
@@ -55,37 +61,37 @@ To use this command you must be either **Global Administrator** or **Privileged
|
|
|
55
61
|
Add a single user specified by id to an administrative unit specified by id
|
|
56
62
|
|
|
57
63
|
```sh
|
|
58
|
-
m365
|
|
64
|
+
m365 entra administrativeunit member add --administrativeUnitId 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7 --userId 1caf7dcd-7e83-4c3a-94f7-932a1299c844
|
|
59
65
|
```
|
|
60
66
|
|
|
61
67
|
Add a single user specified by user principal name to an administrative unit specified by name
|
|
62
68
|
|
|
63
69
|
```sh
|
|
64
|
-
m365
|
|
70
|
+
m365 entra administrativeunit member add --administrativeUnitName 'Marketing Division' --userName john.doe@contoso.com
|
|
65
71
|
```
|
|
66
72
|
|
|
67
73
|
Add a single group specified by id to an administrative unit specified by id
|
|
68
74
|
|
|
69
75
|
```sh
|
|
70
|
-
m365
|
|
76
|
+
m365 entra administrativeunit member add --administrativeUnitId 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7 --groupId b2307a39-e878-458b-bc90-03bc578531d6
|
|
71
77
|
```
|
|
72
78
|
|
|
73
79
|
Add a single group specified by name to an administrative unit specified by name
|
|
74
80
|
|
|
75
81
|
```sh
|
|
76
|
-
m365
|
|
82
|
+
m365 entra administrativeunit member add --administrativeUnitName 'Marketing Division' --groupName 'Marketing Group'
|
|
77
83
|
```
|
|
78
84
|
|
|
79
85
|
Add a single device specified by id to an administrative unit specified by id
|
|
80
86
|
|
|
81
87
|
```sh
|
|
82
|
-
m365
|
|
88
|
+
m365 entra administrativeunit member add --administrativeUnitId 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7 --deviceId 810c84a8-4a9e-49e6-bf7d-12d183f40d01
|
|
83
89
|
```
|
|
84
90
|
|
|
85
91
|
Add a single device specified by name to an administrative unit specified by name
|
|
86
92
|
|
|
87
93
|
```sh
|
|
88
|
-
m365
|
|
94
|
+
m365 entra administrativeunit member add --administrativeUnitName 'Marketing Division' --deviceName 'JohnDoe-PC'
|
|
89
95
|
```
|
|
90
96
|
|
|
91
97
|
## More information
|
|
@@ -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 administrativeunit member get
|
|
6
6
|
|
|
7
7
|
Retrieves info about a specific member of an administrative unit
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
|
+
```sh
|
|
12
|
+
m365 entra administrativeunit member get [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Alias
|
|
16
|
+
|
|
11
17
|
```sh
|
|
12
18
|
m365 aad administrativeunit member get [options]
|
|
13
19
|
```
|
|
@@ -41,13 +47,13 @@ When the `properties` option includes values with a `/`, for example: `manager/d
|
|
|
41
47
|
Get information about a member specified by id from an administrative unit specified by id
|
|
42
48
|
|
|
43
49
|
```sh
|
|
44
|
-
m365
|
|
50
|
+
m365 entra administrativeunit member get --id 64131a70-beb9-4ccb-b590-4401e58446ec --administrativeUnitId 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7
|
|
45
51
|
```
|
|
46
52
|
|
|
47
53
|
Get information about a member specified by id from an administrative unit specified by name
|
|
48
54
|
|
|
49
55
|
```sh
|
|
50
|
-
m365
|
|
56
|
+
m365 entra administrativeunit member get --id 64131a70-beb9-4ccb-b590-4401e58446ec --administrativeUnitName 'Marketing Division'
|
|
51
57
|
```
|
|
52
58
|
|
|
53
59
|
## 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 administrativeunit member list
|
|
6
6
|
|
|
7
7
|
Retrieves members (users, groups, or devices) of an administrative unit
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
|
+
```sh
|
|
12
|
+
m365 entra administrativeunit member list [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Alias
|
|
16
|
+
|
|
11
17
|
```sh
|
|
12
18
|
m365 aad administrativeunit member list [options]
|
|
13
19
|
```
|
|
@@ -44,55 +50,55 @@ When the `properties` option includes values with a `/`, for example: `manager/d
|
|
|
44
50
|
List members of an administrative unit specified by id
|
|
45
51
|
|
|
46
52
|
```sh
|
|
47
|
-
m365
|
|
53
|
+
m365 entra administrativeunit member list --administrativeUnitId 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7
|
|
48
54
|
```
|
|
49
55
|
|
|
50
56
|
List members of an administrative unit specified by id. For each one return the `id` and the `displayName`
|
|
51
57
|
|
|
52
58
|
```sh
|
|
53
|
-
m365
|
|
59
|
+
m365 entra administrativeunit member list --administrativeUnitId 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7 --properties 'id,displayName'
|
|
54
60
|
```
|
|
55
61
|
|
|
56
62
|
List members of an administrative unit specified by name
|
|
57
63
|
|
|
58
64
|
```sh
|
|
59
|
-
m365
|
|
65
|
+
m365 entra administrativeunit member list --administrativeUnitName 'Marketing Division'
|
|
60
66
|
```
|
|
61
67
|
|
|
62
68
|
List users of an administrative unit specified by id
|
|
63
69
|
|
|
64
70
|
```sh
|
|
65
|
-
m365
|
|
71
|
+
m365 entra administrativeunit member list --administrativeUnitId 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7 --type user
|
|
66
72
|
```
|
|
67
73
|
|
|
68
74
|
List users of an administrative unit specified by id that are guest users
|
|
69
75
|
|
|
70
76
|
```sh
|
|
71
|
-
m365
|
|
77
|
+
m365 entra administrativeunit member list --administrativeUnitId 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7 --type user --filter "userType eq 'Guest'"
|
|
72
78
|
```
|
|
73
79
|
|
|
74
80
|
List groups of an administrative unit specified by id
|
|
75
81
|
|
|
76
82
|
```sh
|
|
77
|
-
m365
|
|
83
|
+
m365 entra administrativeunit member list --administrativeUnitId 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7 --type group
|
|
78
84
|
```
|
|
79
85
|
|
|
80
86
|
List groups of an administrative unit specified by id and include owners names, for each member return the `id` and the `displayName`
|
|
81
87
|
|
|
82
88
|
```sh
|
|
83
|
-
m365
|
|
89
|
+
m365 entra administrativeunit member list --administrativeUnitId 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7 --type group --properties 'id,displayName,owners/displayName'
|
|
84
90
|
```
|
|
85
91
|
|
|
86
92
|
List devices of an administrative unit specified by id
|
|
87
93
|
|
|
88
94
|
```sh
|
|
89
|
-
m365
|
|
95
|
+
m365 entra administrativeunit member list --administrativeUnitId 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7 --type device
|
|
90
96
|
```
|
|
91
97
|
|
|
92
98
|
List devices with linux operating system of an administrative unit specified by id
|
|
93
99
|
|
|
94
100
|
```sh
|
|
95
|
-
m365
|
|
101
|
+
m365 entra administrativeunit member list --administrativeUnitId 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7 --type device --filter "operatingSystem eq 'linux'"
|
|
96
102
|
```
|
|
97
103
|
|
|
98
104
|
## Response
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# entra administrativeunit remove
|
|
4
4
|
|
|
5
5
|
Removes an administrative unit
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
9
|
+
```sh
|
|
10
|
+
m365 entra administrativeunit remove [options]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Alias
|
|
14
|
+
|
|
9
15
|
```sh
|
|
10
16
|
m365 aad administrativeunit remove [options]
|
|
11
17
|
```
|
|
@@ -38,13 +44,13 @@ To use this command you must be either **Global Administrator** or **Privileged
|
|
|
38
44
|
Remove an administrative unit by its id
|
|
39
45
|
|
|
40
46
|
```sh
|
|
41
|
-
m365
|
|
47
|
+
m365 entra administrativeunit remove --id 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7
|
|
42
48
|
```
|
|
43
49
|
|
|
44
50
|
Remove an administrative unit by it displayName
|
|
45
51
|
|
|
46
52
|
```sh
|
|
47
|
-
m365
|
|
53
|
+
m365 entra administrativeunit remove --displayName 'Marketing Division'
|
|
48
54
|
```
|
|
49
55
|
|
|
50
56
|
## Response
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# entra administrativeunit roleassignment add
|
|
6
|
+
|
|
7
|
+
Assigns a Microsoft Entra role with administrative unit scope to a user
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 entra administrativeunit roleassignment add [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-i, --administrativeUnitId [administrativeUnitId]`
|
|
19
|
+
: The id of the administrative unit. Specify either `administrativeUnitId` or `administrativeUnitName`.
|
|
20
|
+
|
|
21
|
+
`-n, --administrativeUnitName [administrativeUnitName]`
|
|
22
|
+
: The name of the administrative unit. Specify either `administrativeUnitId` or `administrativeUnitName`.
|
|
23
|
+
|
|
24
|
+
`--roleDefinitionId [roleDefinitionId]`
|
|
25
|
+
: The id of the role definition that the member is in. Specify either `roleDefinitionId` or `roleDefinitionName`.
|
|
26
|
+
|
|
27
|
+
`--roleDefinitionName [roleDefinitionName]`
|
|
28
|
+
: The name of the role definition that the member is in. Specify either `roleDefinitionId` or `roleDefinitionName`.
|
|
29
|
+
|
|
30
|
+
`--userId [userId]`
|
|
31
|
+
: The id of the user that is a member of the scoped role. Specify either `userId` or `userName`.
|
|
32
|
+
|
|
33
|
+
`--userName [userName]`
|
|
34
|
+
: The name of the user that is a member of the scoped role. Specify either `userId` or `userName`.
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
<Global />
|
|
38
|
+
|
|
39
|
+
## Remarks
|
|
40
|
+
|
|
41
|
+
:::info
|
|
42
|
+
|
|
43
|
+
To use this command you must be either **Global Administrator** or **Privileged Role Administrator**.
|
|
44
|
+
|
|
45
|
+
:::
|
|
46
|
+
|
|
47
|
+
## Examples
|
|
48
|
+
|
|
49
|
+
Assign a role definition specified by id to a user specified by id for an administrative unit specified by id
|
|
50
|
+
|
|
51
|
+
```sh
|
|
52
|
+
m365 entra administrativeunit roleassignment add --administrativeUnitId 81bb36e4-f4c6-4984-8e56-d4f8feae9e09 --roleDefinitionId 4d6ac14f-3453-41d0-bef9-a3e0c569773a --userId 5f91f951-7305-4a27-9b63-7b00906de09f
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Assign a role definition specified by name to a user specified by name for an administrative unit specified by name
|
|
56
|
+
|
|
57
|
+
```sh
|
|
58
|
+
m365 entra administrativeunit roleassignment add --administrativeUnitName 'Marketing Division' --roleDefinitionName 'License Administrator' --userName 'john.doe@contoso.com'
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## Response
|
|
62
|
+
|
|
63
|
+
<Tabs>
|
|
64
|
+
<TabItem value="JSON">
|
|
65
|
+
|
|
66
|
+
```json
|
|
67
|
+
{
|
|
68
|
+
"id": "5wuT_mJe20eRr5jDpJo4sVH5kV8FcydKm2N7AJBt4J_kNruBxvSESY5W1Pj-rp4J-2",
|
|
69
|
+
"principalId": "5f91f951-7305-4a27-9b63-7b00906de09f",
|
|
70
|
+
"directoryScopeId": "/administrativeUnits/81bb36e4-f4c6-4984-8e56-d4f8feae9e09",
|
|
71
|
+
"roleDefinitionId": "4d6ac14f-3453-41d0-bef9-a3e0c569773a"
|
|
72
|
+
}
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
</TabItem>
|
|
76
|
+
<TabItem value="Text">
|
|
77
|
+
|
|
78
|
+
```text
|
|
79
|
+
directoryScopeId: /administrativeUnits/81bb36e4-f4c6-4984-8e56-d4f8feae9e09
|
|
80
|
+
id : 4yeYchSc90m7G5YI8Va7uFH5kV8FcydKm2N7AJBt4J_kNruBxvSESY5W1Pj-rp4J-2
|
|
81
|
+
principalId : 5f91f951-7305-4a27-9b63-7b00906de09f
|
|
82
|
+
roleDefinitionId: 4d6ac14f-3453-41d0-bef9-a3e0c569773a
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
</TabItem>
|
|
86
|
+
<TabItem value="CSV">
|
|
87
|
+
|
|
88
|
+
```csv
|
|
89
|
+
id,principalId,directoryScopeId,roleDefinitionId
|
|
90
|
+
UB-K8uf2cUWBi2oS8q9rbFH5kV8FcydKm2N7AJBt4J_kNruBxvSESY5W1Pj-rp4J-2,5f91f951-7305-4a27-9b63-7b00906de09f,/administrativeUnits/81bb36e4-f4c6-4984-8e56-d4f8feae9e09,4d6ac14f-3453-41d0-bef9-a3e0c569773a
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
</TabItem>
|
|
94
|
+
<TabItem value="Markdown">
|
|
95
|
+
|
|
96
|
+
```md
|
|
97
|
+
# entra administrativeunit roleassignment add --administrativeUnitId "81bb36e4-f4c6-4984-8e56-d4f8feae9e09" --roleDefinitionId "4d6ac14f-3453-41d0-bef9-a3e0c569773a" --userId "5f91f951-7305-4a27-9b63-7b00906de09f"
|
|
98
|
+
|
|
99
|
+
Date: 11/16/2023
|
|
100
|
+
|
|
101
|
+
## T8FqTVM00EG--aPgxWl3OlH5kV8FcydKm2N7AJBt4J_kNruBxvSESY5W1Pj-rp4J-2
|
|
102
|
+
|
|
103
|
+
Property | Value
|
|
104
|
+
---------|-------
|
|
105
|
+
id | T8FqTVM00EG--aPgxWl3OlH5kV8FcydKm2N7AJBt4J\_kNruBxvSESY5W1Pj-rp4J-2
|
|
106
|
+
principalId | 5f91f951-7305-4a27-9b63-7b00906de09f
|
|
107
|
+
directoryScopeId | /administrativeUnits/81bb36e4-f4c6-4984-8e56-d4f8feae9e09
|
|
108
|
+
roleDefinitionId | 4d6ac14f-3453-41d0-bef9-a3e0c569773a
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
</TabItem>
|
|
112
|
+
</Tabs>
|
|
113
|
+
|
|
114
|
+
## More information
|
|
115
|
+
|
|
116
|
+
- [Roles with administrative unit scope](https://learn.microsoft.com/entra/identity/role-based-access-control/admin-units-assign-roles#roles-that-can-be-assigned-with-administrative-unit-scope)
|
|
@@ -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 add
|
|
6
6
|
|
|
7
|
-
Creates new
|
|
7
|
+
Creates new Entra app registration
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
|
+
```sh
|
|
12
|
+
m365 entra app add [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Alias
|
|
16
|
+
|
|
11
17
|
```sh
|
|
12
18
|
m365 aad app add [options]
|
|
13
19
|
```
|
|
@@ -67,7 +73,7 @@ m365 aad app add [options]
|
|
|
67
73
|
: When specified, grants application & delegated permissions through admin consent.
|
|
68
74
|
|
|
69
75
|
`--manifest [manifest]`
|
|
70
|
-
:
|
|
76
|
+
: App manifest as retrieved from Entra ID to create the app registration from. Specify either `name` or `manifest` but not both.
|
|
71
77
|
|
|
72
78
|
`--save`
|
|
73
79
|
: Use to store the information about the created app in a local file.
|
|
@@ -77,15 +83,15 @@ m365 aad app add [options]
|
|
|
77
83
|
|
|
78
84
|
## Remarks
|
|
79
85
|
|
|
80
|
-
You can use this command to create a new
|
|
86
|
+
You can use this command to create a new Entra app registration either by specifying the different configuration settings through the corresponding options or by using the manifest.
|
|
81
87
|
|
|
82
|
-
If you don't use the manifest, you must specify the name of the
|
|
88
|
+
If you don't use the manifest, you must specify the name of the Entra app registration using the `name` option. If you use the manifest, you can skip the `name` option assuming the manifest contains the `displayName` property.
|
|
83
89
|
|
|
84
|
-
You can also use the manifest to provision some of the configuration settings of your
|
|
90
|
+
You can also use the manifest to provision some of the configuration settings of your Entra app. All properties specified in the manifest are optional and will set if specified.
|
|
85
91
|
|
|
86
92
|
If you specify the manifest along with some options, values specified in the options will override settings from the manifest. One exception is the name specified in the `name` option which will be overridden by the `displayName` property from the manifest if specified.
|
|
87
93
|
|
|
88
|
-
The following properties specified in the manifest retrieved from
|
|
94
|
+
The following properties specified in the manifest retrieved from Entra ID are not supported by this command:
|
|
89
95
|
|
|
90
96
|
- accessTokenAcceptedVersion
|
|
91
97
|
- disabledByMicrosoftStatus
|
|
@@ -95,94 +101,94 @@ The following properties specified in the manifest retrieved from Azure AD are n
|
|
|
95
101
|
- orgRestrictions
|
|
96
102
|
- samlMetadataUrl
|
|
97
103
|
|
|
98
|
-
When specifying the value for the `uri`, you can use the `_appId_` token, to include the ID of the newly generated
|
|
104
|
+
When specifying the value for the `uri`, you can use the `_appId_` token, to include the ID of the newly generated Entra app registration in the Application ID URI, eg. URI `api://caf406b91cd4.ngrok.io/_appId_` will become `api://caf406b91cd4.ngrok.io/ab3bd119-faf7-4db5-ba99-eb7e748f778a` where the last portion is the app ID of the created Entra app registration.
|
|
99
105
|
|
|
100
106
|
When using the `withSecret` option, this command will automatically generate a secret named `Default` and set it to expire 1 year in the future.
|
|
101
107
|
|
|
102
|
-
After creating the
|
|
108
|
+
After creating the Entra app registration, this command returns the app ID and object ID of the created app registration. If you used the `withSecret` option, it will also return the generated secret.
|
|
103
109
|
|
|
104
|
-
If you want to store the information about the created
|
|
110
|
+
If you want to store the information about the created Entra app registration, use the `--save` option. This is useful when you build solutions connected to Microsoft 365 and want to easily manage app registrations used with your solution. When you use the `--save` option, after you create the app registration, the command will write its ID and name to the `.m365rc.json` file in the current directory. If the file already exists, it will add the information about the to it, allowing you to track multiple apps. If the file doesn't exist, the command will create it.
|
|
105
111
|
|
|
106
112
|
When specifying `--grantAdminConsent` option, a service principal will be created for the app registration.
|
|
107
113
|
|
|
108
114
|
## Examples
|
|
109
115
|
|
|
110
|
-
Create new
|
|
116
|
+
Create new Entra app registration with the specified name
|
|
111
117
|
|
|
112
118
|
```sh
|
|
113
|
-
m365
|
|
119
|
+
m365 entra app add --name 'My Entra app'
|
|
114
120
|
```
|
|
115
121
|
|
|
116
|
-
Create new
|
|
122
|
+
Create new Entra app registration from the manifest retrieved from the Azure Portal stored in a local file named _manifest.json_
|
|
117
123
|
|
|
118
124
|
```sh
|
|
119
|
-
m365
|
|
125
|
+
m365 entra app add --manifest @manifest.json
|
|
120
126
|
```
|
|
121
127
|
|
|
122
|
-
Create new multitenant
|
|
128
|
+
Create new multitenant Entra app registration
|
|
123
129
|
|
|
124
130
|
```sh
|
|
125
|
-
m365
|
|
131
|
+
m365 entra app add --name 'My Entra app' --multitenant
|
|
126
132
|
```
|
|
127
133
|
|
|
128
|
-
Create new
|
|
134
|
+
Create new Entra app registration for a web app with the specified redirect URIs
|
|
129
135
|
|
|
130
136
|
```sh
|
|
131
|
-
m365
|
|
137
|
+
m365 entra app add --name 'My Entra app' --redirectUris 'https://myapp.azurewebsites.net,http://localhost:4000' --platform web
|
|
132
138
|
```
|
|
133
139
|
|
|
134
|
-
Create new
|
|
140
|
+
Create new Entra app registration for a desktop app
|
|
135
141
|
|
|
136
142
|
```sh
|
|
137
|
-
m365
|
|
143
|
+
m365 entra app add --name 'My Entra app' --redirectUris 'https://login.microsoftonline.com/common/oauth2/nativeclient' --platform publicClient
|
|
138
144
|
```
|
|
139
145
|
|
|
140
|
-
Create new
|
|
146
|
+
Create new Entra app registration with an auto-generated secret (secret returned in the command output)
|
|
141
147
|
|
|
142
148
|
```sh
|
|
143
|
-
m365
|
|
149
|
+
m365 entra app add --name 'My Entra app' --withSecret
|
|
144
150
|
```
|
|
145
151
|
|
|
146
|
-
Create new
|
|
152
|
+
Create new Entra app registration for a daemon app with specified Microsoft Graph application permissions
|
|
147
153
|
|
|
148
154
|
```sh
|
|
149
|
-
m365
|
|
155
|
+
m365 entra app add --name 'My Entra app' --withSecret --apisApplication 'https://graph.microsoft.com/Group.ReadWrite.All,https://graph.microsoft.com/Directory.Read.All'
|
|
150
156
|
```
|
|
151
157
|
|
|
152
|
-
Create new
|
|
158
|
+
Create new Entra app registration for a single-page app with specified Microsoft Graph delegated permissions
|
|
153
159
|
|
|
154
160
|
```sh
|
|
155
|
-
m365
|
|
161
|
+
m365 entra app add --name 'My Entra app' --platform spa --redirectUris 'https://myspa.azurewebsites.net,http://localhost:8080' --apisDelegated 'https://graph.microsoft.com/Calendars.Read,https://graph.microsoft.com/Directory.Read.All' --implicitFlow
|
|
156
162
|
```
|
|
157
163
|
|
|
158
|
-
Create new
|
|
164
|
+
Create new Entra app registration with Application ID URI set to a fixed value
|
|
159
165
|
|
|
160
166
|
```sh
|
|
161
|
-
m365
|
|
167
|
+
m365 entra app add --name 'My Entra app' --uri https://contoso.onmicrosoft.com/myapp
|
|
162
168
|
```
|
|
163
169
|
|
|
164
|
-
Create new
|
|
170
|
+
Create new Entra app registration with Application ID URI set to a value that contains the ID of the app registration, designated with the `_appId_` token and a custom API scope that can be consented by both admins and users
|
|
165
171
|
|
|
166
172
|
```sh
|
|
167
|
-
m365
|
|
173
|
+
m365 entra app add --name 'My Entra app' --uri api://caf406b91cd4.ngrok.io/_appId_ --scopeName access_as_user --scopeAdminConsentDescription 'Access as a user' --scopeAdminConsentDisplayName 'Access as a user' --scopeConsentBy adminsAndUsers
|
|
168
174
|
```
|
|
169
175
|
|
|
170
|
-
Create new
|
|
176
|
+
Create new Entra app registration for a daemon app with specified Microsoft Graph application permissions, including admin consent
|
|
171
177
|
|
|
172
178
|
```sh
|
|
173
|
-
m365
|
|
179
|
+
m365 entra app add --name 'My Entra app' --apisApplication 'https://graph.microsoft.com/Group.ReadWrite.All' --grantAdminConsent
|
|
174
180
|
```
|
|
175
181
|
|
|
176
|
-
Create new
|
|
182
|
+
Create new Entra app registration with the specified name. Store information about the created app registration in the _.m365rc.json_ file in the current directory.
|
|
177
183
|
|
|
178
184
|
```sh
|
|
179
|
-
m365
|
|
185
|
+
m365 entra app add --name 'My Entra app' --save
|
|
180
186
|
```
|
|
181
187
|
|
|
182
|
-
Create new
|
|
188
|
+
Create new Entra app registration with a certificate
|
|
183
189
|
|
|
184
190
|
```sh
|
|
185
|
-
m365
|
|
191
|
+
m365 entra app add --name 'My Entra app' --certificateDisplayName "Some certificate name" --certificateFile "c:\temp\some-certificate.cer"
|
|
186
192
|
```
|
|
187
193
|
|
|
188
194
|
## Response
|
|
@@ -221,7 +227,7 @@ m365 aad app add --name 'My AAD app' --certificateDisplayName "Some certificate
|
|
|
221
227
|
<TabItem value="Markdown">
|
|
222
228
|
|
|
223
229
|
```md
|
|
224
|
-
#
|
|
230
|
+
# entra app add --name "My Entra app"
|
|
225
231
|
|
|
226
232
|
Date: 2023-06-01
|
|
227
233
|
|
|
@@ -280,7 +286,7 @@ When we make use of the option `withSecret` the response will differ.
|
|
|
280
286
|
<TabItem value="Markdown">
|
|
281
287
|
|
|
282
288
|
```md
|
|
283
|
-
#
|
|
289
|
+
# entra app add --name "My Entra app" --withSecret "true"
|
|
284
290
|
|
|
285
291
|
Date: 2023-06-01
|
|
286
292
|
|