@pnp/cli-microsoft365 7.4.0-beta.fce7b64 → 7.4.0
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/.eslintrc.cjs +7 -0
- 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 +1 -1
- 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 +18 -14
- package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-list.js +6 -2
- package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-member-add.js +16 -12
- package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-member-get.js +16 -12
- package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-member-list.js +16 -12
- package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-remove.js +18 -14
- 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 +16 -12
- 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 +17 -13
- package/dist/m365/{aad → entra}/commands/group/group-list.js +16 -12
- package/dist/m365/{aad → entra}/commands/group/group-remove.js +19 -15
- package/dist/m365/{aad → entra}/commands/group/group-user-list.js +17 -13
- 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 +12 -8
- package/dist/m365/{aad → entra}/commands/m365group/m365group-conversation-post-list.js +16 -12
- package/dist/m365/{aad → entra}/commands/m365group/m365group-get.js +12 -8
- 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 +17 -13
- package/dist/m365/{aad → entra}/commands/m365group/m365group-renew.js +12 -8
- 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 +19 -15
- package/dist/m365/{aad → entra}/commands/m365group/m365group-teamify.js +16 -12
- package/dist/m365/{aad → entra}/commands/m365group/m365group-user-add.js +14 -13
- package/dist/m365/entra/commands/m365group/m365group-user-list.js +154 -0
- package/dist/m365/{aad → entra}/commands/m365group/m365group-user-remove.js +14 -13
- package/dist/m365/{aad → entra}/commands/m365group/m365group-user-set.js +14 -13
- 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 +86 -0
- 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/run/run-get.js +52 -13
- package/dist/m365/pa/commands/app/app-get.js +26 -11
- package/dist/m365/pa/commands/app/app-remove.js +19 -2
- 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 +21 -4
- package/dist/m365/spo/commands/group/group-member-remove.js +28 -11
- package/dist/m365/spo/commands/group/group-set.js +1 -1
- package/dist/m365/spo/commands/site/site-set.js +1 -1
- package/dist/m365/spo/commands/user/user-ensure.js +16 -6
- package/dist/m365/teams/commands/app/app-install.js +1 -1
- package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +1 -1
- package/dist/m365/teams/commands/user/user-app-add.js +35 -3
- package/dist/request.js +16 -0
- package/dist/utils/md.js +2 -2
- package/dist/utils/roleAssignment.js +42 -0
- package/dist/utils/roleDefinition.js +24 -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/{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-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 +184 -430
- package/package.json +10 -10
- 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
|
@@ -3,29 +3,33 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
3
3
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4
4
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
5
|
};
|
|
6
|
-
var
|
|
6
|
+
var _EntraGroupUserListCommand_instances, _EntraGroupUserListCommand_initTelemetry, _EntraGroupUserListCommand_initOptions, _EntraGroupUserListCommand_initOptionSets, _EntraGroupUserListCommand_initValidators;
|
|
7
7
|
import { aadGroup } from '../../../../utils/aadGroup.js';
|
|
8
8
|
import { odata } from '../../../../utils/odata.js';
|
|
9
9
|
import { validation } from '../../../../utils/validation.js';
|
|
10
10
|
import GraphCommand from '../../../base/GraphCommand.js';
|
|
11
11
|
import commands from '../../commands.js';
|
|
12
|
-
|
|
12
|
+
import aadCommands from '../../aadCommands.js';
|
|
13
|
+
class EntraGroupUserListCommand extends GraphCommand {
|
|
13
14
|
get name() {
|
|
14
15
|
return commands.GROUP_USER_LIST;
|
|
15
16
|
}
|
|
16
17
|
get description() {
|
|
17
|
-
return 'Lists users of a specific
|
|
18
|
+
return 'Lists users of a specific Entra group';
|
|
19
|
+
}
|
|
20
|
+
alias() {
|
|
21
|
+
return [aadCommands.GROUP_USER_LIST];
|
|
18
22
|
}
|
|
19
23
|
defaultProperties() {
|
|
20
24
|
return ['id', 'displayName', 'userPrincipalName', 'roles'];
|
|
21
25
|
}
|
|
22
26
|
constructor() {
|
|
23
27
|
super();
|
|
24
|
-
|
|
25
|
-
__classPrivateFieldGet(this,
|
|
26
|
-
__classPrivateFieldGet(this,
|
|
27
|
-
__classPrivateFieldGet(this,
|
|
28
|
-
__classPrivateFieldGet(this,
|
|
28
|
+
_EntraGroupUserListCommand_instances.add(this);
|
|
29
|
+
__classPrivateFieldGet(this, _EntraGroupUserListCommand_instances, "m", _EntraGroupUserListCommand_initTelemetry).call(this);
|
|
30
|
+
__classPrivateFieldGet(this, _EntraGroupUserListCommand_instances, "m", _EntraGroupUserListCommand_initOptions).call(this);
|
|
31
|
+
__classPrivateFieldGet(this, _EntraGroupUserListCommand_instances, "m", _EntraGroupUserListCommand_initOptionSets).call(this);
|
|
32
|
+
__classPrivateFieldGet(this, _EntraGroupUserListCommand_instances, "m", _EntraGroupUserListCommand_initValidators).call(this);
|
|
29
33
|
}
|
|
30
34
|
async commandAction(logger, args) {
|
|
31
35
|
try {
|
|
@@ -102,7 +106,7 @@ class AadGroupUserListCommand extends GraphCommand {
|
|
|
102
106
|
return users;
|
|
103
107
|
}
|
|
104
108
|
}
|
|
105
|
-
|
|
109
|
+
_EntraGroupUserListCommand_instances = new WeakSet(), _EntraGroupUserListCommand_initTelemetry = function _EntraGroupUserListCommand_initTelemetry() {
|
|
106
110
|
this.telemetry.push((args) => {
|
|
107
111
|
Object.assign(this.telemetryProperties, {
|
|
108
112
|
groupId: typeof args.options.groupId !== 'undefined',
|
|
@@ -112,7 +116,7 @@ _AadGroupUserListCommand_instances = new WeakSet(), _AadGroupUserListCommand_ini
|
|
|
112
116
|
filter: typeof args.options.filter !== 'undefined'
|
|
113
117
|
});
|
|
114
118
|
});
|
|
115
|
-
},
|
|
119
|
+
}, _EntraGroupUserListCommand_initOptions = function _EntraGroupUserListCommand_initOptions() {
|
|
116
120
|
this.options.unshift({
|
|
117
121
|
option: "-i, --groupId [groupId]"
|
|
118
122
|
}, {
|
|
@@ -125,11 +129,11 @@ _AadGroupUserListCommand_instances = new WeakSet(), _AadGroupUserListCommand_ini
|
|
|
125
129
|
}, {
|
|
126
130
|
option: "-f, --filter [filter]"
|
|
127
131
|
});
|
|
128
|
-
},
|
|
132
|
+
}, _EntraGroupUserListCommand_initOptionSets = function _EntraGroupUserListCommand_initOptionSets() {
|
|
129
133
|
this.optionSets.push({
|
|
130
134
|
options: ['groupId', 'groupDisplayName']
|
|
131
135
|
});
|
|
132
|
-
},
|
|
136
|
+
}, _EntraGroupUserListCommand_initValidators = function _EntraGroupUserListCommand_initValidators() {
|
|
133
137
|
this.validators.push(async (args) => {
|
|
134
138
|
if (args.options.groupId && !validation.isValidGuid(args.options.groupId)) {
|
|
135
139
|
return `${args.options.groupId} is not a valid GUID`;
|
|
@@ -142,5 +146,5 @@ _AadGroupUserListCommand_instances = new WeakSet(), _AadGroupUserListCommand_ini
|
|
|
142
146
|
return true;
|
|
143
147
|
});
|
|
144
148
|
};
|
|
145
|
-
export default new
|
|
149
|
+
export default new EntraGroupUserListCommand();
|
|
146
150
|
//# sourceMappingURL=group-user-list.js.map
|
|
@@ -3,23 +3,27 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
3
3
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4
4
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
5
|
};
|
|
6
|
-
var
|
|
6
|
+
var _EntraGroupSettingAddCommand_instances, _EntraGroupSettingAddCommand_initOptions, _EntraGroupSettingAddCommand_initValidators;
|
|
7
7
|
import request from '../../../../request.js';
|
|
8
8
|
import { validation } from '../../../../utils/validation.js';
|
|
9
9
|
import GraphCommand from '../../../base/GraphCommand.js';
|
|
10
10
|
import commands from '../../commands.js';
|
|
11
|
-
|
|
11
|
+
import aadCommands from '../../aadCommands.js';
|
|
12
|
+
class EntraGroupSettingAddCommand extends GraphCommand {
|
|
12
13
|
get name() {
|
|
13
14
|
return commands.GROUPSETTING_ADD;
|
|
14
15
|
}
|
|
15
16
|
get description() {
|
|
16
17
|
return 'Creates a group setting';
|
|
17
18
|
}
|
|
19
|
+
alias() {
|
|
20
|
+
return [aadCommands.GROUPSETTING_ADD];
|
|
21
|
+
}
|
|
18
22
|
constructor() {
|
|
19
23
|
super();
|
|
20
|
-
|
|
21
|
-
__classPrivateFieldGet(this,
|
|
22
|
-
__classPrivateFieldGet(this,
|
|
24
|
+
_EntraGroupSettingAddCommand_instances.add(this);
|
|
25
|
+
__classPrivateFieldGet(this, _EntraGroupSettingAddCommand_instances, "m", _EntraGroupSettingAddCommand_initOptions).call(this);
|
|
26
|
+
__classPrivateFieldGet(this, _EntraGroupSettingAddCommand_instances, "m", _EntraGroupSettingAddCommand_initValidators).call(this);
|
|
23
27
|
}
|
|
24
28
|
allowUnknownOptions() {
|
|
25
29
|
return true;
|
|
@@ -83,11 +87,11 @@ class AadGroupSettingAddCommand extends GraphCommand {
|
|
|
83
87
|
return values;
|
|
84
88
|
}
|
|
85
89
|
}
|
|
86
|
-
|
|
90
|
+
_EntraGroupSettingAddCommand_instances = new WeakSet(), _EntraGroupSettingAddCommand_initOptions = function _EntraGroupSettingAddCommand_initOptions() {
|
|
87
91
|
this.options.unshift({
|
|
88
92
|
option: '-i, --templateId <templateId>'
|
|
89
93
|
});
|
|
90
|
-
},
|
|
94
|
+
}, _EntraGroupSettingAddCommand_initValidators = function _EntraGroupSettingAddCommand_initValidators() {
|
|
91
95
|
this.validators.push(async (args) => {
|
|
92
96
|
if (!validation.isValidGuid(args.options.templateId)) {
|
|
93
97
|
return `${args.options.templateId} is not a valid GUID`;
|
|
@@ -95,5 +99,5 @@ _AadGroupSettingAddCommand_instances = new WeakSet(), _AadGroupSettingAddCommand
|
|
|
95
99
|
return true;
|
|
96
100
|
});
|
|
97
101
|
};
|
|
98
|
-
export default new
|
|
102
|
+
export default new EntraGroupSettingAddCommand();
|
|
99
103
|
//# sourceMappingURL=groupsetting-add.js.map
|
|
@@ -3,23 +3,27 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
3
3
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4
4
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
5
|
};
|
|
6
|
-
var
|
|
6
|
+
var _EntraGroupSettingGetCommand_instances, _EntraGroupSettingGetCommand_initOptions, _EntraGroupSettingGetCommand_initValidators;
|
|
7
7
|
import request from '../../../../request.js';
|
|
8
8
|
import { validation } from '../../../../utils/validation.js';
|
|
9
9
|
import GraphCommand from '../../../base/GraphCommand.js';
|
|
10
|
+
import aadCommands from '../../aadCommands.js';
|
|
10
11
|
import commands from '../../commands.js';
|
|
11
|
-
class
|
|
12
|
+
class EntraGroupSettingGetCommand extends GraphCommand {
|
|
12
13
|
get name() {
|
|
13
14
|
return commands.GROUPSETTING_GET;
|
|
14
15
|
}
|
|
15
16
|
get description() {
|
|
16
17
|
return 'Gets information about the particular group setting';
|
|
17
18
|
}
|
|
19
|
+
alias() {
|
|
20
|
+
return [aadCommands.GROUPSETTING_GET];
|
|
21
|
+
}
|
|
18
22
|
constructor() {
|
|
19
23
|
super();
|
|
20
|
-
|
|
21
|
-
__classPrivateFieldGet(this,
|
|
22
|
-
__classPrivateFieldGet(this,
|
|
24
|
+
_EntraGroupSettingGetCommand_instances.add(this);
|
|
25
|
+
__classPrivateFieldGet(this, _EntraGroupSettingGetCommand_instances, "m", _EntraGroupSettingGetCommand_initOptions).call(this);
|
|
26
|
+
__classPrivateFieldGet(this, _EntraGroupSettingGetCommand_instances, "m", _EntraGroupSettingGetCommand_initValidators).call(this);
|
|
23
27
|
}
|
|
24
28
|
async commandAction(logger, args) {
|
|
25
29
|
try {
|
|
@@ -38,11 +42,11 @@ class AadGroupSettingGetCommand extends GraphCommand {
|
|
|
38
42
|
}
|
|
39
43
|
}
|
|
40
44
|
}
|
|
41
|
-
|
|
45
|
+
_EntraGroupSettingGetCommand_instances = new WeakSet(), _EntraGroupSettingGetCommand_initOptions = function _EntraGroupSettingGetCommand_initOptions() {
|
|
42
46
|
this.options.unshift({
|
|
43
47
|
option: '-i, --id <id>'
|
|
44
48
|
});
|
|
45
|
-
},
|
|
49
|
+
}, _EntraGroupSettingGetCommand_initValidators = function _EntraGroupSettingGetCommand_initValidators() {
|
|
46
50
|
this.validators.push(async (args) => {
|
|
47
51
|
if (!validation.isValidGuid(args.options.id)) {
|
|
48
52
|
return `${args.options.id} is not a valid GUID`;
|
|
@@ -50,5 +54,5 @@ _AadGroupSettingGetCommand_instances = new WeakSet(), _AadGroupSettingGetCommand
|
|
|
50
54
|
return true;
|
|
51
55
|
});
|
|
52
56
|
};
|
|
53
|
-
export default new
|
|
57
|
+
export default new EntraGroupSettingGetCommand();
|
|
54
58
|
//# sourceMappingURL=groupsetting-get.js.map
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { odata } from '../../../../utils/odata.js';
|
|
2
2
|
import GraphCommand from '../../../base/GraphCommand.js';
|
|
3
3
|
import commands from '../../commands.js';
|
|
4
|
-
|
|
4
|
+
import aadCommands from '../../aadCommands.js';
|
|
5
|
+
class EntraGroupSettingListCommand extends GraphCommand {
|
|
5
6
|
get name() {
|
|
6
7
|
return commands.GROUPSETTING_LIST;
|
|
7
8
|
}
|
|
8
9
|
get description() {
|
|
9
|
-
return 'Lists
|
|
10
|
+
return 'Lists Entra group settings';
|
|
11
|
+
}
|
|
12
|
+
alias() {
|
|
13
|
+
return [aadCommands.GROUPSETTING_LIST];
|
|
10
14
|
}
|
|
11
15
|
defaultProperties() {
|
|
12
16
|
return ['id', 'displayName'];
|
|
@@ -21,5 +25,5 @@ class AadGroupSettingListCommand extends GraphCommand {
|
|
|
21
25
|
}
|
|
22
26
|
}
|
|
23
27
|
}
|
|
24
|
-
export default new
|
|
28
|
+
export default new EntraGroupSettingListCommand();
|
|
25
29
|
//# sourceMappingURL=groupsetting-list.js.map
|
|
@@ -3,25 +3,29 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
3
3
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4
4
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
5
|
};
|
|
6
|
-
var
|
|
6
|
+
var _EntraGroupSettingRemoveCommand_instances, _EntraGroupSettingRemoveCommand_initTelemetry, _EntraGroupSettingRemoveCommand_initOptions, _EntraGroupSettingRemoveCommand_initValidators;
|
|
7
7
|
import { cli } from '../../../../cli/cli.js';
|
|
8
8
|
import request from '../../../../request.js';
|
|
9
9
|
import { validation } from '../../../../utils/validation.js';
|
|
10
10
|
import GraphCommand from '../../../base/GraphCommand.js';
|
|
11
|
+
import aadCommands from '../../aadCommands.js';
|
|
11
12
|
import commands from '../../commands.js';
|
|
12
|
-
class
|
|
13
|
+
class EntraGroupSettingRemoveCommand extends GraphCommand {
|
|
13
14
|
get name() {
|
|
14
15
|
return commands.GROUPSETTING_REMOVE;
|
|
15
16
|
}
|
|
16
17
|
get description() {
|
|
17
18
|
return 'Removes the particular group setting';
|
|
18
19
|
}
|
|
20
|
+
alias() {
|
|
21
|
+
return [aadCommands.GROUPSETTING_REMOVE];
|
|
22
|
+
}
|
|
19
23
|
constructor() {
|
|
20
24
|
super();
|
|
21
|
-
|
|
22
|
-
__classPrivateFieldGet(this,
|
|
23
|
-
__classPrivateFieldGet(this,
|
|
24
|
-
__classPrivateFieldGet(this,
|
|
25
|
+
_EntraGroupSettingRemoveCommand_instances.add(this);
|
|
26
|
+
__classPrivateFieldGet(this, _EntraGroupSettingRemoveCommand_instances, "m", _EntraGroupSettingRemoveCommand_initTelemetry).call(this);
|
|
27
|
+
__classPrivateFieldGet(this, _EntraGroupSettingRemoveCommand_instances, "m", _EntraGroupSettingRemoveCommand_initOptions).call(this);
|
|
28
|
+
__classPrivateFieldGet(this, _EntraGroupSettingRemoveCommand_instances, "m", _EntraGroupSettingRemoveCommand_initValidators).call(this);
|
|
25
29
|
}
|
|
26
30
|
async commandAction(logger, args) {
|
|
27
31
|
const removeGroupSetting = async () => {
|
|
@@ -52,19 +56,19 @@ class AadGroupSettingRemoveCommand extends GraphCommand {
|
|
|
52
56
|
}
|
|
53
57
|
}
|
|
54
58
|
}
|
|
55
|
-
|
|
59
|
+
_EntraGroupSettingRemoveCommand_instances = new WeakSet(), _EntraGroupSettingRemoveCommand_initTelemetry = function _EntraGroupSettingRemoveCommand_initTelemetry() {
|
|
56
60
|
this.telemetry.push((args) => {
|
|
57
61
|
Object.assign(this.telemetryProperties, {
|
|
58
62
|
force: (!(!args.options.force)).toString()
|
|
59
63
|
});
|
|
60
64
|
});
|
|
61
|
-
},
|
|
65
|
+
}, _EntraGroupSettingRemoveCommand_initOptions = function _EntraGroupSettingRemoveCommand_initOptions() {
|
|
62
66
|
this.options.unshift({
|
|
63
67
|
option: '-i, --id <id>'
|
|
64
68
|
}, {
|
|
65
69
|
option: '-f, --force'
|
|
66
70
|
});
|
|
67
|
-
},
|
|
71
|
+
}, _EntraGroupSettingRemoveCommand_initValidators = function _EntraGroupSettingRemoveCommand_initValidators() {
|
|
68
72
|
this.validators.push(async (args) => {
|
|
69
73
|
if (!validation.isValidGuid(args.options.id)) {
|
|
70
74
|
return `${args.options.id} is not a valid GUID`;
|
|
@@ -72,5 +76,5 @@ _AadGroupSettingRemoveCommand_instances = new WeakSet(), _AadGroupSettingRemoveC
|
|
|
72
76
|
return true;
|
|
73
77
|
});
|
|
74
78
|
};
|
|
75
|
-
export default new
|
|
79
|
+
export default new EntraGroupSettingRemoveCommand();
|
|
76
80
|
//# sourceMappingURL=groupsetting-remove.js.map
|
|
@@ -3,26 +3,30 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
3
3
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4
4
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
5
|
};
|
|
6
|
-
var
|
|
6
|
+
var _EntraGroupSettingSetCommand_instances, _EntraGroupSettingSetCommand_initOptions, _EntraGroupSettingSetCommand_initValidators;
|
|
7
7
|
import request from '../../../../request.js';
|
|
8
8
|
import { validation } from '../../../../utils/validation.js';
|
|
9
9
|
import GraphCommand from '../../../base/GraphCommand.js';
|
|
10
10
|
import commands from '../../commands.js';
|
|
11
|
-
|
|
11
|
+
import aadCommands from '../../aadCommands.js';
|
|
12
|
+
class EntraGroupSettingSetCommand extends GraphCommand {
|
|
12
13
|
get name() {
|
|
13
14
|
return commands.GROUPSETTING_SET;
|
|
14
15
|
}
|
|
15
16
|
get description() {
|
|
16
17
|
return 'Updates the particular group setting';
|
|
17
18
|
}
|
|
19
|
+
alias() {
|
|
20
|
+
return [aadCommands.GROUPSETTING_SET];
|
|
21
|
+
}
|
|
18
22
|
allowUnknownOptions() {
|
|
19
23
|
return true;
|
|
20
24
|
}
|
|
21
25
|
constructor() {
|
|
22
26
|
super();
|
|
23
|
-
|
|
24
|
-
__classPrivateFieldGet(this,
|
|
25
|
-
__classPrivateFieldGet(this,
|
|
27
|
+
_EntraGroupSettingSetCommand_instances.add(this);
|
|
28
|
+
__classPrivateFieldGet(this, _EntraGroupSettingSetCommand_instances, "m", _EntraGroupSettingSetCommand_initOptions).call(this);
|
|
29
|
+
__classPrivateFieldGet(this, _EntraGroupSettingSetCommand_instances, "m", _EntraGroupSettingSetCommand_initValidators).call(this);
|
|
26
30
|
}
|
|
27
31
|
async commandAction(logger, args) {
|
|
28
32
|
if (this.verbose) {
|
|
@@ -83,11 +87,11 @@ class AadGroupSettingSetCommand extends GraphCommand {
|
|
|
83
87
|
return values;
|
|
84
88
|
}
|
|
85
89
|
}
|
|
86
|
-
|
|
90
|
+
_EntraGroupSettingSetCommand_instances = new WeakSet(), _EntraGroupSettingSetCommand_initOptions = function _EntraGroupSettingSetCommand_initOptions() {
|
|
87
91
|
this.options.unshift({
|
|
88
92
|
option: '-i, --id <id>'
|
|
89
93
|
});
|
|
90
|
-
},
|
|
94
|
+
}, _EntraGroupSettingSetCommand_initValidators = function _EntraGroupSettingSetCommand_initValidators() {
|
|
91
95
|
this.validators.push(async (args) => {
|
|
92
96
|
if (!validation.isValidGuid(args.options.id)) {
|
|
93
97
|
return `${args.options.id} is not a valid GUID`;
|
|
@@ -95,5 +99,5 @@ _AadGroupSettingSetCommand_instances = new WeakSet(), _AadGroupSettingSetCommand
|
|
|
95
99
|
return true;
|
|
96
100
|
});
|
|
97
101
|
};
|
|
98
|
-
export default new
|
|
102
|
+
export default new EntraGroupSettingSetCommand();
|
|
99
103
|
//# sourceMappingURL=groupsetting-set.js.map
|
|
@@ -3,25 +3,29 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
3
3
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4
4
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
5
|
};
|
|
6
|
-
var
|
|
6
|
+
var _EntraGroupSettingTemplateGetCommand_instances, _EntraGroupSettingTemplateGetCommand_initTelemetry, _EntraGroupSettingTemplateGetCommand_initOptions, _EntraGroupSettingTemplateGetCommand_initValidators, _EntraGroupSettingTemplateGetCommand_initOptionSets;
|
|
7
7
|
import { odata } from '../../../../utils/odata.js';
|
|
8
8
|
import { validation } from '../../../../utils/validation.js';
|
|
9
9
|
import GraphCommand from '../../../base/GraphCommand.js';
|
|
10
10
|
import commands from '../../commands.js';
|
|
11
|
-
|
|
11
|
+
import aadCommands from '../../aadCommands.js';
|
|
12
|
+
class EntraGroupSettingTemplateGetCommand extends GraphCommand {
|
|
12
13
|
get name() {
|
|
13
14
|
return commands.GROUPSETTINGTEMPLATE_GET;
|
|
14
15
|
}
|
|
15
16
|
get description() {
|
|
16
|
-
return 'Gets information about the specified
|
|
17
|
+
return 'Gets information about the specified Entra group settings template';
|
|
18
|
+
}
|
|
19
|
+
alias() {
|
|
20
|
+
return [aadCommands.GROUPSETTINGTEMPLATE_GET];
|
|
17
21
|
}
|
|
18
22
|
constructor() {
|
|
19
23
|
super();
|
|
20
|
-
|
|
21
|
-
__classPrivateFieldGet(this,
|
|
22
|
-
__classPrivateFieldGet(this,
|
|
23
|
-
__classPrivateFieldGet(this,
|
|
24
|
-
__classPrivateFieldGet(this,
|
|
24
|
+
_EntraGroupSettingTemplateGetCommand_instances.add(this);
|
|
25
|
+
__classPrivateFieldGet(this, _EntraGroupSettingTemplateGetCommand_instances, "m", _EntraGroupSettingTemplateGetCommand_initTelemetry).call(this);
|
|
26
|
+
__classPrivateFieldGet(this, _EntraGroupSettingTemplateGetCommand_instances, "m", _EntraGroupSettingTemplateGetCommand_initOptions).call(this);
|
|
27
|
+
__classPrivateFieldGet(this, _EntraGroupSettingTemplateGetCommand_instances, "m", _EntraGroupSettingTemplateGetCommand_initValidators).call(this);
|
|
28
|
+
__classPrivateFieldGet(this, _EntraGroupSettingTemplateGetCommand_instances, "m", _EntraGroupSettingTemplateGetCommand_initOptionSets).call(this);
|
|
25
29
|
}
|
|
26
30
|
async commandAction(logger, args) {
|
|
27
31
|
try {
|
|
@@ -39,20 +43,20 @@ class AadGroupSettingTemplateGetCommand extends GraphCommand {
|
|
|
39
43
|
}
|
|
40
44
|
}
|
|
41
45
|
}
|
|
42
|
-
|
|
46
|
+
_EntraGroupSettingTemplateGetCommand_instances = new WeakSet(), _EntraGroupSettingTemplateGetCommand_initTelemetry = function _EntraGroupSettingTemplateGetCommand_initTelemetry() {
|
|
43
47
|
this.telemetry.push((args) => {
|
|
44
48
|
Object.assign(this.telemetryProperties, {
|
|
45
49
|
id: typeof args.options.id !== 'undefined',
|
|
46
50
|
displayName: typeof args.options.displayName !== 'undefined'
|
|
47
51
|
});
|
|
48
52
|
});
|
|
49
|
-
},
|
|
53
|
+
}, _EntraGroupSettingTemplateGetCommand_initOptions = function _EntraGroupSettingTemplateGetCommand_initOptions() {
|
|
50
54
|
this.options.unshift({
|
|
51
55
|
option: '-i, --id [id]'
|
|
52
56
|
}, {
|
|
53
57
|
option: '-n, --displayName [displayName]'
|
|
54
58
|
});
|
|
55
|
-
},
|
|
59
|
+
}, _EntraGroupSettingTemplateGetCommand_initValidators = function _EntraGroupSettingTemplateGetCommand_initValidators() {
|
|
56
60
|
this.validators.push(async (args) => {
|
|
57
61
|
if (args.options.id &&
|
|
58
62
|
!validation.isValidGuid(args.options.id)) {
|
|
@@ -60,8 +64,8 @@ _AadGroupSettingTemplateGetCommand_instances = new WeakSet(), _AadGroupSettingTe
|
|
|
60
64
|
}
|
|
61
65
|
return true;
|
|
62
66
|
});
|
|
63
|
-
},
|
|
67
|
+
}, _EntraGroupSettingTemplateGetCommand_initOptionSets = function _EntraGroupSettingTemplateGetCommand_initOptionSets() {
|
|
64
68
|
this.optionSets.push({ options: ['id', 'displayName'] });
|
|
65
69
|
};
|
|
66
|
-
export default new
|
|
70
|
+
export default new EntraGroupSettingTemplateGetCommand();
|
|
67
71
|
//# sourceMappingURL=groupsettingtemplate-get.js.map
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { odata } from '../../../../utils/odata.js';
|
|
2
2
|
import GraphCommand from '../../../base/GraphCommand.js';
|
|
3
3
|
import commands from '../../commands.js';
|
|
4
|
-
|
|
4
|
+
import aadCommands from '../../aadCommands.js';
|
|
5
|
+
class EntraGroupSettingTemplateListCommand extends GraphCommand {
|
|
5
6
|
get name() {
|
|
6
7
|
return commands.GROUPSETTINGTEMPLATE_LIST;
|
|
7
8
|
}
|
|
8
9
|
get description() {
|
|
9
|
-
return 'Lists
|
|
10
|
+
return 'Lists Entra group settings templates';
|
|
11
|
+
}
|
|
12
|
+
alias() {
|
|
13
|
+
return [aadCommands.GROUPSETTINGTEMPLATE_LIST];
|
|
10
14
|
}
|
|
11
15
|
defaultProperties() {
|
|
12
16
|
return ['id', 'displayName'];
|
|
@@ -21,5 +25,5 @@ class AadGroupSettingTemplateListCommand extends GraphCommand {
|
|
|
21
25
|
}
|
|
22
26
|
}
|
|
23
27
|
}
|
|
24
|
-
export default new
|
|
28
|
+
export default new EntraGroupSettingTemplateListCommand();
|
|
25
29
|
//# sourceMappingURL=groupsettingtemplate-list.js.map
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { odata } from '../../../../utils/odata.js';
|
|
2
2
|
import GraphCommand from '../../../base/GraphCommand.js';
|
|
3
|
+
import aadCommands from '../../aadCommands.js';
|
|
3
4
|
import commands from '../../commands.js';
|
|
4
|
-
class
|
|
5
|
+
class EntraLicenseListCommand extends GraphCommand {
|
|
5
6
|
get name() {
|
|
6
7
|
return commands.LICENSE_LIST;
|
|
7
8
|
}
|
|
8
9
|
get description() {
|
|
9
10
|
return 'Lists commercial subscriptions that an organization has acquired';
|
|
10
11
|
}
|
|
12
|
+
alias() {
|
|
13
|
+
return [aadCommands.LICENSE_LIST];
|
|
14
|
+
}
|
|
11
15
|
defaultProperties() {
|
|
12
16
|
return ['id', 'skuId', 'skuPartNumber'];
|
|
13
17
|
}
|
|
@@ -24,5 +28,5 @@ class AadLicenseListCommand extends GraphCommand {
|
|
|
24
28
|
}
|
|
25
29
|
}
|
|
26
30
|
}
|
|
27
|
-
export default new
|
|
31
|
+
export default new EntraLicenseListCommand();
|
|
28
32
|
//# sourceMappingURL=license-list.js.map
|
|
@@ -3,7 +3,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
3
3
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4
4
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
5
|
};
|
|
6
|
-
var
|
|
6
|
+
var _EntraM365GroupAddCommand_instances, _EntraM365GroupAddCommand_initTelemetry, _EntraM365GroupAddCommand_initOptions, _EntraM365GroupAddCommand_initTypes, _EntraM365GroupAddCommand_initValidators;
|
|
7
7
|
import { setTimeout } from 'timers/promises';
|
|
8
8
|
import fs from 'fs';
|
|
9
9
|
import path from 'path';
|
|
@@ -11,22 +11,26 @@ import request from '../../../../request.js';
|
|
|
11
11
|
import { formatting } from '../../../../utils/formatting.js';
|
|
12
12
|
import GraphCommand from '../../../base/GraphCommand.js';
|
|
13
13
|
import commands from '../../commands.js';
|
|
14
|
-
|
|
14
|
+
import aadCommands from '../../aadCommands.js';
|
|
15
|
+
class EntraM365GroupAddCommand extends GraphCommand {
|
|
15
16
|
get name() {
|
|
16
17
|
return commands.M365GROUP_ADD;
|
|
17
18
|
}
|
|
18
19
|
get description() {
|
|
19
20
|
return 'Creates a Microsoft 365 Group';
|
|
20
21
|
}
|
|
22
|
+
alias() {
|
|
23
|
+
return [aadCommands.M365GROUP_ADD];
|
|
24
|
+
}
|
|
21
25
|
constructor() {
|
|
22
26
|
super();
|
|
23
|
-
|
|
27
|
+
_EntraM365GroupAddCommand_instances.add(this);
|
|
24
28
|
this.pollingInterval = 500;
|
|
25
29
|
this.allowedVisibilities = ['Private', 'Public', 'HiddenMembership'];
|
|
26
|
-
__classPrivateFieldGet(this,
|
|
27
|
-
__classPrivateFieldGet(this,
|
|
28
|
-
__classPrivateFieldGet(this,
|
|
29
|
-
__classPrivateFieldGet(this,
|
|
30
|
+
__classPrivateFieldGet(this, _EntraM365GroupAddCommand_instances, "m", _EntraM365GroupAddCommand_initTelemetry).call(this);
|
|
31
|
+
__classPrivateFieldGet(this, _EntraM365GroupAddCommand_instances, "m", _EntraM365GroupAddCommand_initOptions).call(this);
|
|
32
|
+
__classPrivateFieldGet(this, _EntraM365GroupAddCommand_instances, "m", _EntraM365GroupAddCommand_initTypes).call(this);
|
|
33
|
+
__classPrivateFieldGet(this, _EntraM365GroupAddCommand_instances, "m", _EntraM365GroupAddCommand_initValidators).call(this);
|
|
30
34
|
}
|
|
31
35
|
async commandAction(logger, args) {
|
|
32
36
|
let group;
|
|
@@ -89,7 +93,7 @@ class AadM365GroupAddCommand extends GraphCommand {
|
|
|
89
93
|
},
|
|
90
94
|
data: fs.readFileSync(fullPath)
|
|
91
95
|
};
|
|
92
|
-
await this.setGroupLogo(requestOptionsPhoto,
|
|
96
|
+
await this.setGroupLogo(requestOptionsPhoto, EntraM365GroupAddCommand.numRepeat, logger);
|
|
93
97
|
}
|
|
94
98
|
if (ownerIds.length !== 0) {
|
|
95
99
|
await Promise.all(ownerIds.map(ownerId => request.post({
|
|
@@ -161,7 +165,7 @@ class AadM365GroupAddCommand extends GraphCommand {
|
|
|
161
165
|
}
|
|
162
166
|
catch (err) {
|
|
163
167
|
if (--retryLeft > 0) {
|
|
164
|
-
await setTimeout(this.pollingInterval * (
|
|
168
|
+
await setTimeout(this.pollingInterval * (EntraM365GroupAddCommand.numRepeat - retryLeft));
|
|
165
169
|
await this.setGroupLogo(requestOptions, retryLeft, logger);
|
|
166
170
|
}
|
|
167
171
|
else {
|
|
@@ -181,7 +185,7 @@ class AadM365GroupAddCommand extends GraphCommand {
|
|
|
181
185
|
}
|
|
182
186
|
}
|
|
183
187
|
}
|
|
184
|
-
|
|
188
|
+
_EntraM365GroupAddCommand_instances = new WeakSet(), _EntraM365GroupAddCommand_initTelemetry = function _EntraM365GroupAddCommand_initTelemetry() {
|
|
185
189
|
this.telemetry.push((args) => {
|
|
186
190
|
Object.assign(this.telemetryProperties, {
|
|
187
191
|
owners: typeof args.options.owners !== 'undefined',
|
|
@@ -194,7 +198,7 @@ _AadM365GroupAddCommand_instances = new WeakSet(), _AadM365GroupAddCommand_initT
|
|
|
194
198
|
welcomeEmailDisabled: !!args.options.welcomeEmailDisabled
|
|
195
199
|
});
|
|
196
200
|
});
|
|
197
|
-
},
|
|
201
|
+
}, _EntraM365GroupAddCommand_initOptions = function _EntraM365GroupAddCommand_initOptions() {
|
|
198
202
|
this.options.unshift({
|
|
199
203
|
option: '-n, --displayName <displayName>'
|
|
200
204
|
}, {
|
|
@@ -223,9 +227,9 @@ _AadM365GroupAddCommand_instances = new WeakSet(), _AadM365GroupAddCommand_initT
|
|
|
223
227
|
}, {
|
|
224
228
|
option: '-l, --logoPath [logoPath]'
|
|
225
229
|
});
|
|
226
|
-
},
|
|
230
|
+
}, _EntraM365GroupAddCommand_initTypes = function _EntraM365GroupAddCommand_initTypes() {
|
|
227
231
|
this.types.boolean.push('allowMembersToPost', 'hideGroupInOutlook', 'subscribeNewGroupMembers', 'welcomeEmailDisabled');
|
|
228
|
-
},
|
|
232
|
+
}, _EntraM365GroupAddCommand_initValidators = function _EntraM365GroupAddCommand_initValidators() {
|
|
229
233
|
this.validators.push(async (args) => {
|
|
230
234
|
if (args.options.owners) {
|
|
231
235
|
const owners = args.options.owners.split(',').map(o => o.trim());
|
|
@@ -261,6 +265,6 @@ _AadM365GroupAddCommand_instances = new WeakSet(), _AadM365GroupAddCommand_initT
|
|
|
261
265
|
return true;
|
|
262
266
|
});
|
|
263
267
|
};
|
|
264
|
-
|
|
265
|
-
export default new
|
|
268
|
+
EntraM365GroupAddCommand.numRepeat = 15;
|
|
269
|
+
export default new EntraM365GroupAddCommand();
|
|
266
270
|
//# sourceMappingURL=m365group-add.js.map
|
|
@@ -3,27 +3,31 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
3
3
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4
4
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
5
|
};
|
|
6
|
-
var
|
|
6
|
+
var _EntraM365GroupConversationListCommand_instances, _EntraM365GroupConversationListCommand_initOptions, _EntraM365GroupConversationListCommand_initValidators;
|
|
7
7
|
import { odata } from '../../../../utils/odata.js';
|
|
8
8
|
import { validation } from '../../../../utils/validation.js';
|
|
9
9
|
import GraphCommand from '../../../base/GraphCommand.js';
|
|
10
10
|
import commands from '../../commands.js';
|
|
11
11
|
import { aadGroup } from '../../../../utils/aadGroup.js';
|
|
12
|
-
|
|
12
|
+
import aadCommands from '../../aadCommands.js';
|
|
13
|
+
class EntraM365GroupConversationListCommand extends GraphCommand {
|
|
13
14
|
get name() {
|
|
14
15
|
return commands.M365GROUP_CONVERSATION_LIST;
|
|
15
16
|
}
|
|
16
17
|
get description() {
|
|
17
18
|
return 'Lists conversations for the specified Microsoft 365 group';
|
|
18
19
|
}
|
|
20
|
+
alias() {
|
|
21
|
+
return [aadCommands.M365GROUP_CONVERSATION_LIST];
|
|
22
|
+
}
|
|
19
23
|
defaultProperties() {
|
|
20
24
|
return ['topic', 'lastDeliveredDateTime', 'id'];
|
|
21
25
|
}
|
|
22
26
|
constructor() {
|
|
23
27
|
super();
|
|
24
|
-
|
|
25
|
-
__classPrivateFieldGet(this,
|
|
26
|
-
__classPrivateFieldGet(this,
|
|
28
|
+
_EntraM365GroupConversationListCommand_instances.add(this);
|
|
29
|
+
__classPrivateFieldGet(this, _EntraM365GroupConversationListCommand_instances, "m", _EntraM365GroupConversationListCommand_initOptions).call(this);
|
|
30
|
+
__classPrivateFieldGet(this, _EntraM365GroupConversationListCommand_instances, "m", _EntraM365GroupConversationListCommand_initValidators).call(this);
|
|
27
31
|
}
|
|
28
32
|
async commandAction(logger, args) {
|
|
29
33
|
try {
|
|
@@ -39,11 +43,11 @@ class AadM365GroupConversationListCommand extends GraphCommand {
|
|
|
39
43
|
}
|
|
40
44
|
}
|
|
41
45
|
}
|
|
42
|
-
|
|
46
|
+
_EntraM365GroupConversationListCommand_instances = new WeakSet(), _EntraM365GroupConversationListCommand_initOptions = function _EntraM365GroupConversationListCommand_initOptions() {
|
|
43
47
|
this.options.unshift({
|
|
44
48
|
option: '-i, --groupId <groupId>'
|
|
45
49
|
});
|
|
46
|
-
},
|
|
50
|
+
}, _EntraM365GroupConversationListCommand_initValidators = function _EntraM365GroupConversationListCommand_initValidators() {
|
|
47
51
|
this.validators.push(async (args) => {
|
|
48
52
|
if (!validation.isValidGuid(args.options.groupId)) {
|
|
49
53
|
return `${args.options.groupId} is not a valid GUID`;
|
|
@@ -51,5 +55,5 @@ _AadM365GroupConversationListCommand_instances = new WeakSet(), _AadM365GroupCon
|
|
|
51
55
|
return true;
|
|
52
56
|
});
|
|
53
57
|
};
|
|
54
|
-
export default new
|
|
58
|
+
export default new EntraM365GroupConversationListCommand();
|
|
55
59
|
//# sourceMappingURL=m365group-conversation-list.js.map
|