@pnp/cli-microsoft365 7.3.0-beta.73848f3 → 7.3.0-beta.9479ed4
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 +7 -5
- package/dist/Command.js +10 -13
- package/dist/api.js +2 -3
- package/dist/appInsights.js +2 -1
- 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 -10
- package/dist/m365/aad/commands/administrativeunit/administrativeunit-member-add.js +137 -0
- package/dist/m365/aad/commands/administrativeunit/administrativeunit-member-get.js +112 -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 +71 -3
- 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 +5 -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/base/PowerAutomateCommand.js +18 -0
- 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 +423 -0
- package/dist/m365/external/commands/connection/connection-remove.js +3 -3
- package/dist/m365/external/commands/connection/connection-schema-add.js +36 -3
- package/dist/m365/external/commands/item/item-add.js +144 -0
- package/dist/m365/external/commands.js +3 -1
- package/dist/m365/flow/commands/environment/environment-get.js +3 -3
- package/dist/m365/flow/commands/environment/environment-list.js +3 -3
- package/dist/m365/flow/commands/flow-disable.js +3 -3
- package/dist/m365/flow/commands/flow-enable.js +3 -3
- package/dist/m365/flow/commands/flow-get.js +3 -3
- package/dist/m365/flow/commands/flow-list.js +14 -12
- package/dist/m365/flow/commands/flow-remove.js +5 -5
- package/dist/m365/flow/commands/owner/owner-ensure.js +3 -3
- package/dist/m365/flow/commands/owner/owner-list.js +5 -5
- package/dist/m365/flow/commands/owner/owner-remove.js +5 -5
- package/dist/m365/flow/commands/run/run-cancel.js +5 -5
- package/dist/m365/flow/commands/run/run-get.js +3 -3
- package/dist/m365/flow/commands/run/run-list.js +8 -7
- package/dist/m365/flow/commands/run/run-resubmit.js +6 -6
- 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-batch-add.js +18 -7
- 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 +10 -31
- 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-add.js +151 -0
- 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 +35 -4
- package/dist/m365/teams/commands.js +2 -1
- 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 -10
- package/dist/utils/aadAdministrativeUnit.js +5 -5
- package/dist/utils/aadDevice.js +25 -0
- package/dist/utils/aadGroup.js +3 -3
- package/dist/utils/prompt.js +4 -7
- package/dist/utils/validation.js +5 -2
- package/docs/docs/cmd/aad/administrativeunit/administrativeunit-member-add.mdx +93 -0
- package/docs/docs/cmd/aad/administrativeunit/administrativeunit-member-get.mdx +130 -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/group/group-list.mdx +11 -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 +182 -0
- package/docs/docs/cmd/external/connection/connection-schema-add.mdx +14 -1
- package/docs/docs/cmd/external/item/item-add.mdx +145 -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/onedrive/report/report-activityfilecounts.mdx +0 -3
- package/docs/docs/cmd/onedrive/report/report-activityusercounts.mdx +0 -3
- package/docs/docs/cmd/onedrive/report/report-activityuserdetail.mdx +0 -3
- package/docs/docs/cmd/onedrive/report/report-usageaccountcounts.mdx +0 -3
- package/docs/docs/cmd/onedrive/report/report-usageaccountdetail.mdx +0 -3
- package/docs/docs/cmd/onedrive/report/report-usagefilecounts.mdx +0 -3
- package/docs/docs/cmd/onedrive/report/report-usagestorage.mdx +0 -3
- package/docs/docs/cmd/outlook/report/report-mailactivitycounts.mdx +0 -3
- package/docs/docs/cmd/outlook/report/report-mailactivityusercounts.mdx +0 -3
- package/docs/docs/cmd/outlook/report/report-mailactivityuserdetail.mdx +0 -3
- package/docs/docs/cmd/outlook/report/report-mailappusageappsusercounts.mdx +0 -3
- package/docs/docs/cmd/outlook/report/report-mailappusageusercounts.mdx +0 -3
- package/docs/docs/cmd/outlook/report/report-mailappusageuserdetail.mdx +0 -3
- package/docs/docs/cmd/outlook/report/report-mailappusageversionsusercounts.mdx +0 -3
- package/docs/docs/cmd/outlook/report/report-mailboxusagedetail.mdx +0 -3
- package/docs/docs/cmd/outlook/report/report-mailboxusagemailboxcount.mdx +0 -3
- package/docs/docs/cmd/outlook/report/report-mailboxusagequotastatusmailboxcounts.mdx +0 -3
- package/docs/docs/cmd/outlook/report/report-mailboxusagestorage.mdx +0 -3
- 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/skype/report/report-activitycounts.mdx +0 -2
- package/docs/docs/cmd/skype/report/report-activityusercounts.mdx +0 -3
- package/docs/docs/cmd/skype/report/report-activityuserdetail.mdx +0 -3
- 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 +26 -4
- 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/report/report-activityfilecounts.mdx +0 -3
- package/docs/docs/cmd/spo/report/report-activitypages.mdx +0 -3
- package/docs/docs/cmd/spo/report/report-activityusercounts.mdx +0 -3
- package/docs/docs/cmd/spo/report/report-activityuserdetail.mdx +0 -3
- package/docs/docs/cmd/spo/report/report-siteusagedetail.mdx +0 -3
- package/docs/docs/cmd/spo/report/report-siteusagefilecounts.mdx +0 -3
- package/docs/docs/cmd/spo/report/report-siteusagepages.mdx +0 -3
- package/docs/docs/cmd/spo/report/report-siteusagesitecounts.mdx +0 -3
- package/docs/docs/cmd/spo/report/report-siteusagestorage.mdx +0 -3
- 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-add.mdx +283 -0
- package/docs/docs/cmd/teams/meeting/meeting-transcript-list.mdx +2 -2
- package/docs/docs/cmd/teams/report/report-deviceusagedistributionusercounts.mdx +0 -3
- package/docs/docs/cmd/teams/report/report-deviceusageusercounts.mdx +0 -3
- package/docs/docs/cmd/teams/report/report-deviceusageuserdetail.mdx +0 -3
- package/docs/docs/cmd/teams/report/report-useractivitycounts.mdx +0 -3
- package/docs/docs/cmd/teams/report/report-useractivityusercounts.mdx +0 -3
- package/docs/docs/cmd/teams/report/report-useractivityuserdetail.mdx +0 -3
- package/docs/docs/cmd/teams/user/user-app-add.mdx +12 -3
- package/docs/docs/cmd/teams/user/user-app-remove.mdx +15 -6
- 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/tenant/report/report-activeusercounts.mdx +0 -3
- package/docs/docs/cmd/tenant/report/report-activeuserdetail.mdx +0 -3
- package/docs/docs/cmd/tenant/report/report-servicesusercounts.mdx +0 -3
- 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/report/report-activitycounts.mdx +0 -3
- package/docs/docs/cmd/yammer/report/report-activityusercounts.mdx +0 -3
- package/docs/docs/cmd/yammer/report/report-activityuserdetail.mdx +0 -3
- package/docs/docs/cmd/yammer/report/report-deviceusagedistributionusercounts.mdx +0 -3
- package/docs/docs/cmd/yammer/report/report-deviceusageusercounts.mdx +0 -3
- package/docs/docs/cmd/yammer/report/report-deviceusageuserdetail.mdx +0 -3
- package/docs/docs/cmd/yammer/report/report-groupsactivitycounts.mdx +0 -3
- package/docs/docs/cmd/yammer/report/report-groupsactivitydetail.mdx +0 -3
- package/docs/docs/cmd/yammer/report/report-groupsactivitygroupcounts.mdx +0 -3
- 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 +1012 -410
- package/package.json +26 -25
- package/dist/cli/Cli.js +0 -857
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# external connection doctor
|
|
6
|
+
|
|
7
|
+
Checks if the external connection is correctly configured for use with a specified user experience in Microsoft 365
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 external connection doctor [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-i, --id <id>`
|
|
19
|
+
: The ID of the external connection to check.
|
|
20
|
+
|
|
21
|
+
`--ux [ux]`
|
|
22
|
+
: Microsoft 365 experience for which to check compatibility. Allowed values `copilot`, `search`, `all` (default)
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
<Global />
|
|
26
|
+
|
|
27
|
+
## Remarks
|
|
28
|
+
|
|
29
|
+
The `external connection doctor` command runs several automated checks to verify if an external connection is correctly configured for use with a user experience in Microsoft 365.
|
|
30
|
+
|
|
31
|
+
Check|ID|UX|Type|Description
|
|
32
|
+
-----|--|:--:|--|------------
|
|
33
|
+
Required semantic labels|`copilotRequiredSemanticLabels`|Copilot|Required|Checks if the external connection schema has the required semantic labels configured: `title`, `url` and `iconUrl`
|
|
34
|
+
Searchable properties|Copilot|`searchableProperties`|Required|Checks if the external connection schema has at least one searchable property
|
|
35
|
+
Items have content ingested|`contentIngested`|Copilot|Required|Checks if external items have content ingested
|
|
36
|
+
Connection configured for inline results|`enabledForInlineResults`|Copilot|Required (manual)|Check if the external connection is configured for inline results
|
|
37
|
+
Items have activities recorded|`itemsHaveActivities`|Copilot|Recommended (manual)|Check if external items have activities recorded
|
|
38
|
+
Meaningful connection name and description|`meaningfulNameAndDescription`|Copilot|Required (manual)|Check if the external connection has a meaningful name and description
|
|
39
|
+
Semantic labels|`semanticLabels`|Search|Recommended|Checks if the external connection schema uses semantic labels
|
|
40
|
+
Searchable properties|`searchableProperties`|Search|Recommended|Checks if the external connection schema has at least one searchable property
|
|
41
|
+
Result types|`resultType`|Search|Recommended|Checks if the external connection has a result type configured
|
|
42
|
+
Items have content ingested|`contentIngested`|Search|Recommended|Checks if external items have content ingested
|
|
43
|
+
Items have activities recorded|`itemsHaveActivities`|Search|Recommended|Check if external items have activities recorded
|
|
44
|
+
urlToItemResolver configured|`urlToItemResolver`|All|Recommended|Checks if the external connection has at least one urlToItemResolver configured
|
|
45
|
+
|
|
46
|
+
Required checks must pass for the external connection to be compatible with the specified user experience. Recommended checks are optional, but recommended for optimal user experience.
|
|
47
|
+
|
|
48
|
+
Some checks must be done manually, because there are no APIs available to verify the configuration automatically.
|
|
49
|
+
|
|
50
|
+
When you check the compatibility with all UXs, and there are multiple checks with the same ID, the command will use the first matching check, following the order listed above.
|
|
51
|
+
|
|
52
|
+
## Examples
|
|
53
|
+
|
|
54
|
+
Checks if the external connection with the specified ID is correctly configured for use with Copilot for Microsoft 365.
|
|
55
|
+
|
|
56
|
+
```sh
|
|
57
|
+
m365 external connection doctor --id contosoproducts --ux copilot
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Response
|
|
61
|
+
|
|
62
|
+
<Tabs>
|
|
63
|
+
<TabItem value="JSON">
|
|
64
|
+
|
|
65
|
+
```json
|
|
66
|
+
[
|
|
67
|
+
{
|
|
68
|
+
"id": "loadExternalConnection",
|
|
69
|
+
"text": "Load connection",
|
|
70
|
+
"type": "required",
|
|
71
|
+
"status": "passed"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": "loadSchema",
|
|
75
|
+
"text": "Load schema",
|
|
76
|
+
"type": "required",
|
|
77
|
+
"status": "passed"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"id": "copilotRequiredSemanticLabels",
|
|
81
|
+
"text": "Required semantic labels",
|
|
82
|
+
"type": "required",
|
|
83
|
+
"errorMessage": "Missing label iconUrl",
|
|
84
|
+
"status": "failed"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"id": "searchableProperties",
|
|
88
|
+
"text": "Searchable properties",
|
|
89
|
+
"type": "required",
|
|
90
|
+
"status": "passed"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "contentIngested",
|
|
94
|
+
"text": "Items have content ingested",
|
|
95
|
+
"type": "required",
|
|
96
|
+
"status": "passed"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"id": "enabledForInlineResults",
|
|
100
|
+
"text": "Connection configured for inline results",
|
|
101
|
+
"type": "required",
|
|
102
|
+
"status": "manual"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"id": "itemsHaveActivities",
|
|
106
|
+
"text": "Items have activities recorded",
|
|
107
|
+
"type": "recommended",
|
|
108
|
+
"status": "manual"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"id": "meaningfulNameAndDescription",
|
|
112
|
+
"text": "Meaningful connection name and description",
|
|
113
|
+
"type": "required",
|
|
114
|
+
"status": "manual"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"id": "urlToItemResolver",
|
|
118
|
+
"text": "urlToItemResolver configured",
|
|
119
|
+
"type": "recommended",
|
|
120
|
+
"status": "passed"
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
</TabItem>
|
|
126
|
+
<TabItem value="Text">
|
|
127
|
+
|
|
128
|
+
```text
|
|
129
|
+
✔ Load connection
|
|
130
|
+
✔ Load schema
|
|
131
|
+
✖ Required semantic labels: Missing label iconUrl
|
|
132
|
+
✔ Searchable properties
|
|
133
|
+
✔ Items have content ingested
|
|
134
|
+
ℹ Connection configured for inline results (manual)
|
|
135
|
+
ℹ Items have activities recorded (manual)
|
|
136
|
+
ℹ Meaningful connection name and description (manual)
|
|
137
|
+
✔ urlToItemResolver configured
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
</TabItem>
|
|
141
|
+
<TabItem value="CSV">
|
|
142
|
+
|
|
143
|
+
```csv
|
|
144
|
+
id,text,type,status,errorMessage
|
|
145
|
+
loadExternalConnection,Load connection,required,passed,
|
|
146
|
+
loadSchema,Load schema,required,passed,
|
|
147
|
+
copilotRequiredSemanticLabels,Required semantic labels,required,failed,Missing label iconUrl
|
|
148
|
+
searchableProperties,Searchable properties,required,passed,
|
|
149
|
+
contentIngested,Items have content ingested,required,passed,
|
|
150
|
+
enabledForInlineResults,Connection configured for inline results,required,manual,
|
|
151
|
+
itemsHaveActivities,Items have activities recorded,recommended,manual,
|
|
152
|
+
meaningfulNameAndDescription,Meaningful connection name and description,required,manual,
|
|
153
|
+
urlToItemResolver,urlToItemResolver configured,recommended,passed,
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
</TabItem>
|
|
157
|
+
<TabItem value="Markdown">
|
|
158
|
+
|
|
159
|
+
```md
|
|
160
|
+
# external connection doctor --id "msgraphdocs" --ux "copilot"
|
|
161
|
+
|
|
162
|
+
Date: 11/23/2023
|
|
163
|
+
|
|
164
|
+
Check|Type|Status|Error message
|
|
165
|
+
:----|:--:|:----:|:------------
|
|
166
|
+
Load connection|required|passed|
|
|
167
|
+
Load schema|required|passed|
|
|
168
|
+
Required semantic labels|required|failed|Missing label iconUrl
|
|
169
|
+
Searchable properties|required|passed|
|
|
170
|
+
Items have content ingested|required|passed|
|
|
171
|
+
Connection configured for inline results|required|manual|
|
|
172
|
+
Items have activities recorded|recommended|manual|
|
|
173
|
+
Meaningful connection name and description|required|manual|
|
|
174
|
+
urlToItemResolver configured|recommended|passed|
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
</TabItem>
|
|
178
|
+
</Tabs>
|
|
179
|
+
|
|
180
|
+
## More information
|
|
181
|
+
|
|
182
|
+
- Microsoft Graph connector experiences: [https://learn.microsoft.com/graph/connecting-external-content-experiences](https://learn.microsoft.com/graph/connecting-external-content-experiences)
|
|
@@ -24,6 +24,9 @@ m365 search externalconnection schema add
|
|
|
24
24
|
|
|
25
25
|
`-s, --schema [schema]`
|
|
26
26
|
: The schema object to be added.
|
|
27
|
+
|
|
28
|
+
`--wait`
|
|
29
|
+
: Wait for the schema to be added before completing the command.
|
|
27
30
|
```
|
|
28
31
|
|
|
29
32
|
<Global />
|
|
@@ -36,6 +39,16 @@ Adds a new schema to a specific external connection.
|
|
|
36
39
|
m365 external connection schema add --externalConnectionId 'CliConnectionId' --schema '{"baseType":"microsoft.graph.externalItem","properties":[{"name":"ticketTitle","type":"String","isSearchable":"true","isRetrievable":"true","labels":["title"]},{"name":"priority","type":"String","isQueryable":"true","isRetrievable":"true","isSearchable":"false"},{"name":"assignee","type":"String","isRetrievable":"true"}]}'
|
|
37
40
|
```
|
|
38
41
|
|
|
42
|
+
Adds a new schema to a specific external connection and wait for its provisioning to complete.
|
|
43
|
+
|
|
44
|
+
```sh
|
|
45
|
+
m365 external connection schema add --externalConnectionId 'CliConnectionId' --schema '{"baseType":"microsoft.graph.externalItem","properties":[{"name":"ticketTitle","type":"String","isSearchable":"true","isRetrievable":"true","labels":["title"]},{"name":"priority","type":"String","isQueryable":"true","isRetrievable":"true","isSearchable":"false"},{"name":"assignee","type":"String","isRetrievable":"true"}]}' --wait
|
|
46
|
+
```
|
|
47
|
+
|
|
39
48
|
## Response
|
|
40
49
|
|
|
41
|
-
|
|
50
|
+
Upon executing the command, you'll receive the job status URL. This URL enables manual checking of the job's progress if automated polling fails or for interactive monitoring purposes.
|
|
51
|
+
|
|
52
|
+
```text
|
|
53
|
+
"https://graph.microsoft.com/v1.0/external/connections/MyApp/operations/795b6888-4093-0fe7-6270-ddbcac9ebd3a"
|
|
54
|
+
```
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# external item add
|
|
6
|
+
|
|
7
|
+
Creates external item
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 external item add [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-i, --id <id>`
|
|
19
|
+
: The ID of the item to create
|
|
20
|
+
|
|
21
|
+
`--externalConnectionId <name>`
|
|
22
|
+
: The ID of the external connection on which to create the item
|
|
23
|
+
|
|
24
|
+
`--content <content>`
|
|
25
|
+
: External item content
|
|
26
|
+
|
|
27
|
+
`--contentType [contentType]`
|
|
28
|
+
: Type of content to load. Allowed values: `text` (default), `html`
|
|
29
|
+
|
|
30
|
+
`--acls <acls>`
|
|
31
|
+
: List of permissions to set on the item, in the format `accessType1,type1,value1;accessType2,type2,value2`, eg. `grant,everyone,everyone`
|
|
32
|
+
```
|
|
33
|
+
<Global />
|
|
34
|
+
|
|
35
|
+
## Remarks
|
|
36
|
+
|
|
37
|
+
When creating an external item, the options you specify will map to the external item properties, eg. `--author "Steve"` will set the `author` property of the external item to `Steve`.
|
|
38
|
+
|
|
39
|
+
If in your schema you have a multi-value property, to specify its value you need two things:
|
|
40
|
+
|
|
41
|
+
- you need to separate multiple values using `;#`, eg. `--author "Steve;#Bill"`
|
|
42
|
+
- you need to specify the type of the property as defined in the schema, eg. `--author@odata.type "Collection(String)"`
|
|
43
|
+
|
|
44
|
+
When creating items you can specify one or more permissions that define who can access the external item. The format of the permissions is `accessType1,type1,value1;accessType2,type2,value2`, eg. `grant,everyone,everyone`.
|
|
45
|
+
|
|
46
|
+
You can use the following access types:
|
|
47
|
+
|
|
48
|
+
- `grant` - grants access to the specified users or groups
|
|
49
|
+
- `deny` - denies access to the specified users or groups
|
|
50
|
+
|
|
51
|
+
You can use the following types:
|
|
52
|
+
|
|
53
|
+
- `everyone` - everyone
|
|
54
|
+
- `group` - an Entra group
|
|
55
|
+
- `user` - an Entra user
|
|
56
|
+
- `everyoneExceptGuests` - everyone except external users
|
|
57
|
+
- `externalGroup` - a group defined in the external system from which you're importing the content
|
|
58
|
+
|
|
59
|
+
For more information about using these options, see the Microsoft Graph API documentation and documentation about Microsoft Graph connectors.
|
|
60
|
+
|
|
61
|
+
## Examples
|
|
62
|
+
|
|
63
|
+
Creates an external item with simple properties that everyone is allowed to access
|
|
64
|
+
|
|
65
|
+
```sh
|
|
66
|
+
m365 external item add --id "pnp-ensure-siteassets-library" --connectionId "samplesolutiongallery" --content "Ensure that the Site Assets library is created." --title "Ensure the Site Assets Library is created" --description "Ensure that the Site Assets library is created." --authors "Phil Harding" --acls "grant,everyone,everyone"
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Creates an external item with multi-value properties accessible only to users from the specified Entra group
|
|
70
|
+
|
|
71
|
+
```sh
|
|
72
|
+
m365 external item add --id "pnp-ensure-siteassets-library" --connectionId "samplesolutiongallery" --content "Ensure that the Site Assets library is created." --title "Ensure the Site Assets Library is created" --description "Ensure that the Site Assets library is created." --authors@odata.type "Collection(String)" --authors "Phil Harding;#Steve Smith" --acls "grant,group,Super users"
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## Response
|
|
76
|
+
|
|
77
|
+
<Tabs>
|
|
78
|
+
<TabItem value="JSON">
|
|
79
|
+
|
|
80
|
+
```json
|
|
81
|
+
{
|
|
82
|
+
"id": "pnp-ensure-siteassets-library",
|
|
83
|
+
"acl": [
|
|
84
|
+
{
|
|
85
|
+
"type": "everyone",
|
|
86
|
+
"value": "everyone",
|
|
87
|
+
"accessType": "grant"
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"properties": {
|
|
91
|
+
"title": "Ensure the Site Assets Library is created",
|
|
92
|
+
"description": "Ensure that the Site Assets library is created.",
|
|
93
|
+
"authors": "Phil Harding"
|
|
94
|
+
},
|
|
95
|
+
"content": {
|
|
96
|
+
"value": "Ensure that the Site Assets library is created.",
|
|
97
|
+
"type": "text"
|
|
98
|
+
},
|
|
99
|
+
"activities": []
|
|
100
|
+
}
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
</TabItem>
|
|
104
|
+
<TabItem value="Text">
|
|
105
|
+
|
|
106
|
+
```text
|
|
107
|
+
acl : [{"type":"everyone","value":"everyone","accessType":"grant"}]
|
|
108
|
+
activities: []
|
|
109
|
+
content : {"value":"Ensure that the Site Assets library is created.","type":"text"}
|
|
110
|
+
id : pnp-ensure-siteassets-library
|
|
111
|
+
properties: {"title":"Ensure the Site Assets Library is created","description":"Ensure that the Site Assets library is created.","authors":"Phil Harding"}
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
</TabItem>
|
|
115
|
+
<TabItem value="CSV">
|
|
116
|
+
|
|
117
|
+
```csv
|
|
118
|
+
id
|
|
119
|
+
pnp-ensure-siteassets-library
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
</TabItem>
|
|
123
|
+
<TabItem value="Markdown">
|
|
124
|
+
|
|
125
|
+
```md
|
|
126
|
+
# m365 external item add --id "pnp-ensure-siteassets-library" --connectionId "samplesolutiongallery" --content "Ensure that the Site Assets library is created." --title "Ensure the Site Assets Library is created" --description "Ensure that the Site Assets library is created." --authors "Phil Harding" --acls "grant,everyone,everyone"
|
|
127
|
+
|
|
128
|
+
Date: 2023-10-28
|
|
129
|
+
|
|
130
|
+
## pnp-ensure-siteassets-library
|
|
131
|
+
|
|
132
|
+
Property | Value
|
|
133
|
+
---------|-------
|
|
134
|
+
id | pnp-ensure-siteassets-library
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
</TabItem>
|
|
138
|
+
</Tabs>
|
|
139
|
+
|
|
140
|
+
## More information
|
|
141
|
+
|
|
142
|
+
- Microsoft Graph connectors access control list [https://learn.microsoft.com/graph/connecting-external-content-manage-items#access-control-list](https://learn.microsoft.com/graph/connecting-external-content-manage-items#access-control-list)
|
|
143
|
+
- Create, update, and delete items added by your application via Microsoft Graph connectors [https://learn.microsoft.com/graph/connecting-external-content-manage-items](https://learn.microsoft.com/graph/connecting-external-content-manage-items)
|
|
144
|
+
- Use external groups to manage permissions to Microsoft Graph connectors data sources [https://learn.microsoft.com/graph/connecting-external-content-external-groups](https://learn.microsoft.com/graph/connecting-external-content-external-groups)
|
|
145
|
+
- Create externalItem [https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-put-items?view=graph-rest-1.0&tabs=http](https://learn.microsoft.com/graph/api/externalconnectors-externalconnection-put-items?view=graph-rest-1.0&tabs=http)
|
|
@@ -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
|
|
|
@@ -17,9 +17,6 @@ m365 onedrive report activityfilecounts [options]
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-p, --period <period>`
|
|
19
19
|
: The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`.
|
|
20
|
-
|
|
21
|
-
`--outputFile [outputFile]`
|
|
22
|
-
: Path to the file where the report should be stored in
|
|
23
20
|
```
|
|
24
21
|
|
|
25
22
|
<Global />
|
|
@@ -17,9 +17,6 @@ m365 onedrive report activityusercounts [options]
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-p, --period <period>`
|
|
19
19
|
: The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`.
|
|
20
|
-
|
|
21
|
-
`--outputFile [outputFile]`
|
|
22
|
-
: Path to the file where the report should be stored in
|
|
23
20
|
```
|
|
24
21
|
|
|
25
22
|
<Global />
|
|
@@ -20,9 +20,6 @@ m365 onedrive report activityuserdetail [options]
|
|
|
20
20
|
|
|
21
21
|
`-d, --date [date]`
|
|
22
22
|
: The date for which you would like to view the users who performed any activity. Supported date format is YYYY-MM-DD. Specify the date or period, but not both`
|
|
23
|
-
|
|
24
|
-
`--outputFile [outputFile]`
|
|
25
|
-
: Path to the file where the report should be stored in
|
|
26
23
|
```
|
|
27
24
|
|
|
28
25
|
<Global />
|
|
@@ -17,9 +17,6 @@ m365 onedrive report usageaccountcounts [options]
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-p, --period <period>`
|
|
19
19
|
: The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`.
|
|
20
|
-
|
|
21
|
-
`--outputFile [outputFile]`
|
|
22
|
-
: Path to the file where the report should be stored in
|
|
23
20
|
```
|
|
24
21
|
|
|
25
22
|
<Global />
|
|
@@ -20,9 +20,6 @@ m365 onedrive report usageaccountdetail [options]
|
|
|
20
20
|
|
|
21
21
|
`-d, --date [date]`
|
|
22
22
|
: The date for which you would like to view the users who performed any activity. Supported date format is YYYY-MM-DD. Specify the date or period, but not both`
|
|
23
|
-
|
|
24
|
-
`--outputFile [outputFile]`
|
|
25
|
-
: Path to the file where the report should be stored in
|
|
26
23
|
```
|
|
27
24
|
|
|
28
25
|
<Global />
|
|
@@ -17,9 +17,6 @@ m365 onedrive report usagefilecounts [options]
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-p, --period <period>`
|
|
19
19
|
: The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`.
|
|
20
|
-
|
|
21
|
-
`--outputFile [outputFile]`
|
|
22
|
-
: Path to the file where the report should be stored in
|
|
23
20
|
```
|
|
24
21
|
|
|
25
22
|
<Global />
|
|
@@ -17,9 +17,6 @@ m365 onedrive report usagestorage [options]
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-p, --period <period>`
|
|
19
19
|
: The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`.
|
|
20
|
-
|
|
21
|
-
`--outputFile [outputFile]`
|
|
22
|
-
: Path to the file where the report should be stored in
|
|
23
20
|
```
|
|
24
21
|
|
|
25
22
|
<Global />
|
|
@@ -17,9 +17,6 @@ m365 outlook report mailactivitycounts [options]
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-p, --period <period>`
|
|
19
19
|
: The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`.
|
|
20
|
-
|
|
21
|
-
`--outputFile [outputFile]`
|
|
22
|
-
: Path to the file where the report should be stored in
|
|
23
20
|
```
|
|
24
21
|
|
|
25
22
|
<Global />
|
|
@@ -17,9 +17,6 @@ m365 outlook report mailactivityusercounts [options]
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-p, --period <period>`
|
|
19
19
|
: The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`.
|
|
20
|
-
|
|
21
|
-
`--outputFile [outputFile]`
|
|
22
|
-
: Path to the file where the report should be stored in
|
|
23
20
|
```
|
|
24
21
|
|
|
25
22
|
<Global />
|
|
@@ -20,9 +20,6 @@ m365 outlook report mailactivityuserdetail [options]
|
|
|
20
20
|
|
|
21
21
|
`-d, --date [date]`
|
|
22
22
|
: The date for which you would like to view the users who performed any activity. Supported date format is YYYY-MM-DD. Specify the date or period, but not both
|
|
23
|
-
|
|
24
|
-
`--outputFile [outputFile]`
|
|
25
|
-
: Path to the file where the report should be stored in
|
|
26
23
|
```
|
|
27
24
|
|
|
28
25
|
<Global />
|
|
@@ -17,9 +17,6 @@ m365 outlook report mailappusageappsusercounts [options]
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-p, --period <period>`
|
|
19
19
|
: The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`.
|
|
20
|
-
|
|
21
|
-
`--outputFile [outputFile]`
|
|
22
|
-
: Path to the file where the report should be stored in
|
|
23
20
|
```
|
|
24
21
|
|
|
25
22
|
<Global />
|
|
@@ -17,9 +17,6 @@ m365 outlook report mailappusageusercounts [options]
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-p, --period <period>`
|
|
19
19
|
: The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`.
|
|
20
|
-
|
|
21
|
-
`--outputFile [outputFile]`
|
|
22
|
-
: Path to the file where the report should be stored in
|
|
23
20
|
```
|
|
24
21
|
|
|
25
22
|
<Global />
|
|
@@ -20,9 +20,6 @@ m365 outlook report mailappusageuserdetail [options]
|
|
|
20
20
|
|
|
21
21
|
`-d, --date [date]`
|
|
22
22
|
: The date for which you would like to view the users who performed any activity. Supported date format is YYYY-MM-DD. Specify the date or period, but not both
|
|
23
|
-
|
|
24
|
-
`--outputFile [outputFile]`
|
|
25
|
-
: Path to the file where the report should be stored in
|
|
26
23
|
```
|
|
27
24
|
|
|
28
25
|
<Global />
|
|
@@ -17,9 +17,6 @@ m365 outlook report mailappusageversionsusercounts [options]
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-p, --period <period>`
|
|
19
19
|
: The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`.
|
|
20
|
-
|
|
21
|
-
`--outputFile [outputFile]`
|
|
22
|
-
: Path to the file where the report should be stored in
|
|
23
20
|
```
|
|
24
21
|
|
|
25
22
|
<Global />
|