@pnp/cli-microsoft365 10.5.0-beta.b872a3f → 10.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Auth.js +61 -3
- package/dist/appInsights.js +10 -4
- package/dist/m365/booking/commands/business/business-get.js +0 -3
- package/dist/m365/commands/login.js +3 -0
- package/dist/m365/entra/commands/user/user-guest-add.js +0 -3
- package/dist/m365/flow/commands/environment/environment-get.js +0 -3
- package/dist/m365/flow/commands/flow-get.js +0 -3
- package/dist/m365/flow/commands/run/run-get.js +0 -3
- package/dist/m365/pa/commands/app/app-get.js +0 -3
- package/dist/m365/pa/commands/environment/environment-get.js +0 -3
- package/dist/m365/planner/commands/bucket/bucket-add.js +0 -3
- package/dist/m365/planner/commands/plan/plan-add.js +0 -3
- package/dist/m365/planner/commands/plan/plan-get.js +0 -3
- package/dist/m365/planner/commands/plan/plan-set.js +0 -3
- package/dist/m365/planner/commands/task/task-checklistitem-add.js +0 -3
- package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-get.js +0 -3
- package/dist/m365/pp/commands/card/card-get.js +0 -3
- package/dist/m365/pp/commands/copilot/copilot-get.js +0 -3
- package/dist/m365/pp/commands/dataverse/dataverse-table-get.js +0 -3
- package/dist/m365/pp/commands/environment/environment-get.js +0 -3
- package/dist/m365/pp/commands/solution/solution-get.js +0 -3
- package/dist/m365/pp/commands/solution/solution-publisher-get.js +0 -3
- package/dist/m365/pp/commands/website/website-get.js +0 -3
- package/dist/m365/spo/commands/group/group-member-add.js +0 -3
- package/dist/m365/spo/commands/homesite/homesite-add.js +66 -0
- package/dist/m365/spo/commands/page/page-copy.js +0 -3
- package/dist/m365/spo/commands/page/page-get.js +0 -3
- package/dist/m365/spo/commands/page/page-header-set.js +47 -10
- package/dist/m365/spo/commands/sitedesign/sitedesign-run-status-get.js +0 -3
- package/dist/m365/spo/commands.js +1 -0
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-get.js +0 -3
- package/dist/m365/todo/commands/list/list-get.js +0 -3
- package/dist/m365/todo/commands/task/task-get.js +0 -3
- package/dist/m365/viva/commands/engage/engage-community-user-add.js +113 -0
- package/dist/m365/viva/commands/engage/engage-community-user-remove.js +107 -0
- package/dist/m365/viva/commands/engage/engage-message-add.js +0 -3
- package/dist/m365/viva/commands/engage/engage-message-get.js +0 -3
- package/dist/m365/viva/commands/engage/engage-user-get.js +0 -3
- package/dist/m365/viva/commands.js +2 -0
- package/docs/docs/cmd/booking/business/business-get.mdx +13 -0
- package/docs/docs/cmd/entra/user/user-guest-add.mdx +11 -0
- package/docs/docs/cmd/flow/environment/environment-get.mdx +2 -0
- package/docs/docs/cmd/flow/flow-get.mdx +2 -0
- package/docs/docs/cmd/flow/run/run-get.mdx +17 -13
- package/docs/docs/cmd/login.mdx +9 -1
- package/docs/docs/cmd/pa/app/app-get.mdx +8 -2
- package/docs/docs/cmd/pa/environment/environment-get.mdx +5 -3
- package/docs/docs/cmd/planner/plan/plan-add.mdx +2 -0
- package/docs/docs/cmd/planner/plan/plan-get.mdx +8 -4
- package/docs/docs/cmd/planner/plan/plan-set.mdx +2 -0
- package/docs/docs/cmd/planner/task/task-checklistitem-add.mdx +6 -3
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.mdx +12 -3
- package/docs/docs/cmd/pp/card/card-get.mdx +36 -5
- package/docs/docs/cmd/pp/copilot/copilot-get.mdx +41 -5
- package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +19 -4
- package/docs/docs/cmd/pp/environment/environment-get.mdx +5 -2
- package/docs/docs/cmd/pp/solution/solution-get.mdx +12 -7
- package/docs/docs/cmd/pp/solution/solution-publisher-get.mdx +12 -7
- package/docs/docs/cmd/pp/website/website-get.mdx +22 -4
- package/docs/docs/cmd/spo/group/group-member-add.mdx +12 -3
- package/docs/docs/cmd/spo/homesite/homesite-add.mdx +124 -0
- package/docs/docs/cmd/spo/page/page-copy.mdx +30 -4
- package/docs/docs/cmd/spo/page/page-get.mdx +44 -5
- package/docs/docs/cmd/spo/sitedesign/sitedesign-run-status-get.mdx +7 -0
- package/docs/docs/cmd/todo/list/list-get.mdx +7 -4
- package/docs/docs/cmd/todo/task/task-get.mdx +7 -2
- package/docs/docs/cmd/viva/engage/engage-community-user-add.mdx +67 -0
- package/docs/docs/cmd/viva/engage/engage-community-user-remove.mdx +55 -0
- package/docs/docs/cmd/viva/engage/engage-message-add.mdx +37 -12
- package/docs/docs/cmd/viva/engage/engage-message-get.mdx +27 -13
- package/docs/docs/cmd/viva/engage/engage-user-get.mdx +50 -8
- package/npm-shrinkwrap.json +97 -84
- package/package.json +15 -15
|
@@ -122,11 +122,47 @@ m365 pp copilot get --environmentName "Default-d87a7535-dd31-4437-bfe1-95340acd5
|
|
|
122
122
|
<TabItem value="Text">
|
|
123
123
|
|
|
124
124
|
```text
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
125
|
+
accesscontrolpolicy : 0
|
|
126
|
+
applicationmanifestinformation: null
|
|
127
|
+
authenticationconfiguration : null
|
|
128
|
+
authenticationmode : 1
|
|
129
|
+
authenticationtrigger : 0
|
|
130
|
+
authorizedsecuritygroupids : null
|
|
131
|
+
botid : 3a081d91-5ea8-40a7-8ac9-abbaa3fcb893
|
|
132
|
+
componentidunique : cdcd6496-e25d-4ad1-91cf-3f4d547fdd23
|
|
133
|
+
componentstate : 0
|
|
134
|
+
configuration : null
|
|
135
|
+
createdon : 2022-11-19T10:42:22Z
|
|
136
|
+
iconbase64 : null
|
|
137
|
+
importsequencenumber : null
|
|
138
|
+
ismanaged : false
|
|
139
|
+
iscustomizable : {"Value":true,"CanBeChanged":true,"ManagedPropertyLogicalName":"iscustomizableanddeletable"}
|
|
140
|
+
language : 1033
|
|
141
|
+
modifiedon : 2022-11-19T10:42:24Z
|
|
142
|
+
name : CLI 365 Copilot
|
|
143
|
+
overriddencreatedon : null
|
|
144
|
+
overwritetime : 1900-01-01T00:00:00Z
|
|
145
|
+
publishedon : 2022-11-19T10:43:24Z
|
|
146
|
+
runtimeprovider : 0
|
|
147
|
+
schemaname : new_bot_23f5f58697fd43d595eb451c9797a53d
|
|
148
|
+
solutionid : fd140aae-4df4-11dd-bd17-0019b9312238
|
|
149
|
+
statecode : 0
|
|
150
|
+
statuscode : 1
|
|
151
|
+
supportedlanguages : null
|
|
152
|
+
synchronizationstatus : null
|
|
153
|
+
template : null
|
|
154
|
+
timezoneruleversionnumber : null
|
|
155
|
+
utcconversiontimezonecode : null
|
|
156
|
+
versionnumber : 1421457
|
|
157
|
+
_createdby_value : 5fa787c1-1c4d-ed11-bba1-000d3a2caf7f
|
|
158
|
+
_createdonbehalfby_value : null
|
|
159
|
+
_modifiedby_value : 5f91d7a7-5f46-494a-80fa-5c18b0221351
|
|
160
|
+
_modifiedonbehalfby_value : 5fa787c1-1c4d-ed11-bba1-000d3a2caf7f
|
|
161
|
+
_ownerid_value : 5fa787c1-1c4d-ed11-bba1-000d3a2caf7f
|
|
162
|
+
_owningbusinessunit_value : 6da087c1-1c4d-ed11-bba1-000d3a2caf7f
|
|
163
|
+
_owningteam_value : null
|
|
164
|
+
_owninguser_value : 5fa787c1-1c4d-ed11-bba1-000d3a2caf7f
|
|
165
|
+
_publishedby_value : John Doe
|
|
130
166
|
```
|
|
131
167
|
|
|
132
168
|
</TabItem>
|
|
@@ -114,10 +114,25 @@ m365 pp dataverse table get --environmentName "Default-2ca3eaa5-140f-4175-8261-3
|
|
|
114
114
|
<TabItem value="Text">
|
|
115
115
|
|
|
116
116
|
```text
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
117
|
+
CanChangeHierarchicalRelationship : {"Value":true,"CanBeChanged":true,"ManagedPropertyLogicalName":"canchangehierarchicalrelationship"}
|
|
118
|
+
CanChangeTrackingBeEnabled : {"Value":true,"CanBeChanged":true,"ManagedPropertyLogicalName":"canchangetrackingbeenabled"}
|
|
119
|
+
CanCreateAttributes : {"Value":true,"CanBeChanged":false,"ManagedPropertyLogicalName":"cancreateattributes"}
|
|
120
|
+
CanCreateCharts : {"Value":true,"CanBeChanged":true,"ManagedPropertyLogicalName":"cancreatecharts"}
|
|
121
|
+
CanCreateForms : {"Value":true,"CanBeChanged":true,"ManagedPropertyLogicalName":"cancreateforms"}
|
|
122
|
+
CanCreateViews : {"Value":true,"CanBeChanged":true,"ManagedPropertyLogicalName":"cancreateviews"}
|
|
123
|
+
CanEnableSyncToExternalSearchIndex: {"Value":true,"CanBeChanged":true,"ManagedPropertyLogicalName":"canenablesynctoexternalsearchindex"}
|
|
124
|
+
CanModifyAdditionalSettings : {"Value":true,"CanBeChanged":true,"ManagedPropertyLogicalName":"canmodifyadditionalsettings"}
|
|
125
|
+
DataProviderId : null
|
|
126
|
+
EntitySetName : aadusers
|
|
127
|
+
IconVectorName : null
|
|
128
|
+
IsActivity : false
|
|
129
|
+
IsCustomEntity : true
|
|
130
|
+
IsCustomizable : {"Value":true,"CanBeChanged":true,"ManagedPropertyLogicalName":"iscustomizable"}
|
|
131
|
+
IsManaged : false
|
|
132
|
+
IsRenameable : {"Value":true,"CanBeChanged":true,"ManagedPropertyLogicalName":"isrenameable"}
|
|
133
|
+
LogicalName : aaduser
|
|
134
|
+
MetadataId : 84f4c125-474d-ed11-bba1-000d3a2caf7f
|
|
135
|
+
SchemaName : aaduser
|
|
121
136
|
```
|
|
122
137
|
|
|
123
138
|
</TabItem>
|
|
@@ -355,8 +355,11 @@ m365 pp environment get
|
|
|
355
355
|
<TabItem value="Text">
|
|
356
356
|
|
|
357
357
|
```text
|
|
358
|
-
id
|
|
359
|
-
|
|
358
|
+
id : /providers/Microsoft.BusinessAppPlatform/environments/Default-e1dd4023-a656-480a-8a0e-c1b1eec51e1d
|
|
359
|
+
type : Microsoft.BusinessAppPlatform/environments
|
|
360
|
+
location : europe
|
|
361
|
+
name : Default-e1dd4023-a656-480a-8a0e-c1b1eec51e1d
|
|
362
|
+
properties: {"azureRegion":"northeurope","clientUris":{"admin":"https://admin.powerplatform.microsoft.com/environments/environment/Default-e1dd4023-a656-480a-8a0e-c1b1eec51e1d/hub","maker":"https://make.powerapps.com/environments/Default-e1dd4023-a656-480a-8a0e-c1b1eec51e1d/home"},"cluster":{"category":"Prod","environment":"Prod","geoShortName":"EU","number":"109","uriSuffix":"eu-il109.gateway.prod.island"},"connectedGroups":[],"createdBy":{"displayName":"SYSTEM","id":"SYSTEM","type":"NotSpecified"},"createdTime":"2020-03-12T13:39:17.9876946Z","creationType":"DefaultTenant","databaseType":"CommonDataService","displayName":"contoso (default)","environmentSku":"Default","governanceConfiguration":{"protectionLevel":"Basic"},"isDefault":true,"lifecycleOperationsEnforcement":{"allowedOperations":[{"type":{"id":"Backup"}},{"type":{"id":"Edit"}},{"type":{"id":"Enable"}},{"type":{"id":"Disable"}},{"type":{"id":"EnableGovernanceConfiguration"}}],"disallowedOperations":[{"reason":{"message":"Provision cannot be performed because there is no linked CDS instance or the CDS instance version is not supported."},"type":{"id":"Provision"}},{"reason":{"message":"Unlock cannot be performed because there is no linked CDS instance or the CDS instance version is not supported."},"type":{"id":"Unlock"}},{"reason":{"message":"Convert cannot be performed on environment of type Default."},"type":{"id":"Convert"}},{"reason":{"message":"Copy cannot be performed on environment of type Default."},"type":{"id":"Copy"}},{"reason":{"message":"Delete cannot be performed on environment of type Default."},"type":{"id":"Delete"}},{"reason":{"message":"Promote cannot be performed on environment of type Default."},"type":{"id":"Promote"}},{"reason":{"message":"Recover cannot be performed on environment of type Default."},"type":{"id":"Recover"}},{"reason":{"message":"Reset cannot be performed on environment of type Default."},"type":{"id":"Reset"}},{"reason":{"message":"Restore cannot be performed on environment of type Default."},"type":{"id":"Restore"}},{"reason":{"message":"UpdateProtectionStatus cannot be performed on environment of type Default."},"type":{"id":"UpdateProtectionStatus"}},{"reason":{"message":"NewCustomerManagedKey cannot be performed on environment of type Default."},"type":{"id":"NewCustomerManagedKey"}},{"reason":{"message":"RotateCustomerManagedKey cannot be performed on environment of type Default."},"type":{"id":"RotateCustomerManagedKey"}},{"reason":{"message":"RevertToMicrosoftKey cannot be performed on environment of type Default."},"type":{"id":"RevertToMicrosoftKey"}},{"reason":{"message":"NewNetworkInjection cannot be performed on environment of type Default."},"type":{"id":"NewNetworkInjection"}},{"reason":{"message":"SwapNetworkInjection cannot be performed on environment of type Default."},"type":{"id":"SwapNetworkInjection"}},{"reason":{"message":"RevertNetworkInjection cannot be performed on environment of type Default."},"type":{"id":"RevertNetworkInjection"}},{"reason":{"message":"NewIdentity cannot be performed on environment of type Default."},"type":{"id":"NewIdentity"}},{"reason":{"message":"SwapIdentity cannot be performed on environment of type Default."},"type":{"id":"SwapIdentity"}},{"reason":{"message":"RevertIdentity cannot be performed on environment of type Default."},"type":{"id":"RevertIdentity"}},{"reason":{"message":"DisableGovernanceConfiguration cannot be performed on Power Platform environment because of the governance configuration."},"type":{"id":"DisableGovernanceConfiguration"}},{"reason":{"message":"UpdateGovernanceConfiguration cannot be performed on Power Platform environment because of the governance configuration."},"type":{"id":"UpdateGovernanceConfiguration"}}]},"linkedEnvironmentMetadata":{"backgroundOperationsState":"Enabled","baseLanguage":1033,"createdTime":"2021-10-08T09:50:41.283Z","domainName":"org6633049a","friendlyName":"contoso (default)","instanceApiUrl":"https://org6633049a.api.crm4.dynamics.com","instanceState":"Ready","instanceUrl":"https://org6633049a.crm4.dynamics.com/","platformSku":"Standard","resourceId":"5041ef46-5a1c-4a0f-a185-6bb49b5c6686","scaleGroup":"EURCRMLIVESG644","uniqueName":"unq5041ef465a1c4a0fa1856bb49b5c6","version":"9.2.22101.00168"},"protectionStatus":{"keyManagedBy":"Microsoft"},"retentionDetails":{"backupsAvailableFromDateTime":"2022-10-23T23:33:19.6000451Z","retentionPeriod":"P7D"},"retentionPeriod":"P7D","runtimeEndpoints":{"microsoft.ApiManagement":"https://management.EUROPE.azure-apihub.net","microsoft.BusinessAppPlatform":"https://europe.api.bap.microsoft.com","microsoft.CommonDataModel":"https://europe.api.cds.microsoft.com","microsoft.Flow":"https://emea.api.flow.microsoft.com","microsoft.PowerApps":"https://europe.api.powerapps.com","microsoft.PowerAppsAdvisor":"https://europe.api.advisor.powerapps.com","microsoft.PowerVirtualAgents":"https://powervamg.eu-il109.gateway.prod.island.powerapps.com"},"states":{"management":{"id":"NotSpecified"},"runtime":{"id":"Enabled","requestedBy":{"displayName":"SYSTEM","type":"NotSpecified"},"runtimeReasonCode":"NotSpecified"}},"tenantId":"e1dd4023-a656-480a-8a0e-c1b1eec51e1d","trialScenarioType":"None","updateCadence":{"id":"Frequent"}}
|
|
360
363
|
```
|
|
361
364
|
|
|
362
365
|
</TabItem>
|
|
@@ -32,25 +32,25 @@ m365 pp solution get [options]
|
|
|
32
32
|
|
|
33
33
|
## Examples
|
|
34
34
|
|
|
35
|
-
Gets a specific solution in a specific environment based on name
|
|
35
|
+
Gets a specific solution in a specific environment based on name.
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 pp solution get --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --name "Default"
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
Gets a specific solution in a specific environment based on name as Admin
|
|
41
|
+
Gets a specific solution in a specific environment based on name as Admin.
|
|
42
42
|
|
|
43
43
|
```sh
|
|
44
44
|
m365 pp solution get --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --name "Default" --asAdmin
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
Gets a specific solution in a specific environment based on id
|
|
47
|
+
Gets a specific solution in a specific environment based on id.
|
|
48
48
|
|
|
49
49
|
```sh
|
|
50
50
|
m365 pp solution get --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --id "ee62fd63-e49e-4c09-80de-8fae1b9a427e"
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
Gets a specific solution in a specific environment based on id as Admin
|
|
53
|
+
Gets a specific solution in a specific environment based on id as Admin.
|
|
54
54
|
|
|
55
55
|
```sh
|
|
56
56
|
m365 pp solution get --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --id "ee62fd63-e49e-4c09-80de-8fae1b9a427e" --asAdmin
|
|
@@ -81,9 +81,14 @@ m365 pp solution get --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9
|
|
|
81
81
|
<TabItem value="Text">
|
|
82
82
|
|
|
83
83
|
```text
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
friendlyname : Default Solution
|
|
85
|
+
installedon : 2021-10-01T21:29:10Z
|
|
86
|
+
publisherid : {"friendlyname":"Default Publisher for org6633049a","publisherid":"d21aab71-79e7-11dd-8874-00188b01e34f"}
|
|
87
|
+
solutionid : fd140aaf-4df4-11dd-bd17-0019b9312238
|
|
88
|
+
solutionpackageversion: null
|
|
89
|
+
uniquename : Default
|
|
90
|
+
version : 1.0
|
|
91
|
+
versionnumber : 860055
|
|
87
92
|
```
|
|
88
93
|
|
|
89
94
|
</TabItem>
|
|
@@ -32,25 +32,25 @@ m365 pp solution publisher get [options]
|
|
|
32
32
|
|
|
33
33
|
## Examples
|
|
34
34
|
|
|
35
|
-
Gets a specific publisher in a specific environment based on name
|
|
35
|
+
Gets a specific publisher in a specific environment based on name.
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 pp solution publisher get --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --name "MicrosoftCorporation"
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
Gets a specific publisher in a specific environment based on name as Admin
|
|
41
|
+
Gets a specific publisher in a specific environment based on name as Admin.
|
|
42
42
|
|
|
43
43
|
```sh
|
|
44
44
|
m365 pp solution publisher get --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --name "MicrosoftCorporation" --asAdmin
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
Gets a specific publisher in a specific environment based on id
|
|
47
|
+
Gets a specific publisher in a specific environment based on id.
|
|
48
48
|
|
|
49
49
|
```sh
|
|
50
50
|
m365 pp solution publisher get --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --id "ee62fd63-e49e-4c09-80de-8fae1b9a427e"
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
Gets a specific publisher in a specific environment based on id as Admin
|
|
53
|
+
Gets a specific publisher in a specific environment based on id as Admin.
|
|
54
54
|
|
|
55
55
|
```sh
|
|
56
56
|
m365 pp solution publisher get --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --id "ee62fd63-e49e-4c09-80de-8fae1b9a427e" --asAdmin
|
|
@@ -78,9 +78,14 @@ m365 pp solution publisher get --environmentName "Default-2ca3eaa5-140f-4175-826
|
|
|
78
78
|
<TabItem value="Text">
|
|
79
79
|
|
|
80
80
|
```text
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
81
|
+
customizationoptionvalueprefix: 0
|
|
82
|
+
customizationprefix :
|
|
83
|
+
description : Publisher of Microsoft solutions
|
|
84
|
+
friendlyname : MicrosoftCorporation
|
|
85
|
+
isreadonly : false
|
|
86
|
+
publisherid : d21aab70-79e7-11dd-8874-00188b01e34f
|
|
87
|
+
uniquename : MicrosoftCorporation
|
|
88
|
+
versionnumber : 1226559
|
|
84
89
|
```
|
|
85
90
|
|
|
86
91
|
</TabItem>
|
|
@@ -93,12 +93,30 @@ m365 pp website get --url https://site-0uaq9.powerappsportals.com --environmentN
|
|
|
93
93
|
```text
|
|
94
94
|
id : 4916bb2c-91e1-4716-91d5-b6171928fac9
|
|
95
95
|
name : Site 1
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
createdOn : 2024-10-27T12:00:03
|
|
97
|
+
templateName : DefaultPortalTemplate
|
|
98
|
+
websiteUrl : https://site-0uaq9.powerappsportals.com
|
|
99
99
|
tenantId : 727dc1e9-3cd1-4d1f-8102-ab5c936e52f0
|
|
100
|
+
dataverseInstanceUrl: https://org0cd4b2b9.crm4.dynamics.com/
|
|
101
|
+
environmentName: Contoso (default)
|
|
102
|
+
environmentId : Default-727dc1e9-3cd1-4d1f-8102-ab5c936e52f0
|
|
103
|
+
dataverseOrganizationId: 2d58aeac-74d4-4939-98d1-e05a70a655ba
|
|
104
|
+
selectedBaseLanguage: 1033
|
|
105
|
+
customHostNames: []
|
|
106
|
+
websiteRecordId: 5eb107a6-5ac2-4e1c-a3b9-d5c21bbc10ce
|
|
107
|
+
subdomain : site-0uaq9
|
|
108
|
+
packageInstallStatus: Installed
|
|
100
109
|
type : Trial
|
|
101
|
-
|
|
110
|
+
trialExpiringInDays: 86
|
|
111
|
+
suspendedWebsiteDeletingInDays: 93
|
|
112
|
+
packageVersion: 9.6.9.39
|
|
113
|
+
isEarlyUpgradeEnabled: false
|
|
114
|
+
isCustomErrorEnabled: true
|
|
115
|
+
applicationUserAadAppId: 3f57aca7-5051-41b2-989d-26da8af7a53e
|
|
116
|
+
ownerId : 33469a62-c3af-4cfe-b893-854eceab96da
|
|
117
|
+
status : OperationComplete
|
|
118
|
+
siteVisibility: private
|
|
119
|
+
dataModel : Enhanced
|
|
102
120
|
```
|
|
103
121
|
|
|
104
122
|
</TabItem>
|
|
@@ -127,9 +127,18 @@ m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --
|
|
|
127
127
|
<TabItem value="Text">
|
|
128
128
|
|
|
129
129
|
```text
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
130
|
+
Email : Adele.Vance@contoso.onmicrosoft.com
|
|
131
|
+
Expiration :
|
|
132
|
+
Id : 11
|
|
133
|
+
IsEmailAuthenticationGuestUser: false
|
|
134
|
+
IsHiddenInUI : false
|
|
135
|
+
IsShareByEmailGuestUser : false
|
|
136
|
+
IsSiteAdmin : false
|
|
137
|
+
LoginName : i:0#.f|membership|adelev@contoso.onmicrosoft.com
|
|
138
|
+
PrincipalType : 1
|
|
139
|
+
Title : Adele Vance
|
|
140
|
+
UserId : {"NameId":"10032001f5ac2029","NameIdIssuer":"urn:federation:microsoftonline"}
|
|
141
|
+
UserPrincipalName : adelev@contoso.onmicrosoft.com
|
|
133
142
|
```
|
|
134
143
|
|
|
135
144
|
</TabItem>
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# spo homesite add
|
|
6
|
+
|
|
7
|
+
Adds a home site
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 spo homesite add [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-u, --url <url>`
|
|
19
|
+
: URL of the site to use as a home site.
|
|
20
|
+
|
|
21
|
+
`--isInDraftMode [isInDraftMode]`
|
|
22
|
+
: Specifies whether the home site is in draft mode. Accepts `true` or `false`. Default is `false`.
|
|
23
|
+
|
|
24
|
+
`--vivaConnectionsDefaultStart [vivaConnectionsDefaultStart]`
|
|
25
|
+
: Specifies whether the home site is the default start for Viva Connections. Accepts `true` or `false`. Default is `true`.
|
|
26
|
+
|
|
27
|
+
`--audiences [audiences]`
|
|
28
|
+
: Comma-separated list of Microsoft Entra group IDs that will be used as audience.
|
|
29
|
+
|
|
30
|
+
`--order [order]`
|
|
31
|
+
: Order of the home site. Must be a positive integer.
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
<Global />
|
|
35
|
+
|
|
36
|
+
## Examples
|
|
37
|
+
|
|
38
|
+
Add a home site
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
m365 spo homesite add --url "https://contoso.sharepoint.com/sites/testcomms"
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Add a home site with additional options
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
m365 spo homesite add --url "https://contoso.sharepoint.com/sites/testcomms" --isInDraftMode true --vivaConnectionsDefaultStart false --audiences "af8c0bc8-7b1b-44b4-b087-ffcc8df70d16,754ff15c-76b1-44cb-88c7-0065a4d3cfb7" --order 2
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Response
|
|
51
|
+
|
|
52
|
+
<Tabs>
|
|
53
|
+
<TabItem value="JSON">
|
|
54
|
+
|
|
55
|
+
```json
|
|
56
|
+
{
|
|
57
|
+
"Audiences": [
|
|
58
|
+
{
|
|
59
|
+
"Email": "active@contoso.onmicrosoft.com",
|
|
60
|
+
"Id": "7a1eea7f-9ab0-40ff-8f2e-0083d9d63451",
|
|
61
|
+
"Title": "active Members"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"IsInDraftMode": true,
|
|
65
|
+
"IsVivaBackendSite": false,
|
|
66
|
+
"SiteId": "ca49054c-85f3-41eb-a290-46ffda8f219c",
|
|
67
|
+
"TargetedLicenseType": 0,
|
|
68
|
+
"Title": "testcommsite",
|
|
69
|
+
"Url": "https://contoso.sharepoint.com/sites/testcomms",
|
|
70
|
+
"VivaConnectionsDefaultStart": false,
|
|
71
|
+
"WebId": "256c4f0f-e372-47b4-a891-b4888e829e20"
|
|
72
|
+
}
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
</TabItem>
|
|
76
|
+
<TabItem value="Text">
|
|
77
|
+
|
|
78
|
+
```text
|
|
79
|
+
Audiences : [{"Email":"active@contoso.onmicrosoft.com","Id":"7a1eea7f-9ab0-40ff-8f2e-0083d9d63451","Title":"active Members"}]
|
|
80
|
+
IsInDraftMode : true
|
|
81
|
+
IsVivaBackendSite : false
|
|
82
|
+
SiteId : ca49054c-85f3-41eb-a290-46ffda8f219c
|
|
83
|
+
TargetedLicenseType : 0
|
|
84
|
+
Title : testcommsite
|
|
85
|
+
Url : https://contoso.sharepoint.com/sites/testcomms
|
|
86
|
+
VivaConnectionsDefaultStart: false
|
|
87
|
+
WebId : 256c4f0f-e372-47b4-a891-b4888e829e20
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
</TabItem>
|
|
91
|
+
<TabItem value="CSV">
|
|
92
|
+
|
|
93
|
+
```csv
|
|
94
|
+
IsInDraftMode,IsVivaBackendSite,SiteId,TargetedLicenseType,Title,Url,VivaConnectionsDefaultStart,WebId
|
|
95
|
+
1,0,ca49054c-85f3-41eb-a290-46ffda8f219c,0,testcommsite,https://contoso.sharepoint.com/sites/testcomms,0,256c4f0f-e372-47b4-a891-b4888e829e20
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
</TabItem>
|
|
99
|
+
<TabItem value="Markdown">
|
|
100
|
+
|
|
101
|
+
```md
|
|
102
|
+
# spo homesite add --url "https://contoso.sharepoint.com/sites/testcomms"
|
|
103
|
+
|
|
104
|
+
Date: 12/23/2024
|
|
105
|
+
|
|
106
|
+
## testcommsite (https://contoso.sharepoint.com/sites/testcomms)
|
|
107
|
+
|
|
108
|
+
Property | Value
|
|
109
|
+
---------|-------
|
|
110
|
+
IsInDraftMode | true
|
|
111
|
+
IsVivaBackendSite | false
|
|
112
|
+
SiteId | ca49054c-85f3-41eb-a290-46ffda8f219c
|
|
113
|
+
TargetedLicenseType | 0
|
|
114
|
+
Title | testcommsite
|
|
115
|
+
Url | https://contoso.sharepoint.com/sites/testcomms
|
|
116
|
+
VivaConnectionsDefaultStart | false
|
|
117
|
+
WebId | 256c4f0f-e372-47b4-a891-b4888e829e20
|
|
118
|
+
```
|
|
119
|
+
</TabItem>
|
|
120
|
+
</Tabs>
|
|
121
|
+
|
|
122
|
+
## More information
|
|
123
|
+
|
|
124
|
+
- SharePoint home sites [Viva Connections set up](https://learn.microsoft.com/en-us/viva/connections/set-up-admin-center)
|
|
@@ -109,10 +109,36 @@ m365 spo page copy --webUrl https://contoso.sharepoint.com/sites/team-a --source
|
|
|
109
109
|
<TabItem value="Text">
|
|
110
110
|
|
|
111
111
|
```text
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
112
|
+
AbsoluteUrl : https://contoso.sharepoint.com/sites/SPDemo/SitePages/home-copy.aspx
|
|
113
|
+
AlternativeUrlMap : {"MediaTAThumbnailPathUrl":"https://southindia1-mediap.svc.ms/transform/thumbnail?provider=spo&inputFormat={.fileType}&cs=UEFHRVN8U1BP&docid={.spHost}/_api/v2.0/sharePoint:{.resourceUrl}:/driveItem&w={.widthValue}&oauth_token=bearer%20{.oauthToken}","MediaTAThumbnailHostUrl":"https://southindia1-mediap.svc.ms","AFDCDNEnabled":"ClientNotOnEdge","CurrentSiteCDNPolicy":"True","PublicCDNEnabled":"True","PrivateCDNEnabled":"True"}
|
|
114
|
+
AuthorByline : null
|
|
115
|
+
BannerImageUrl : https://contoso.sharepoint.com/_layouts/15/images/sitepagethumbnail.png
|
|
116
|
+
BannerThumbnailUrl : https://media.akamai.odsp.cdn.office.net/contoso.sharepoint.com/_layouts/15/images/sitepagethumbnail.png
|
|
117
|
+
CallToAction :
|
|
118
|
+
CanvasContent1 : [{"controlType":3,"displayMode":2,"id":"7558d804-0334-49ca-b14a-53870cf6caae","position":{"controlIndex":1,"sectionIndex":1,"zoneIndex":1,"sectionFactor":12,"layoutIndex":1},"webPartId":"e377ea37-9047-43b9-8cdb-a761be2f8e09","emphasis":{},"webPartData":{"dataVersion":"1.0","description":"Display a location on a map using Bing Maps.","id":"e377ea37-9047-43b9-8cdb-a761be2f8e09","instanceId":"7558d804-0334-49ca-b14a-53870cf6caae","properties":{"pushPins":[],"maxNumberOfPushPins":1,"shouldShowPushPinTitle":true,"zoomLevel":12,"mapType":"road"},"title":"Bing Maps","serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{}}}},{"controlType":0,"pageSettingsSlice":{"isDefaultDescription":true,"isDefaultThumbnail":true}}]
|
|
119
|
+
Categories : null
|
|
120
|
+
CoAuthState : null
|
|
121
|
+
ContentTypeId : 0x0101009D1CB255DA76424F860D91F20E6C411800F1678937A82C3142BEF3C962300813B5
|
|
122
|
+
Description : null
|
|
123
|
+
DoesUserHaveEditPermission : true
|
|
124
|
+
FileName : home-copy.aspx
|
|
125
|
+
FirstPublished : 0001-01-01T08:00:00Z
|
|
126
|
+
Id : 23
|
|
127
|
+
IsPageCheckedOutToCurrentUser: false
|
|
128
|
+
IsWebWelcomePage : false
|
|
129
|
+
Language : en-us
|
|
130
|
+
LayoutWebpartsContent : null
|
|
131
|
+
Modified : 2022-11-26T10:11:30Z
|
|
132
|
+
PageLayoutType : Article
|
|
133
|
+
Path : {"DecodedUrl":"SitePages/home-copy.aspx"}
|
|
134
|
+
PromotedState : 0
|
|
135
|
+
SitePageFlags :
|
|
136
|
+
Title : new-page
|
|
137
|
+
TopicHeader : null
|
|
138
|
+
UniqueId : 3c4b010b-7043-4b2b-b7eb-e6110d1bebac
|
|
139
|
+
Url : SitePages/home-copy.aspx
|
|
140
|
+
Version : 0.1
|
|
141
|
+
VersionInfo : {"LastVersionCreated":"0001-01-01T00:00:00","LastVersionCreatedBy":""}
|
|
116
142
|
```
|
|
117
143
|
|
|
118
144
|
</TabItem>
|
|
@@ -137,11 +137,50 @@ m365 spo page get --webUrl https://contoso.sharepoint.com/sites/team-a --name ho
|
|
|
137
137
|
<TabItem value="Text">
|
|
138
138
|
|
|
139
139
|
```text
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
140
|
+
BannerImageUrl : {"Description":"https://contoso.sharepoint.com/_layouts/15/images/sitepagethumbnail.png","Url":"https://contoso.sharepoint.com/_layouts/15/images/sitepagethumbnail.png"}
|
|
141
|
+
CanvasContent1 : <div><div data-sp-canvascontrol="" data-sp-canvasdataversion="1.0" data-sp-controldata="{"controlType":3,"displayMode":2,"id":"7558d804-0334-49ca-b14a-53870cf6caae","position":{"controlIndex":1,"sectionIndex":1,"zoneIndex":1,"sectionFactor":12,"layoutIndex":1},"webPartId":"e377ea37-9047-43b9-8cdb-a761be2f8e09","emphasis":{}}"><div data-sp-webpart="" data-sp-webpartdataversion="1.0" data-sp-webpartdata="{"dataVersion":"1.0","description":"Display a location on a map using Bing Maps.","id":"e377ea37-9047-43b9-8cdb-a761be2f8e09","instanceId":"7558d804-0334-49ca-b14a-53870cf6caae","properties":{"pushPins":[],"maxNumberOfPushPins":1,"shouldShowPushPinTitle":true,"zoomLevel":12,"mapType":"road"},"title":"Bing Maps"}"><div data-sp-componentid="e377ea37-9047-43b9-8cdb-a761be2f8e09"></div><div data-sp-htmlproperties=""></div></div></div><div data-sp-canvascontrol="" data-sp-canvasdataversion="1.0" data-sp-controldata="{"controlType":0,"pageSettingsSlice":{"isDefaultDescription":true,"isDefaultThumbnail":true}}"></div></div>
|
|
142
|
+
CheckInComment :
|
|
143
|
+
CheckOutType : 2
|
|
144
|
+
ClientSideApplicationId: b6917cb1-93a0-4b97-a84d-7cf49975d4ec
|
|
145
|
+
ComplianceAssetId : null
|
|
146
|
+
ContentTag : {C431F2EF-447C-4F72-BC3E-ED2687456C33},8,3
|
|
147
|
+
ContentTypeId : 0x0101009D1CB255DA76424F860D91F20E6C411800F1678937A82C3142BEF3C962300813B5
|
|
148
|
+
Created : 2022-11-26T01:51:46
|
|
149
|
+
CustomizedPageStatus : 2
|
|
150
|
+
Description : null
|
|
151
|
+
EditorId : 7
|
|
152
|
+
ETag : "{C431F2EF-447C-4F72-BC3E-ED2687456C33},8"
|
|
153
|
+
Exists : true
|
|
154
|
+
FileSystemObjectType : 0
|
|
155
|
+
FirstPublishedDate : null
|
|
156
|
+
GUID : c8e64e90-e546-4b67-ad05-44e76dac54fb
|
|
157
|
+
IrmEnabled : false
|
|
158
|
+
IsHiddenInUI : false
|
|
159
|
+
LayoutWebpartsContent : null
|
|
160
|
+
Length : 4106
|
|
161
|
+
Level : 2
|
|
162
|
+
LinkingUri : null
|
|
163
|
+
LinkingUrl :
|
|
164
|
+
ListItemAllFields : {"CanvasContent1":"<div><div data-sp-canvascontrol=\"\" data-sp-canvasdataversion=\"1.0\" data-sp-controldata=\"{"controlType":3,"displayMode":2,"id":"7558d804-0334-49ca-b14a-53870cf6caae",...","ContentTypeId":"0x0101009D1CB255DA76424F860D91F20E6C411800F1678937A82C3142BEF3C962300813B5",...}
|
|
165
|
+
MajorVersion : 0
|
|
166
|
+
MinorVersion : 4
|
|
167
|
+
Modified : 2022-11-26T09:55:46Z
|
|
168
|
+
Name : new-page.aspx
|
|
169
|
+
NumControls : 2
|
|
170
|
+
NumSections : 1
|
|
171
|
+
OData__ModerationStatus: 3
|
|
172
|
+
PageLayoutType : Article
|
|
173
|
+
PromotedState : 0
|
|
174
|
+
ServerRelativeUrl : /sites/SPDemo/SitePages/new-page.aspx
|
|
175
|
+
TimeCreated : 2022-11-26T09:51:46Z
|
|
176
|
+
TimeLastModified : 2022-11-26T09:55:46Z
|
|
177
|
+
Title : new-page
|
|
178
|
+
UIVersion : 4
|
|
179
|
+
UIVersionLabel : 0.4
|
|
180
|
+
UniqueId : c431f2ef-447c-4f72-bc3e-ed2687456c33
|
|
181
|
+
commentsDisabled : true
|
|
182
|
+
layoutType : Article
|
|
183
|
+
title : new-page
|
|
145
184
|
```
|
|
146
185
|
|
|
147
186
|
</TabItem>
|
|
@@ -62,8 +62,15 @@ m365 spo sitedesign run status get --webUrl https://contoso.sharepoint.com/sites
|
|
|
62
62
|
<TabItem value="Text">
|
|
63
63
|
|
|
64
64
|
```text
|
|
65
|
+
ActionIndex : 0
|
|
66
|
+
ActionKey : 00000000-0000-0000-0000-000000000000
|
|
65
67
|
ActionTitle : Activate feature f151bb39-7c3b-414f-bb36-6bf18872052f
|
|
68
|
+
LastModified : 1687422166000
|
|
69
|
+
OrdinalIndex : 0
|
|
70
|
+
OutcomeCode : 0
|
|
66
71
|
OutcomeText : null
|
|
72
|
+
SiteScriptID : 0c88bed7-943b-42aa-8fef-8fb69eebe3fe
|
|
73
|
+
SiteScriptIndex: 0
|
|
67
74
|
SiteScriptTitle: Contoso
|
|
68
75
|
```
|
|
69
76
|
|
|
@@ -26,13 +26,13 @@ m365 todo list get [options]
|
|
|
26
26
|
|
|
27
27
|
## Examples
|
|
28
28
|
|
|
29
|
-
Get a specific Microsoft To Do task list based on id
|
|
29
|
+
Get a specific Microsoft To Do task list based on id.
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
32
|
m365 todo list get --id "AAMkADY3NmM5ZjhiLTc3M2ItNDg5ZC1iNGRiLTAyM2FmMjVjZmUzOQAuAAAAAAAZ1T9YqZrvS66KkevskFAXAQBEMhhN5VK7RaaKpIc1KhMKAAAZ3e1AAAA="
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Get a specific Microsoft To Do task list based on name
|
|
35
|
+
Get a specific Microsoft To Do task list based on name.
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 todo list get --name "Task list"
|
|
@@ -57,8 +57,11 @@ m365 todo list get --name "Task list"
|
|
|
57
57
|
<TabItem value="Text">
|
|
58
58
|
|
|
59
59
|
```text
|
|
60
|
-
displayName
|
|
61
|
-
id
|
|
60
|
+
displayName : Task list
|
|
61
|
+
id : AAMkADY3NmM5ZjhiLTc3M2ItNDg5ZC1iNGRiLTAyM2FmMjVjZmUzOQAuAAAAAAAZ1T9YqZrvS66KkevskFAXAQBEMhhN5VK7RaaKpIc1KhMKAAAZ3e1AAAA=
|
|
62
|
+
isOwner : true
|
|
63
|
+
isShared : false
|
|
64
|
+
wellknownListName: defaultList
|
|
62
65
|
```
|
|
63
66
|
|
|
64
67
|
</TabItem>
|
|
@@ -29,13 +29,13 @@ m365 todo task get [options]
|
|
|
29
29
|
|
|
30
30
|
## Examples
|
|
31
31
|
|
|
32
|
-
Gets a specific task from a Microsoft To Do tasks list based on the name of the list and the task id
|
|
32
|
+
Gets a specific task from a Microsoft To Do tasks list based on the name of the list and the task id.
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
35
|
m365 todo task get --listName "My task list" --id "AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAEX8ECDAADEwEFouXWWT50CfwqSN9cpAAEX8GuPAAA="
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
Gets a specific task from a Microsoft To Do tasks list based on the id of the list and the task id
|
|
38
|
+
Gets a specific task from a Microsoft To Do tasks list based on the id of the list and the task id.
|
|
39
39
|
|
|
40
40
|
```sh
|
|
41
41
|
m365 todo task get --listId "AQMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MAAuAAADMN-7V4K8g0q_adetip1DygEAxMBBaLl1lk_dAn8KkjfXKQABF-BAgwAAAA==" --id "AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAEX8ECDAADEwEFouXWWT50CfwqSN9cpAAEX8GuPAAA="
|
|
@@ -68,8 +68,13 @@ m365 todo task get --listId "AQMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM
|
|
|
68
68
|
<TabItem value="Text">
|
|
69
69
|
|
|
70
70
|
```text
|
|
71
|
+
body : {"content":"","contentType":"text"}
|
|
72
|
+
categories : []
|
|
71
73
|
createdDateTime : 2022-10-23T14:05:09.2673009Z
|
|
74
|
+
hasAttachments : false
|
|
72
75
|
id : AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAEX8ECDAADEwEFouXWWT50CfwqSN9cpAAEX8GuPAAA=
|
|
76
|
+
importance : normal
|
|
77
|
+
isReminderOn : false
|
|
73
78
|
lastModifiedDateTime: 2022-10-23T14:15:11.3180312Z
|
|
74
79
|
status : notStarted
|
|
75
80
|
title : Stay healthy
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# viva engage community user add
|
|
6
|
+
|
|
7
|
+
Adds a user to a specific Microsoft 365 Viva Engage community
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 viva engage community user add [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-i, --communityId [communityId]`
|
|
19
|
+
: The ID of the Viva Engage community. Specify `communityId`, `communityDisplayName` or `entraGroupId`.
|
|
20
|
+
|
|
21
|
+
`-n, --communityDisplayName [communityDisplayName]`
|
|
22
|
+
: The display name of the Viva Engage community. Specify `communityId`, `communityDisplayName` or `entraGroupId`.
|
|
23
|
+
|
|
24
|
+
`--entraGroupId [entraGroupId]`
|
|
25
|
+
: The ID of the Microsoft 365 group. Specify `communityId`, `communityDisplayName` or `entraGroupId`.
|
|
26
|
+
|
|
27
|
+
`--ids [ids]`
|
|
28
|
+
: Microsoft Entra IDs of users. You can pass a comma-separated list of multiple IDs. Specify either `ids` or `userNames` but not both.
|
|
29
|
+
|
|
30
|
+
`--userNames [userNames]`
|
|
31
|
+
: The user principal names of users. You can pass a comma-separated list of multiple UPNs. Specify either `ids` or `userNames` but not both.
|
|
32
|
+
|
|
33
|
+
`-r, --role <role>`
|
|
34
|
+
: The role to be assigned to the new users. Valid values: `Admin`, `Member`.
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
<Global />
|
|
38
|
+
|
|
39
|
+
## Examples
|
|
40
|
+
|
|
41
|
+
Add a single user specified by ID as a member to a community specified by display name.
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
m365 viva engage community user add --communityDisplayName "All company" --ids 098b9f52-f48c-4401-819f-29c33794c3f5 --role Member
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Add multiple users specified by ID as members to a community specified by ID.
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
m365 viva engage community user add --communityId eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiIzNjAyMDAxMTAwOSJ9 --ids "098b9f52-f48c-4401-819f-29c33794c3f5,f1e06e31-3abf-4746-83c2-1513d71f38b8" --role Member
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Add a single user specified by UPN as an admin to a community specified by display name.
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
m365 viva engage community user add --communityDisplayName "All company" --userNames john.doe@contoso.com --role Admin
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Adds multiple users specified by UPN as admins to a community specified by its group ID.
|
|
60
|
+
|
|
61
|
+
```sh
|
|
62
|
+
m365 viva engage community user add --entraGroupId a03c0c35-ef9a-419b-8cab-f89e0a8d2d2a --userNames "john.doe@contoso.com,adele.vance@contoso.com" --role Admin
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Response
|
|
66
|
+
|
|
67
|
+
The command won't return a response on success.
|