@pnp/cli-microsoft365 7.3.0-beta.01256d2 → 7.3.0-beta.38bb1d7
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/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Auth.js +4 -5
- package/dist/Command.js +10 -13
- package/dist/api.js +2 -3
- package/dist/autocomplete.js +4 -6
- package/dist/chili/chili.js +1 -2
- package/dist/cli/cli.js +880 -0
- package/dist/index.js +2 -2
- package/dist/m365/aad/commands/administrativeunit/administrativeunit-member-add.js +137 -0
- package/dist/m365/aad/commands/administrativeunit/administrativeunit-member-list.js +138 -0
- package/dist/m365/aad/commands/administrativeunit/administrativeunit-remove.js +2 -2
- package/dist/m365/aad/commands/app/app-get.js +2 -2
- package/dist/m365/aad/commands/app/app-permission-add.js +237 -0
- package/dist/m365/aad/commands/app/app-remove.js +3 -3
- package/dist/m365/aad/commands/app/app-role-add.js +2 -2
- package/dist/m365/aad/commands/app/app-role-list.js +2 -2
- package/dist/m365/aad/commands/app/app-role-remove.js +4 -4
- package/dist/m365/aad/commands/app/app-set.js +2 -2
- package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +2 -2
- package/dist/m365/aad/commands/approleassignment/approleassignment-remove.js +2 -2
- package/dist/m365/aad/commands/group/group-list.js +2 -2
- package/dist/m365/aad/commands/group/group-remove.js +2 -2
- package/dist/m365/aad/commands/groupsetting/groupsetting-remove.js +2 -2
- package/dist/m365/aad/commands/m365group/m365group-recyclebinitem-clear.js +2 -2
- package/dist/m365/aad/commands/m365group/m365group-recyclebinitem-remove.js +3 -3
- package/dist/m365/aad/commands/m365group/m365group-recyclebinitem-restore.js +2 -2
- package/dist/m365/aad/commands/m365group/m365group-remove.js +2 -2
- package/dist/m365/aad/commands/m365group/m365group-teamify.js +2 -2
- package/dist/m365/aad/commands/m365group/m365group-user-remove.js +2 -2
- package/dist/m365/aad/commands/oauth2grant/oauth2grant-remove.js +2 -2
- package/dist/m365/aad/commands/siteclassification/siteclassification-disable.js +2 -2
- package/dist/m365/aad/commands/sp/sp-add.js +2 -2
- package/dist/m365/aad/commands/sp/sp-get.js +2 -2
- package/dist/m365/aad/commands/user/user-get.js +2 -2
- package/dist/m365/aad/commands/user/user-license-remove.js +2 -2
- package/dist/m365/aad/commands/user/user-recyclebinitem-clear.js +2 -2
- package/dist/m365/aad/commands/user/user-recyclebinitem-remove.js +2 -2
- package/dist/m365/aad/commands/user/user-remove.js +2 -2
- package/dist/m365/aad/commands.js +4 -1
- package/dist/m365/app/commands/app-get.js +2 -2
- package/dist/m365/app/commands/app-open.js +2 -2
- package/dist/m365/app/commands/permission/permission-list.js +2 -2
- package/dist/m365/base/AppCommand.js +2 -2
- package/dist/m365/booking/commands/business/business-get.js +2 -2
- package/dist/m365/cli/commands/cli-doctor.js +2 -2
- package/dist/m365/cli/commands/cli-reconsent.js +2 -2
- package/dist/m365/cli/commands/config/config-get.js +2 -2
- package/dist/m365/cli/commands/config/config-list.js +2 -2
- package/dist/m365/cli/commands/config/config-reset.js +3 -3
- package/dist/m365/cli/commands/config/config-set.js +4 -4
- package/dist/m365/commands/docs.js +2 -2
- package/dist/m365/commands/login.js +4 -4
- package/dist/m365/commands/setup.js +8 -8
- package/dist/m365/context/commands/context-remove.js +2 -2
- package/dist/m365/context/commands/option/option-remove.js +2 -2
- package/dist/m365/external/commands/connection/connection-doctor.js +1 -2
- package/dist/m365/external/commands/connection/connection-remove.js +3 -3
- package/dist/m365/flow/commands/flow-remove.js +2 -2
- package/dist/m365/flow/commands/owner/owner-list.js +2 -2
- package/dist/m365/flow/commands/owner/owner-remove.js +2 -2
- package/dist/m365/flow/commands/run/run-cancel.js +2 -2
- package/dist/m365/flow/commands/run/run-resubmit.js +2 -2
- package/dist/m365/graph/commands/changelog/changelog-list.js +3 -3
- package/dist/m365/graph/commands/schemaextension/schemaextension-remove.js +2 -2
- package/dist/m365/outlook/commands/message/message-list.js +2 -2
- package/dist/m365/outlook/commands/message/message-move.js +2 -2
- package/dist/m365/pa/commands/app/app-consent-set.js +2 -2
- package/dist/m365/pa/commands/app/app-get.js +2 -2
- package/dist/m365/pa/commands/app/app-permission-remove.js +2 -2
- package/dist/m365/pa/commands/app/app-remove.js +2 -2
- package/dist/m365/planner/commands/bucket/bucket-get.js +2 -2
- package/dist/m365/planner/commands/bucket/bucket-remove.js +3 -3
- package/dist/m365/planner/commands/bucket/bucket-set.js +2 -2
- package/dist/m365/planner/commands/plan/plan-remove.js +2 -2
- package/dist/m365/planner/commands/roster/roster-member-remove.js +3 -3
- package/dist/m365/planner/commands/roster/roster-remove.js +2 -2
- package/dist/m365/planner/commands/task/task-checklistitem-add.js +2 -2
- package/dist/m365/planner/commands/task/task-checklistitem-list.js +2 -2
- package/dist/m365/planner/commands/task/task-checklistitem-remove.js +2 -2
- package/dist/m365/planner/commands/task/task-get.js +3 -3
- package/dist/m365/planner/commands/task/task-reference-remove.js +2 -2
- package/dist/m365/planner/commands/task/task-remove.js +4 -4
- package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-get.js +2 -2
- package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-remove.js +3 -3
- package/dist/m365/pp/commands/card/card-clone.js +2 -2
- package/dist/m365/pp/commands/card/card-get.js +2 -2
- package/dist/m365/pp/commands/card/card-remove.js +3 -3
- package/dist/m365/pp/commands/chatbot/chatbot-get.js +2 -2
- package/dist/m365/pp/commands/chatbot/chatbot-remove.js +3 -3
- package/dist/m365/pp/commands/dataverse/dataverse-table-remove.js +2 -2
- package/dist/m365/pp/commands/dataverse/dataverse-table-row-remove.js +2 -2
- package/dist/m365/pp/commands/managementapp/managementapp-add.js +2 -2
- package/dist/m365/pp/commands/solution/solution-get.js +2 -2
- package/dist/m365/pp/commands/solution/solution-list.js +2 -2
- package/dist/m365/pp/commands/solution/solution-publish.js +2 -2
- package/dist/m365/pp/commands/solution/solution-publisher-remove.js +3 -3
- package/dist/m365/pp/commands/solution/solution-remove.js +3 -3
- package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +2 -2
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +2 -2
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +2 -2
- package/dist/m365/spfx/commands/project/project-permissions-grant.js +2 -2
- package/dist/m365/spo/commands/app/app-add.js +2 -2
- package/dist/m365/spo/commands/app/app-remove.js +2 -2
- package/dist/m365/spo/commands/app/app-retract.js +2 -2
- package/dist/m365/spo/commands/app/app-uninstall.js +2 -2
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-get.js +2 -2
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-remove.js +3 -3
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-set.js +2 -2
- package/dist/m365/spo/commands/cdn/cdn-origin-remove.js +2 -2
- package/dist/m365/spo/commands/commandset/commandset-get.js +2 -2
- package/dist/m365/spo/commands/commandset/commandset-remove.js +3 -3
- package/dist/m365/spo/commands/commandset/commandset-set.js +2 -2
- package/dist/m365/spo/commands/contenttype/contenttype-add.js +2 -2
- package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +2 -2
- package/dist/m365/spo/commands/contenttype/contenttype-remove.js +2 -2
- package/dist/m365/spo/commands/customaction/customaction-add.js +1 -1
- package/dist/m365/spo/commands/customaction/customaction-clear.js +2 -2
- package/dist/m365/spo/commands/customaction/customaction-get.js +3 -3
- package/dist/m365/spo/commands/customaction/customaction-remove.js +3 -3
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-get.js +2 -2
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-remove.js +3 -3
- package/dist/m365/spo/commands/field/field-remove.js +2 -2
- package/dist/m365/spo/commands/file/file-add.js +1 -1
- package/dist/m365/spo/commands/file/file-checkout-undo.js +2 -2
- package/dist/m365/spo/commands/file/file-remove.js +2 -2
- package/dist/m365/spo/commands/file/file-rename.js +2 -2
- package/dist/m365/spo/commands/file/file-retentionlabel-remove.js +2 -2
- package/dist/m365/spo/commands/file/file-roleassignment-add.js +5 -5
- package/dist/m365/spo/commands/file/file-roleassignment-remove.js +5 -5
- package/dist/m365/spo/commands/file/file-roleinheritance-break.js +3 -3
- package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +3 -3
- package/dist/m365/spo/commands/file/file-sharinginfo-get.js +2 -2
- package/dist/m365/spo/commands/file/file-sharinglink-clear.js +3 -3
- package/dist/m365/spo/commands/file/file-sharinglink-list.js +2 -2
- package/dist/m365/spo/commands/file/file-sharinglink-remove.js +2 -2
- package/dist/m365/spo/commands/file/file-version-clear.js +2 -2
- package/dist/m365/spo/commands/file/file-version-remove.js +2 -2
- package/dist/m365/spo/commands/file/file-version-restore.js +2 -2
- package/dist/m365/spo/commands/folder/folder-remove.js +2 -2
- package/dist/m365/spo/commands/folder/folder-retentionlabel-remove.js +2 -2
- package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +4 -4
- package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +4 -4
- package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +2 -2
- package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +2 -2
- package/dist/m365/spo/commands/group/group-list.js +2 -2
- package/dist/m365/spo/commands/group/group-member-remove.js +9 -9
- package/dist/m365/spo/commands/group/group-remove.js +2 -2
- package/dist/m365/spo/commands/group/group-set.js +2 -2
- package/dist/m365/spo/commands/homesite/homesite-remove.js +2 -2
- package/dist/m365/spo/commands/hubsite/hubsite-connect.js +2 -2
- package/dist/m365/spo/commands/hubsite/hubsite-disconnect.js +3 -3
- package/dist/m365/spo/commands/hubsite/hubsite-get.js +4 -4
- package/dist/m365/spo/commands/hubsite/hubsite-rights-revoke.js +2 -2
- package/dist/m365/spo/commands/hubsite/hubsite-unregister.js +2 -2
- package/dist/m365/spo/commands/knowledgehub/knowledgehub-remove.js +2 -2
- package/dist/m365/spo/commands/list/list-contenttype-remove.js +2 -2
- package/dist/m365/spo/commands/list/list-remove.js +2 -2
- package/dist/m365/spo/commands/list/list-retentionlabel-remove.js +2 -2
- package/dist/m365/spo/commands/list/list-roleassignment-remove.js +4 -4
- package/dist/m365/spo/commands/list/list-roleinheritance-break.js +2 -2
- package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +2 -2
- package/dist/m365/spo/commands/list/list-view-field-remove.js +2 -2
- package/dist/m365/spo/commands/list/list-view-remove.js +2 -2
- package/dist/m365/spo/commands/list/list-webhook-remove.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-attachment-remove.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-list.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-remove.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-retentionlabel-remove.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +4 -4
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +4 -4
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +2 -2
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +2 -2
- package/dist/m365/spo/commands/navigation/navigation-node-remove.js +2 -2
- package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-remove.js +2 -2
- package/dist/m365/spo/commands/orgnewssite/orgnewssite-remove.js +2 -2
- package/dist/m365/spo/commands/page/page-add.js +4 -4
- package/dist/m365/spo/commands/page/page-column-get.js +2 -2
- package/dist/m365/spo/commands/page/page-column-list.js +2 -2
- package/dist/m365/spo/commands/page/page-remove.js +2 -2
- package/dist/m365/spo/commands/page/page-section-get.js +2 -2
- package/dist/m365/spo/commands/page/page-section-list.js +2 -2
- package/dist/m365/spo/commands/page/page-set.js +5 -5
- package/dist/m365/spo/commands/propertybag/propertybag-remove.js +2 -2
- package/dist/m365/spo/commands/roledefinition/roledefinition-remove.js +2 -2
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-approve.js +2 -2
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-set.js +2 -2
- package/dist/m365/spo/commands/site/site-apppermission-remove.js +2 -2
- package/dist/m365/spo/commands/site/site-hubsite-disconnect.js +2 -2
- package/dist/m365/spo/commands/site/site-recyclebinitem-clear.js +2 -2
- package/dist/m365/spo/commands/site/site-recyclebinitem-move.js +2 -2
- package/dist/m365/spo/commands/site/site-recyclebinitem-remove.js +2 -2
- package/dist/m365/spo/commands/site/site-remove.js +2 -2
- package/dist/m365/spo/commands/site/site-set.js +3 -3
- package/dist/m365/spo/commands/sitedesign/sitedesign-get.js +2 -2
- package/dist/m365/spo/commands/sitedesign/sitedesign-remove.js +2 -2
- package/dist/m365/spo/commands/sitedesign/sitedesign-rights-revoke.js +2 -2
- package/dist/m365/spo/commands/sitedesign/sitedesign-task-remove.js +2 -2
- package/dist/m365/spo/commands/sitescript/sitescript-remove.js +2 -2
- package/dist/m365/spo/commands/spo-search.js +2 -2
- package/dist/m365/spo/commands/storageentity/storageentity-remove.js +2 -2
- package/dist/m365/spo/commands/tenant/tenant-appcatalog-add.js +5 -5
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-add.js +5 -5
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +2 -2
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-remove.js +3 -3
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-set.js +4 -4
- package/dist/m365/spo/commands/tenant/tenant-commandset-add.js +5 -5
- package/dist/m365/spo/commands/tenant/tenant-commandset-get.js +2 -2
- package/dist/m365/spo/commands/tenant/tenant-commandset-remove.js +3 -3
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +2 -2
- package/dist/m365/spo/commands/term/term-get.js +2 -2
- package/dist/m365/spo/commands/term/term-list.js +2 -2
- package/dist/m365/spo/commands/theme/theme-remove.js +2 -2
- package/dist/m365/spo/commands/user/user-remove.js +2 -2
- package/dist/m365/spo/commands/userprofile/userprofile-get.js +2 -2
- package/dist/m365/spo/commands/web/web-remove.js +2 -2
- package/dist/m365/spo/commands/web/web-roleassignment-add.js +4 -4
- package/dist/m365/spo/commands/web/web-roleassignment-remove.js +4 -4
- package/dist/m365/spo/commands/web/web-roleinheritance-break.js +2 -2
- package/dist/m365/spo/commands/web/web-roleinheritance-reset.js +2 -2
- package/dist/m365/teams/commands/app/app-install.js +32 -5
- package/dist/m365/teams/commands/app/app-remove.js +3 -3
- package/dist/m365/teams/commands/app/app-uninstall.js +2 -2
- package/dist/m365/teams/commands/app/app-update.js +2 -2
- package/dist/m365/teams/commands/cache/cache-remove.js +2 -2
- package/dist/m365/teams/commands/channel/channel-add.js +2 -2
- package/dist/m365/teams/commands/channel/channel-member-add.js +2 -2
- package/dist/m365/teams/commands/channel/channel-member-remove.js +3 -3
- 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/chat/chat-get.js +3 -3
- package/dist/m365/teams/commands/chat/chat-member-remove.js +2 -2
- package/dist/m365/teams/commands/chat/chat-message-send.js +3 -3
- package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +2 -2
- package/dist/m365/teams/commands/tab/tab-remove.js +2 -2
- package/dist/m365/teams/commands/team/team-app-list.js +3 -3
- package/dist/m365/teams/commands/team/team-remove.js +2 -2
- package/dist/m365/teams/commands/user/user-app-add.js +23 -5
- package/dist/m365/teams/commands/user/user-app-list.js +2 -2
- package/dist/m365/teams/commands/user/user-app-remove.js +3 -3
- package/dist/m365/tenant/commands/people/people-profilecardproperty-remove.js +2 -2
- package/dist/m365/todo/commands/list/list-remove.js +2 -2
- package/dist/m365/todo/commands/task/task-get.js +2 -2
- package/dist/m365/todo/commands/task/task-list.js +2 -2
- package/dist/m365/todo/commands/task/task-remove.js +2 -2
- package/dist/m365/viva/commands/connections/connections-app-create.js +2 -2
- package/dist/m365/yammer/commands/group/group-user-remove.js +2 -2
- package/dist/m365/yammer/commands/message/message-like-set.js +2 -2
- package/dist/m365/yammer/commands/message/message-remove.js +2 -2
- package/dist/m365/yammer/commands/yammer-search.js +2 -2
- package/dist/telemetry.js +2 -2
- package/dist/utils/aadAdministrativeUnit.js +2 -2
- package/dist/utils/aadDevice.js +25 -0
- package/dist/utils/aadGroup.js +3 -3
- package/dist/utils/prompt.js +4 -7
- package/docs/docs/cmd/aad/administrativeunit/administrativeunit-member-add.mdx +93 -0
- package/docs/docs/cmd/aad/administrativeunit/administrativeunit-member-list.mdx +312 -0
- package/docs/docs/cmd/aad/app/app-permission-add.mdx +62 -0
- package/docs/docs/cmd/aad/user/user-password-validate.mdx +2 -2
- package/docs/docs/cmd/adaptivecard/adaptivecard-send.mdx +1 -1
- package/docs/docs/cmd/external/connection/connection-doctor.mdx +3 -0
- package/docs/docs/cmd/flow/environment/environment-get.mdx +1 -1
- package/docs/docs/cmd/flow/environment/environment-list.mdx +1 -1
- package/docs/docs/cmd/flow/flow-disable.mdx +1 -1
- package/docs/docs/cmd/flow/flow-enable.mdx +1 -1
- package/docs/docs/cmd/flow/flow-export.mdx +1 -1
- package/docs/docs/cmd/flow/flow-get.mdx +1 -1
- package/docs/docs/cmd/flow/flow-list.mdx +1 -1
- package/docs/docs/cmd/flow/run/run-cancel.mdx +1 -1
- package/docs/docs/cmd/flow/run/run-get.mdx +1 -1
- package/docs/docs/cmd/flow/run/run-list.mdx +1 -1
- package/docs/docs/cmd/flow/run/run-resubmit.mdx +1 -1
- package/docs/docs/cmd/graph/changelog/changelog-list.mdx +1 -1
- 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 +1 -1
- package/docs/docs/cmd/pa/app/app-list.mdx +1 -1
- package/docs/docs/cmd/pa/connector/connector-export.mdx +1 -1
- package/docs/docs/cmd/pa/connector/connector-list.mdx +1 -1
- package/docs/docs/cmd/pa/environment/environment-get.mdx +1 -1
- package/docs/docs/cmd/pa/environment/environment-list.mdx +1 -1
- package/docs/docs/cmd/planner/bucket/bucket-add.mdx +1 -1
- package/docs/docs/cmd/planner/bucket/bucket-get.mdx +1 -1
- package/docs/docs/cmd/planner/bucket/bucket-list.mdx +1 -1
- package/docs/docs/cmd/planner/bucket/bucket-remove.mdx +1 -1
- package/docs/docs/cmd/planner/bucket/bucket-set.mdx +1 -1
- package/docs/docs/cmd/planner/plan/plan-get.mdx +1 -1
- package/docs/docs/cmd/planner/plan/plan-list.mdx +1 -1
- package/docs/docs/cmd/planner/plan/plan-set.mdx +1 -1
- package/docs/docs/cmd/planner/roster/roster-add.mdx +2 -2
- package/docs/docs/cmd/planner/roster/roster-get.mdx +1 -1
- package/docs/docs/cmd/planner/roster/roster-member-add.mdx +1 -1
- package/docs/docs/cmd/planner/roster/roster-member-get.mdx +1 -1
- package/docs/docs/cmd/planner/roster/roster-member-list.mdx +1 -1
- package/docs/docs/cmd/planner/roster/roster-member-remove.mdx +2 -2
- package/docs/docs/cmd/planner/roster/roster-plan-list.mdx +1 -1
- package/docs/docs/cmd/planner/roster/roster-remove.mdx +2 -2
- package/docs/docs/cmd/planner/task/task-add.mdx +1 -1
- package/docs/docs/cmd/planner/task/task-list.mdx +2 -2
- package/docs/docs/cmd/planner/task/task-remove.mdx +1 -1
- package/docs/docs/cmd/planner/task/task-set.mdx +1 -1
- package/docs/docs/cmd/pp/environment/environment-get.mdx +1 -1
- package/docs/docs/cmd/pp/environment/environment-list.mdx +1 -1
- package/docs/docs/cmd/pp/tenant/tenant-settings-list.mdx +1 -1
- package/docs/docs/cmd/pp/tenant/tenant-settings-set.mdx +1 -1
- package/docs/docs/cmd/purview/retentionevent/retentionevent-add.mdx +1 -1
- package/docs/docs/cmd/purview/retentionevent/retentionevent-get.mdx +1 -1
- package/docs/docs/cmd/purview/retentionevent/retentionevent-list.mdx +1 -1
- package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.mdx +1 -1
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.mdx +1 -1
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.mdx +1 -1
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.mdx +1 -1
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.mdx +1 -1
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.mdx +1 -1
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.mdx +1 -1
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.mdx +1 -1
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.mdx +1 -1
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.mdx +1 -1
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.mdx +1 -1
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-get.mdx +2 -2
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-list.mdx +2 -2
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-policysettings-list.mdx +2 -2
- package/docs/docs/cmd/spfx/project/project-externalize.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/eventreceiver/eventreceiver-remove.mdx +1 -1
- package/docs/docs/cmd/spo/field/field-set.mdx +1 -1
- package/docs/docs/cmd/spo/list/list-sensitivitylabel-ensure.mdx +1 -1
- 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 +1 -1
- package/docs/docs/cmd/spo/site/site-groupify.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-recyclebinitem-clear.mdx +1 -1
- package/docs/docs/cmd/spo/site/site-recyclebinitem-remove.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/teams/app/app-install.mdx +11 -2
- package/docs/docs/cmd/teams/meeting/meeting-transcript-list.mdx +2 -2
- package/docs/docs/cmd/teams/user/user-app-add.mdx +12 -3
- package/docs/docs/cmd/teams/user/user-app-remove.mdx +2 -2
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-add.mdx +1 -1
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-remove.mdx +1 -1
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-set.mdx +1 -1
- package/docs/docs/cmd/yammer/group/group-list.mdx +1 -1
- package/docs/docs/cmd/yammer/group/group-user-add.mdx +1 -1
- package/docs/docs/cmd/yammer/group/group-user-remove.mdx +1 -1
- package/docs/docs/cmd/yammer/message/message-add.mdx +1 -1
- package/docs/docs/cmd/yammer/message/message-get.mdx +1 -1
- package/docs/docs/cmd/yammer/message/message-like-set.mdx +1 -1
- package/docs/docs/cmd/yammer/message/message-list.mdx +1 -1
- package/docs/docs/cmd/yammer/message/message-remove.mdx +1 -1
- package/docs/docs/cmd/yammer/network/network-list.mdx +1 -1
- package/docs/docs/cmd/yammer/user/user-get.mdx +1 -1
- package/docs/docs/cmd/yammer/user/user-list.mdx +1 -1
- package/docs/docs/cmd/yammer/yammer-search.mdx +1 -1
- package/npm-shrinkwrap.json +1008 -406
- package/package.json +24 -24
- package/dist/cli/Cli.js +0 -858
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# aad administrativeunit member add
|
|
6
|
+
|
|
7
|
+
Add a member (user, group, or device) to an administrative unit
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 aad administrativeunit member 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` but not both.
|
|
20
|
+
|
|
21
|
+
`-n, --administrativeUnitName [administrativeUnitName]`
|
|
22
|
+
: The name of the administrative unit. Specify either `administrativeUnitId` or `administrativeUnitName` but not both.
|
|
23
|
+
|
|
24
|
+
`--userId [userId]`
|
|
25
|
+
: The id of the user to be added. Specify `userId`, `userName`, `groupId`, `groupName`, `deviceId` or `deviceName`.
|
|
26
|
+
|
|
27
|
+
`--userName [userName]`
|
|
28
|
+
: The user principal name (UPN) of the user to be added. Specify `userId`, `userName`, `groupId`, `groupName`, `deviceId` or `deviceName`.
|
|
29
|
+
|
|
30
|
+
`--groupId [groupId]`
|
|
31
|
+
: The id of the group to be added. Specify `userId`, `userName`, `groupId`, `groupName`, `deviceId` or `deviceName`.
|
|
32
|
+
|
|
33
|
+
`--groupName [groupName]`
|
|
34
|
+
: The name of the group to be added. Specify `userId`, `userName`, `groupId`, `groupName`, `deviceId` or `deviceName`.
|
|
35
|
+
|
|
36
|
+
`--deviceId [deviceId]`
|
|
37
|
+
: The id of the device to be added. Specify `userId`, `userName`, `groupId`, `groupName`, `deviceId` or `deviceName`.
|
|
38
|
+
|
|
39
|
+
`--deviceName [deviceName]`
|
|
40
|
+
: The name of the device to be added. Specify `userId`, `userName`, `groupId`, `groupName`, `deviceId` or `deviceName`.
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
<Global />
|
|
44
|
+
|
|
45
|
+
## Remarks
|
|
46
|
+
|
|
47
|
+
:::info
|
|
48
|
+
|
|
49
|
+
To use this command you must be either **Global Administrator** or **Privileged Role Administrator**.
|
|
50
|
+
|
|
51
|
+
:::
|
|
52
|
+
|
|
53
|
+
## Examples
|
|
54
|
+
|
|
55
|
+
Add a single user specified by id to an administrative unit specified by id
|
|
56
|
+
|
|
57
|
+
```sh
|
|
58
|
+
m365 aad administrativeunit member add --administrativeUnitId 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7 --userId 1caf7dcd-7e83-4c3a-94f7-932a1299c844
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Add a single user specified by user principal name to an administrative unit specified by name
|
|
62
|
+
|
|
63
|
+
```sh
|
|
64
|
+
m365 aad administrativeunit member add --administrativeUnitName 'Marketing Division' --userName john.doe@contoso.com
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Add a single group specified by id to an administrative unit specified by id
|
|
68
|
+
|
|
69
|
+
```sh
|
|
70
|
+
m365 aad administrativeunit member add --administrativeUnitId 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7 --groupId b2307a39-e878-458b-bc90-03bc578531d6
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Add a single group specified by name to an administrative unit specified by name
|
|
74
|
+
|
|
75
|
+
```sh
|
|
76
|
+
m365 aad administrativeunit member add --administrativeUnitName 'Marketing Division' --groupName 'Marketing Group'
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Add a single device specified by id to an administrative unit specified by id
|
|
80
|
+
|
|
81
|
+
```sh
|
|
82
|
+
m365 aad administrativeunit member add --administrativeUnitId 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7 --deviceId 810c84a8-4a9e-49e6-bf7d-12d183f40d01
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Add a single device specified by name to an administrative unit specified by name
|
|
86
|
+
|
|
87
|
+
```sh
|
|
88
|
+
m365 aad administrativeunit member add --administrativeUnitName 'Marketing Division' --deviceName 'JohnDoe-PC'
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## More information
|
|
92
|
+
|
|
93
|
+
- Administrative units: https://learn.microsoft.com/entra/identity/role-based-access-control/administrative-units
|
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# aad administrativeunit member list
|
|
6
|
+
|
|
7
|
+
Retrieves members (users, groups, or devices) of an administrative unit
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 aad administrativeunit member list [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
|
+
`-t, --type [type]`
|
|
25
|
+
: When specified, the command returns only objects of specified type. Allowed values are `user`, `group` and `device`.
|
|
26
|
+
|
|
27
|
+
`-p, --properties [properties]`
|
|
28
|
+
: Comma-separated list of properties to retrieve.
|
|
29
|
+
|
|
30
|
+
`-f, --filter [filter]`
|
|
31
|
+
: OData filter to use to query the list of members with. Applied only when `type` is specified.
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
<Global />
|
|
35
|
+
|
|
36
|
+
## Remarks
|
|
37
|
+
|
|
38
|
+
To list the members of a hidden membership in an administrative unit, the `Member.Read.Hidden` permission is required.
|
|
39
|
+
|
|
40
|
+
When the `properties` option includes values with a `/`, for example: `manager/displayName`, an additional `$expand` query parameter will be included on manager.
|
|
41
|
+
|
|
42
|
+
## Examples
|
|
43
|
+
|
|
44
|
+
List members of an administrative unit specified by id
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
m365 aad administrativeunit member list --administrativeUnitId 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
List members of an administrative unit specified by id. For each one return the `id` and the `displayName`
|
|
51
|
+
|
|
52
|
+
```sh
|
|
53
|
+
m365 aad administrativeunit member list --administrativeUnitId 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7 --properties 'id,displayName'
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
List members of an administrative unit specified by name
|
|
57
|
+
|
|
58
|
+
```sh
|
|
59
|
+
m365 aad administrativeunit member list --administrativeUnitName 'Marketing Division'
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
List users of an administrative unit specified by id
|
|
63
|
+
|
|
64
|
+
```sh
|
|
65
|
+
m365 aad administrativeunit member list --administrativeUnitId 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7 --type user
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
List users of an administrative unit specified by id that are guest users
|
|
69
|
+
|
|
70
|
+
```sh
|
|
71
|
+
m365 aad administrativeunit member list --administrativeUnitId 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7 --type user --filter "userType eq 'Guest'"
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
List groups of an administrative unit specified by id
|
|
75
|
+
|
|
76
|
+
```sh
|
|
77
|
+
m365 aad administrativeunit member list --administrativeUnitId 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7 --type group
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
List groups of an administrative unit specified by id and include owners names, for each member return the `id` and the `displayName`
|
|
81
|
+
|
|
82
|
+
```sh
|
|
83
|
+
m365 aad administrativeunit member list --administrativeUnitId 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7 --type group --properties 'id,displayName,owners/displayName'
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
List devices of an administrative unit specified by id
|
|
87
|
+
|
|
88
|
+
```sh
|
|
89
|
+
m365 aad administrativeunit member list --administrativeUnitId 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7 --type device
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
List devices with linux operating system of an administrative unit specified by id
|
|
93
|
+
|
|
94
|
+
```sh
|
|
95
|
+
m365 aad administrativeunit member list --administrativeUnitId 03c4c9dc-6f0c-4c4f-a4e6-0c9ed80f54c7 --type device --filter "operatingSystem eq 'linux'"
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
## Response
|
|
99
|
+
|
|
100
|
+
<Tabs>
|
|
101
|
+
<TabItem value="JSON">
|
|
102
|
+
|
|
103
|
+
```json
|
|
104
|
+
[
|
|
105
|
+
{
|
|
106
|
+
"id": "64131a70-beb9-4ccb-b590-4401e58446ec",
|
|
107
|
+
"businessPhones": [
|
|
108
|
+
"+20 255501070"
|
|
109
|
+
],
|
|
110
|
+
"displayName": "Pradeep Gupta",
|
|
111
|
+
"givenName": "Pradeep",
|
|
112
|
+
"jobTitle": "Accountant",
|
|
113
|
+
"mail": "PradeepG@contoso.com",
|
|
114
|
+
"mobilePhone": null,
|
|
115
|
+
"officeLocation": "98/2202",
|
|
116
|
+
"preferredLanguage": "en-US",
|
|
117
|
+
"surname": "Gupta",
|
|
118
|
+
"userPrincipalName": "PradeepG@contoso.com",
|
|
119
|
+
"type": "user"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"id": "c121c70b-deb1-43f7-8298-9111bf3036b4",
|
|
123
|
+
"deletedDateTime": null,
|
|
124
|
+
"classification": null,
|
|
125
|
+
"createdDateTime": "2023-02-22T06:39:13Z",
|
|
126
|
+
"creationOptions": [
|
|
127
|
+
"Team",
|
|
128
|
+
"ExchangeProvisioningFlags:3552"
|
|
129
|
+
],
|
|
130
|
+
"description": "Welcome to the team that we've assembled to create the Mark 8.",
|
|
131
|
+
"displayName": "Mark 8 Project Team",
|
|
132
|
+
"expirationDateTime": null,
|
|
133
|
+
"groupTypes": [
|
|
134
|
+
"Unified"
|
|
135
|
+
],
|
|
136
|
+
"isAssignableToRole": null,
|
|
137
|
+
"mail": "Mark8ProjectTeam@contoso.com",
|
|
138
|
+
"mailEnabled": true,
|
|
139
|
+
"mailNickname": "Mark8ProjectTeam",
|
|
140
|
+
"membershipRule": null,
|
|
141
|
+
"membershipRuleProcessingState": null,
|
|
142
|
+
"onPremisesDomainName": null,
|
|
143
|
+
"onPremisesLastSyncDateTime": null,
|
|
144
|
+
"onPremisesNetBiosName": null,
|
|
145
|
+
"onPremisesSamAccountName": null,
|
|
146
|
+
"onPremisesSecurityIdentifier": null,
|
|
147
|
+
"onPremisesSyncEnabled": null,
|
|
148
|
+
"preferredDataLocation": null,
|
|
149
|
+
"preferredLanguage": null,
|
|
150
|
+
"proxyAddresses": [
|
|
151
|
+
"SPO:SPO_e9b87117-c271-4ea9-8bf8-ec0a52253c50@SPO_70cf0eca-e1e8-4d78-9d03-62ecf811dfc2",
|
|
152
|
+
"SMTP:Mark8ProjectTeam@contoso.com"
|
|
153
|
+
],
|
|
154
|
+
"renewedDateTime": "2023-02-22T06:39:13Z",
|
|
155
|
+
"resourceBehaviorOptions": [
|
|
156
|
+
"HideGroupInOutlook",
|
|
157
|
+
"SubscribeMembersToCalendarEventsDisabled",
|
|
158
|
+
"WelcomeEmailDisabled"
|
|
159
|
+
],
|
|
160
|
+
"resourceProvisioningOptions": [
|
|
161
|
+
"Team"
|
|
162
|
+
],
|
|
163
|
+
"securityEnabled": false,
|
|
164
|
+
"securityIdentifier": "S-1-12-1-3240216331-1140317873-294754434-3023450303",
|
|
165
|
+
"theme": null,
|
|
166
|
+
"visibility": "Public",
|
|
167
|
+
"onPremisesProvisioningErrors": [],
|
|
168
|
+
"serviceProvisioningErrors": [],
|
|
169
|
+
"type": "group"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"id": "3f9fd7c3-73ad-4ce3-b053-76bb8252964d",
|
|
173
|
+
"deletedDateTime": null,
|
|
174
|
+
"accountEnabled": true,
|
|
175
|
+
"approximateLastSignInDateTime": null,
|
|
176
|
+
"complianceExpirationDateTime": null,
|
|
177
|
+
"createdDateTime": "2023-11-06T06:18:26Z",
|
|
178
|
+
"deviceCategory": null,
|
|
179
|
+
"deviceId": "4c299165-6e8f-4b45-a5ba-c5d250a707ff",
|
|
180
|
+
"deviceMetadata": null,
|
|
181
|
+
"deviceOwnership": null,
|
|
182
|
+
"deviceVersion": null,
|
|
183
|
+
"displayName": "AdeleVence-PC",
|
|
184
|
+
"domainName": null,
|
|
185
|
+
"enrollmentProfileName": null,
|
|
186
|
+
"enrollmentType": null,
|
|
187
|
+
"externalSourceName": null,
|
|
188
|
+
"isCompliant": null,
|
|
189
|
+
"isManaged": null,
|
|
190
|
+
"isRooted": null,
|
|
191
|
+
"managementType": null,
|
|
192
|
+
"manufacturer": null,
|
|
193
|
+
"mdmAppId": null,
|
|
194
|
+
"model": null,
|
|
195
|
+
"onPremisesLastSyncDateTime": null,
|
|
196
|
+
"onPremisesSyncEnabled": null,
|
|
197
|
+
"operatingSystem": "windows",
|
|
198
|
+
"operatingSystemVersion": "10",
|
|
199
|
+
"physicalIds": [],
|
|
200
|
+
"profileType": null,
|
|
201
|
+
"registrationDateTime": null,
|
|
202
|
+
"sourceType": null,
|
|
203
|
+
"systemLabels": [],
|
|
204
|
+
"trustType": null,
|
|
205
|
+
"extensionAttributes": {
|
|
206
|
+
"extensionAttribute1": null,
|
|
207
|
+
"extensionAttribute2": null,
|
|
208
|
+
"extensionAttribute3": null,
|
|
209
|
+
"extensionAttribute4": null,
|
|
210
|
+
"extensionAttribute5": null,
|
|
211
|
+
"extensionAttribute6": null,
|
|
212
|
+
"extensionAttribute7": null,
|
|
213
|
+
"extensionAttribute8": null,
|
|
214
|
+
"extensionAttribute9": null,
|
|
215
|
+
"extensionAttribute10": null,
|
|
216
|
+
"extensionAttribute11": null,
|
|
217
|
+
"extensionAttribute12": null,
|
|
218
|
+
"extensionAttribute13": null,
|
|
219
|
+
"extensionAttribute14": null,
|
|
220
|
+
"extensionAttribute15": null
|
|
221
|
+
},
|
|
222
|
+
"alternativeSecurityIds": [
|
|
223
|
+
{
|
|
224
|
+
"type": 2,
|
|
225
|
+
"identityProvider": null,
|
|
226
|
+
"key": "Y3YxN2E1MWFlYw=="
|
|
227
|
+
}
|
|
228
|
+
],
|
|
229
|
+
"type": "device"
|
|
230
|
+
}
|
|
231
|
+
]
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
</TabItem>
|
|
235
|
+
<TabItem value="Text">
|
|
236
|
+
|
|
237
|
+
```text
|
|
238
|
+
id displayName
|
|
239
|
+
------------------------------------ -------------------
|
|
240
|
+
64131a70-beb9-4ccb-b590-4401e58446ec Pradeep Gupta
|
|
241
|
+
c121c70b-deb1-43f7-8298-9111bf3036b4 Mark 8 Project Team
|
|
242
|
+
3f9fd7c3-73ad-4ce3-b053-76bb8252964d AdeleVence-PC
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
</TabItem>
|
|
246
|
+
<TabItem value="CSV">
|
|
247
|
+
|
|
248
|
+
```csv
|
|
249
|
+
id,displayName,givenName,jobTitle,mail,officeLocation,preferredLanguage,surname,userPrincipalName,type
|
|
250
|
+
64131a70-beb9-4ccb-b590-4401e58446ec,Pradeep Gupta,Pradeep,Accountant,PradeepG@contoso.com,98/2202,en-US,Gupta,PradeepG@contoso.com,user
|
|
251
|
+
c121c70b-deb1-43f7-8298-9111bf3036b4,Mark 8 Project Team,,,Mark8ProjectTeam@contoso.com,,,,,group
|
|
252
|
+
3f9fd7c3-73ad-4ce3-b053-76bb8252964d,AdeleVence-PC,,,,,,,,device
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
</TabItem>
|
|
256
|
+
<TabItem value="Markdown">
|
|
257
|
+
|
|
258
|
+
```md
|
|
259
|
+
Date: 11/9/2023
|
|
260
|
+
|
|
261
|
+
## Pradeep Gupta (64131a70-beb9-4ccb-b590-4401e58446ec)
|
|
262
|
+
|
|
263
|
+
Property | Value
|
|
264
|
+
---------|-------
|
|
265
|
+
id | 64131a70-beb9-4ccb-b590-4401e58446ec
|
|
266
|
+
displayName | Pradeep Gupta
|
|
267
|
+
givenName | Pradeep
|
|
268
|
+
jobTitle | Accountant
|
|
269
|
+
mail | PradeepG@contoso.com
|
|
270
|
+
officeLocation | 98/2202
|
|
271
|
+
preferredLanguage | en-US
|
|
272
|
+
surname | Gupta
|
|
273
|
+
userPrincipalName | PradeepG@contoso.com
|
|
274
|
+
type | user
|
|
275
|
+
|
|
276
|
+
## Mark 8 Project Team (c121c70b-deb1-43f7-8298-9111bf3036b4)
|
|
277
|
+
|
|
278
|
+
Property | Value
|
|
279
|
+
---------|-------
|
|
280
|
+
id | c121c70b-deb1-43f7-8298-9111bf3036b4
|
|
281
|
+
createdDateTime | 2023-02-22T06:39:13Z
|
|
282
|
+
description | Welcome to the team that we've assembled to create the Mark 8.
|
|
283
|
+
displayName | Mark 8 Project Team
|
|
284
|
+
mail | Mark8ProjectTeam@contoso.com
|
|
285
|
+
mailEnabled | true
|
|
286
|
+
mailNickname | Mark8ProjectTeam
|
|
287
|
+
renewedDateTime | 2023-02-22T06:39:13Z
|
|
288
|
+
securityEnabled | false
|
|
289
|
+
securityIdentifier | S-1-12-1-3240216331-1140317873-294754434-3023450303
|
|
290
|
+
visibility | Public
|
|
291
|
+
type | group
|
|
292
|
+
|
|
293
|
+
## AdeleVence-PC (3f9fd7c3-73ad-4ce3-b053-76bb8252964d)
|
|
294
|
+
|
|
295
|
+
Property | Value
|
|
296
|
+
---------|-------
|
|
297
|
+
id | 3f9fd7c3-73ad-4ce3-b053-76bb8252964d
|
|
298
|
+
accountEnabled | true
|
|
299
|
+
createdDateTime | 2023-11-09T06:18:26Z
|
|
300
|
+
deviceId | 4c299165-6e8f-4b45-a5ba-c5d250a707ff
|
|
301
|
+
displayName | AdeleVence-PC
|
|
302
|
+
operatingSystem | windows
|
|
303
|
+
operatingSystemVersion | 10
|
|
304
|
+
type | device
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
</TabItem>
|
|
308
|
+
</Tabs>
|
|
309
|
+
|
|
310
|
+
## More information
|
|
311
|
+
|
|
312
|
+
- Administrative units: https://learn.microsoft.com/entra/identity/role-based-access-control/administrative-units
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# aad app permission add
|
|
6
|
+
|
|
7
|
+
Adds the specified application and/or delegated permissions to a specified Entra ID (Azure AD) app
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 aad app permission add [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-i, --appId [appId]`
|
|
19
|
+
: Client ID of the Entra ID (Azure AD) app to add the API permissions to. Specify `appId` or `appObjectId` but not both.
|
|
20
|
+
|
|
21
|
+
`--appObjectId [appObjectId]`
|
|
22
|
+
: Object ID of the Entra ID (Azure AD) app to add the API permissions to. Specify `appId` or `appObjectId` but not both.
|
|
23
|
+
|
|
24
|
+
`-a, --applicationPermissions [applicationPermissions]`
|
|
25
|
+
: Space-separated list of application permissions to add. Specify at least `applicationPermissions` or `delegatedPermissions`.
|
|
26
|
+
|
|
27
|
+
`-d, --delegatedPermissions [delegatedPermissions]`
|
|
28
|
+
: Space-separated list of delegated permissions to add. Specify at least `applicationPermissions` or `delegatedPermissions`.
|
|
29
|
+
|
|
30
|
+
`--grantAdminConsent`
|
|
31
|
+
: When specified, grants application & delegated permissions through admin consent.
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
<Global />
|
|
35
|
+
|
|
36
|
+
## Remarks
|
|
37
|
+
|
|
38
|
+
Scopes/Roles to grant must be fully-qualified so that we can disambiguate them between the different resources.
|
|
39
|
+
|
|
40
|
+
## Examples
|
|
41
|
+
|
|
42
|
+
Grant multiple delegated API permissions to an Entra ID (Azure AD) app specified by client id
|
|
43
|
+
|
|
44
|
+
```sh
|
|
45
|
+
m365 aad app permission add --appId 'f1417aa3-bf0b-4cc5-a845-a0b2cf11f690' --delegatedPermissions 'https://management.azure.com/user_impersonation https://service.flow.microsoft.com/Flows.Read.All https://graph.microsoft.com/Agreement.Read.All'
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Grant multiple delegated API permissions to an Entra ID (Azure AD) app specified by object id
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
m365 aad app permission add --appObjectId 'e0306bb2-bf0b-4cc5-a845-a0b2cf11f690' --delegatedPermissions 'https://management.azure.com/user_impersonation https://service.flow.microsoft.com/Flows.Read.All https://graph.microsoft.com/Agreement.Read.All'
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Grant multiple app-only permissions to an Entra ID (Azure AD) app specified by client id and grant admin consent
|
|
55
|
+
|
|
56
|
+
```sh
|
|
57
|
+
m365 aad app permission add --appId 'f1417aa3-bf0b-4cc5-a845-a0b2cf11f690' --applicationPermissions 'https://graph.microsoft.com/Sites.FullControl.All https://microsoft.sharepoint-df.com/Sites.FullControl.All' --grandAdminConsent
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Response
|
|
61
|
+
|
|
62
|
+
The command won't return a response on success.
|
|
@@ -23,7 +23,7 @@ m365 aad user password validate [options]
|
|
|
23
23
|
|
|
24
24
|
## Remarks
|
|
25
25
|
|
|
26
|
-
:::
|
|
26
|
+
:::warning
|
|
27
27
|
|
|
28
28
|
This command is based on an API that is currently in preview and is subject to change once the API reached general availability.
|
|
29
29
|
|
|
@@ -100,4 +100,4 @@ m365 aad user password validate --password "cli365P@ssW0rd"
|
|
|
100
100
|
```
|
|
101
101
|
|
|
102
102
|
</TabItem>
|
|
103
|
-
</Tabs>
|
|
103
|
+
</Tabs>
|
|
@@ -47,7 +47,7 @@ The predefined card is automatically adjusted based on which options have been s
|
|
|
47
47
|
|
|
48
48
|
If your custom card is a card template (card with placeholders like `${title}`), you can fill it with data either by specifying the complete data object using the `cardData` option, or by passing any number of arbitrary options that will be mapped onto the card. The arbitrary properties should not match any of the global options like `output`, `query`, `debug`, etc. Data options like `title`, `description`, `imageUrl` and `actionUrl` will be mapped onto the card as well.
|
|
49
49
|
|
|
50
|
-
:::
|
|
50
|
+
:::warning Escaping JSON in PowerShell
|
|
51
51
|
|
|
52
52
|
When using the `--card` and `--cardData` options it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../user-guide/using-cli.mdx#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../user-guide/using-cli.mdx#passing-complex-content-into-cli-options) instead.
|
|
53
53
|
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# external connection doctor
|
|
4
6
|
|
|
@@ -18,6 +20,7 @@ m365 external connection doctor [options]
|
|
|
18
20
|
|
|
19
21
|
`--ux [ux]`
|
|
20
22
|
: Microsoft 365 experience for which to check compatibility. Allowed values `copilot`, `search`, `all` (default)
|
|
23
|
+
```
|
|
21
24
|
|
|
22
25
|
<Global />
|
|
23
26
|
|
|
@@ -49,7 +49,7 @@ The schema extension owner is the ID of the Azure AD application that is the own
|
|
|
49
49
|
|
|
50
50
|
The target types are the set of Microsoft Graph resource types (that support schema extensions) that this schema extension definition can be applied to. This option is specified as a comma-separated list
|
|
51
51
|
|
|
52
|
-
:::
|
|
52
|
+
:::warning Escaping JSON in PowerShell
|
|
53
53
|
|
|
54
54
|
When using the `--properties` option it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../../user-guide/using-cli.mdx#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../../user-guide/using-cli.mdx#passing-complex-content-into-cli-options) instead.
|
|
55
55
|
|
|
@@ -40,7 +40,7 @@ The lifecycle state of the schema extension. The initial state upon creation is
|
|
|
40
40
|
Possible states transitions are from `InDevelopment` to `Available` and `Available` to `Deprecated`.
|
|
41
41
|
The target types are the set of Microsoft Graph resource types (that support schema extensions) that this schema extension definition can be applied to. This option is specified as a comma-separated list.
|
|
42
42
|
|
|
43
|
-
:::
|
|
43
|
+
:::warning Escaping JSON in PowerShell
|
|
44
44
|
|
|
45
45
|
When using the `--properties` option it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../../user-guide/using-cli.mdx#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../../user-guide/using-cli.mdx#passing-complex-content-into-cli-options) instead.
|
|
46
46
|
|