@pnp/cli-microsoft365 6.0.0-beta.d557a48 → 6.0.0-beta.da9cd2c

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.
@@ -0,0 +1,71 @@
1
+ # pp solution publisher list
2
+
3
+ Lists publishers in a given environment.
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 pp solution publisher list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-e, --environment <environment>`
14
+ : The name of the environment
15
+
16
+ `--includeMicrosoftPublishers`
17
+ : Include the Microsoft Publishers
18
+
19
+ `-a, --asAdmin`
20
+ : Run the command as admin for environments you do not have explicitly assigned permissions to.
21
+
22
+ --8<-- "docs/cmd/_global.md"
23
+
24
+ ## Examples
25
+
26
+ List all publishers in a specific environment
27
+
28
+ ```sh
29
+ m365 pp solution publisher list --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339"
30
+ ```
31
+
32
+ List all publishers in a specific environment as Admin
33
+
34
+ ```sh
35
+ m365 pp solution publisher list --environment "Default-2ca3eaa5-140f-4175-8261-3272edf9f339" --asAdmin
36
+ ```
37
+
38
+ ## Response
39
+
40
+ === "JSON"
41
+
42
+ ```json
43
+ [
44
+ {
45
+ "publisherid": "00000001-0000-0000-0000-00000000005a",
46
+ "uniquename": "Cree38e",
47
+ "friendlyname": "CDS Default Publisher",
48
+ "versionnumber": 1074060,
49
+ "isreadonly": false,
50
+ "description": null,
51
+ "customizationprefix": "cr6c3",
52
+ "customizationoptionvalueprefix": 43186
53
+ }
54
+ ]
55
+ ```
56
+
57
+ === "Text"
58
+
59
+ ```text
60
+ publisherid uniquename friendlyname
61
+ ------------------------------------ ----------------------------- ----------------------------------
62
+ 00000001-0000-0000-0000-00000000005a Cree38e CDS Default Publisher
63
+ ```
64
+
65
+ === "CSV"
66
+
67
+ ```csv
68
+ publisherid,uniquename,friendlyname
69
+ 00000001-0000-0000-0000-00000000005a,Cree38e,CDS Default Publisher
70
+ ```
71
+
@@ -0,0 +1,58 @@
1
+ # solution remove
2
+
3
+ Removes the specified publisher in the specified Power Platform environment
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 pp solution publisher remove [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-e, --environment <environment>`
14
+ : The name of the environment.
15
+
16
+ `-i, --id [id]`
17
+ : The id of the solution. Specify either `id` or `name` but not both.
18
+
19
+ `-n, --name [name]`
20
+ : The name of the solution. Specify either `id` or `name` but not both.
21
+
22
+ `--asAdmin`
23
+ : Run the command as admin for environments you do not have explicitly assigned permissions to.
24
+
25
+ `--confirm`
26
+ : Don't prompt for confirmation
27
+
28
+ --8<-- "docs/cmd/_global.md"
29
+
30
+ ## Examples
31
+
32
+ Removes the specified publisher based on the name parameter
33
+
34
+ ```sh
35
+ m365 pp solution publisher remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Publisher Name"
36
+ ```
37
+
38
+ Removes the specified publisher based on the name parameter without confirmation
39
+
40
+ ```sh
41
+ m365 pp solution publisher remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Publisher Name" --confirm
42
+ ```
43
+
44
+ Removes the specified publisher based on the name parameter as admin
45
+
46
+ ```sh
47
+ m365 pp solution publisher remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Publisher Name" --asAdmin
48
+ ```
49
+
50
+ Removes the specified publisher owned by the currently signed-in user based on the id parameter
51
+
52
+ ```sh
53
+ m365 pp solution publisher remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 00000001-0000-0000-0001-00000000009b
54
+ ```
55
+
56
+ ## Response
57
+
58
+ The command won't return a response on success.
@@ -0,0 +1,82 @@
1
+ # pp solution remove
2
+
3
+ Removes the specified solution in the specified Power Platform environment
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 pp solution remove [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-e, --environment <environment>`
14
+ : The name of the environment.
15
+
16
+ `-i, --id [id]`
17
+ : The id of the solution. Specify either `id` or `name` but not both.
18
+
19
+ `-n, --name [name]`
20
+ : The unique name (not the display name) of the solution. Specify either `id` or `name` but not both.
21
+
22
+ `--asAdmin`
23
+ : Run the command as admin for environments you do not have explicitly assigned permissions to.
24
+
25
+ `--confirm`
26
+ : Don't prompt for confirmation
27
+
28
+ --8<-- "docs/cmd/_global.md"
29
+
30
+ ## Examples
31
+
32
+ Removes the specified solution with a specific name, owned by the currently signed-in user
33
+
34
+ ```sh
35
+ m365 pp solution remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Solution Name"
36
+ ```
37
+
38
+ Removes the specified solution owned by the currently signed-in user based on the name parameter without confirmation
39
+
40
+ ```sh
41
+ m365 pp solution remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Solution Name" --confirm
42
+ ```
43
+
44
+ Removes the specified solution owned by another user based on the name parameter
45
+
46
+ ```sh
47
+ m365 pp solution remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "Solution Name" --asAdmin
48
+ ```
49
+
50
+ Removes the specified solution owned by another user based on the name parameter without confirmation
51
+
52
+ ```sh
53
+ m365 pp solution remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name "solution Name" --asAdmin --confirm
54
+ ```
55
+
56
+ Removes the specified solution owned by the currently signed-in user based on the id parameter
57
+
58
+ ```sh
59
+ m365 pp solution remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 00000001-0000-0000-0001-00000000009b
60
+ ```
61
+
62
+ Removes the specified solution owned by the currently signed-in user based on the id parameter without confirmation
63
+
64
+ ```sh
65
+ m365 pp solution remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 00000001-0000-0000-0001-00000000009b --confirm
66
+ ```
67
+
68
+ Removes the specified solution owned by another user based on the id parameter
69
+
70
+ ```sh
71
+ m365 pp solution remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 00000001-0000-0000-0001-00000000009b --asAdmin
72
+ ```
73
+
74
+ Removes the specified solution owned by another user based on the id parameter without confirmation
75
+
76
+ ```sh
77
+ m365 pp solution remove --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 00000001-0000-0000-0001-00000000009b --asAdmin --confirm
78
+ ```
79
+
80
+ ## Response
81
+
82
+ The command won't return a response on success.
@@ -0,0 +1,76 @@
1
+ # spo file version list
2
+
3
+ Retrieves all versions of a file
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo file version list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-w, --webUrl <webUrl>`
14
+ : The URL of the site where the file is located
15
+
16
+ `-u, --fileUrl [fileUrl]`
17
+ : The site-relative or server-relative URL of the file. Specify either `fileUrl` or `fileId` but not both
18
+
19
+ `-i, --fileId [fileId]`
20
+ : The UniqueId (GUID) of the file. Specify either `fileUrl` or `fileId` but not both
21
+
22
+ --8<-- "docs/cmd/_global.md"
23
+
24
+ ## Examples
25
+
26
+ List file versions of a specific file based on the ID of the file
27
+
28
+ ```sh
29
+ m365 spo file version list --webUrl https://contoso.sharepoint.com --fileId 'b2307a39-e878-458b-bc90-03bc578531d6'
30
+ ```
31
+
32
+ List file versions of a specific file based on the site-relative URL of the file
33
+
34
+ ```sh
35
+ m365 spo file version list --webUrl https://contoso.sharepoint.com --fileUrl '/Shared Documents/Document.docx'
36
+ ```
37
+
38
+ List file versions of a specific file based on the server-relative URL of the file
39
+
40
+ ```sh
41
+ m365 spo file version list --webUrl https://contoso.sharepoint.com/sites/project-x --fileUrl '/sites/project-x/Shared Documents/Document.docx'
42
+ ```
43
+
44
+ ## Response
45
+
46
+ === "JSON"
47
+
48
+ ```json
49
+ [
50
+ {
51
+ "CheckInComment": "",
52
+ "Created": "2022-10-30T12:03:06Z",
53
+ "ID": 512,
54
+ "IsCurrentVersion": false,
55
+ "Length": "18898",
56
+ "Size": 18898,
57
+ "Url": "_vti_history/512/Shared Documents/Document.docx",
58
+ "VersionLabel": "1.0"
59
+ }
60
+ ]
61
+ ```
62
+
63
+ === "Text"
64
+
65
+ ```text
66
+ CheckInComment Created ID IsCurrentVersion Length Size Url VersionLabel
67
+ -------------- -------------------- ---- ---------------- ------ ----- ------------------------------------------------ ------------
68
+ 2022-10-30T12:03:06Z 512 false 18898 18898 _vti_history/512/Shared Documents/Document.docx 1.0
69
+ ```
70
+
71
+ === "CSV"
72
+
73
+ ```csv
74
+ CheckInComment,Created,ID,IsCurrentVersion,Length,Size,Url,VersionLabel
75
+ ,2022-10-30T12:03:06Z,512,,18898,18898,_vti_history/512/Shared Documents/Document.docx,1.0
76
+ ```
@@ -0,0 +1,59 @@
1
+ # spo folder roleassignment add
2
+
3
+ Adds a role assignment from the specified folder.
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo folder roleassignment add [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --webUrl <webUrl>`
14
+ : The URL of the site where the folder is located.
15
+
16
+ `-f, --folderUrl <folderUrl>`
17
+ : The server- or site-relative URL of the folder.
18
+
19
+ `--principalId [principalId]`
20
+ : The SharePoint principal id. It may be either an user id or group id for which the role assignment will be addd. Specify either upn, groupName or principalId but not multiple.
21
+
22
+ `--upn [upn]`
23
+ : The upn/email of the user. Specify either upn, groupName or principalId but not multiple.
24
+
25
+ `--groupName [groupName]`
26
+ : The Azure AD or SharePoint group name. Specify either upn, groupName or principalId but not multiple.
27
+
28
+ `--roleDefinitionId [roleDefinitionId]`
29
+ : ID of the role definition. Specify either roleDefinitionId or roleDefinitionName but not both.
30
+
31
+ `--roleDefinitionName [roleDefinitionName]`
32
+ : The name of the role definition. E.g. 'Contribute', 'Read'. Specify either roleDefinitionId or roleDefinitionName but not both
33
+
34
+ --8<-- "docs/cmd/_global.md"
35
+
36
+ ## Examples
37
+
38
+ Add the role assignment to the specified folder based on the group name and role definition name.
39
+
40
+ ```sh
41
+ m365 spo folder roleassignment add --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --folderUrl "/Shared Documents/FolderPermission" --groupName "saleGroup" --roleDefinitionName "Edit"
42
+ ```
43
+
44
+ Add the role assignment to the specified folder based on the principal Id and role definition id
45
+
46
+ ```sh
47
+ m365 spo folder roleassignment add --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --folderUrl "/Shared Documents/FolderPermission" --principalId 2 --roleDefinitionId 1073741827
48
+ ```
49
+
50
+ Add the role assignment to the specified folder based on the upn and role definition name
51
+
52
+ ```sh
53
+ m365 spo folder roleassignment add --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --folderUrl "/Shared Documents/FolderPermission" --upn "test@contoso.onmicrosoft.com" --roleDefinitionName "Edit"
54
+ ```
55
+ Add the role assignment to the root folder based on the upn and role definition name
56
+
57
+ ```sh
58
+ m365 spo folder roleassignment add --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --folderUrl "/Shared Documents" --upn "test@contoso.onmicrosoft.com" --roleDefinitionName "Edit"
59
+ ```
@@ -0,0 +1,149 @@
1
+ # teams meeting list
2
+
3
+ Retrieve all online meetings for a given user or shared mailbox
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 teams meeting list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --userId [userId]`
14
+ : The id of the user or shared mailbox, omit to retrieve meetings for current signed in user. Use either `id`, `userName` or `email`, but not multiple.
15
+
16
+ `-n, --userName [userName]`
17
+ : The name of the user or shared mailbox, omit to retrieve meetings for current signed in user. Use either `id`, `userName` or `email`, but not multiple.
18
+
19
+ `--email [email]`
20
+ : The email of the user or shared mailbox, omit to retrieve meetings for current signed in user. Use either `id`, `userName` or `email`, but not multiple.
21
+
22
+ `--startDateTime <startDateTime>`
23
+ : The startdate used to query for meetings.
24
+
25
+ `--endDateTime [endDateTime]`
26
+ : The enddate used to query for meetings.
27
+
28
+ `--isOrganizer`
29
+ : Set to retrieve only meetings the user is organizer for.
30
+
31
+ --8<-- "docs/cmd/_global.md"
32
+
33
+ ## Examples
34
+
35
+ Lists all meetings for a specific user retrieved by email of which the user is organizer of started after a specific datetime
36
+
37
+ ```sh
38
+ m365 teams meeting list --startDateTime '2022-01-01T10:00:00Z' --email user@tenant.com --isOrganizer
39
+ ```
40
+
41
+ List all meeting of the currently logged in user between two specific dates
42
+
43
+ ```sh
44
+ m365 teams meeting list --startDateTime '2022-01-01T10:00:00Z' --endDateTime '2022-03-31T23:59:59Z'
45
+ ```
46
+
47
+ ## Response
48
+
49
+ === "JSON"
50
+
51
+ ```json
52
+ [
53
+ {
54
+ "id": "AAMkADgzN2Q1NThiLTI0NjYtNGIxYS05MDdjLTg1OWQxNzgwZGM2ZgBGAAAAAAC6jQfUzacTSIHqMw2yacnUBwBiOC8xvYmdT6G2E_hLMK5kAAAAAAENAABiOC8xvYmdT6G2E_hLMK5kAAIw3TQIAAA=",
55
+ "createdDateTime": "2022-06-26T12:39:34.224055Z",
56
+ "lastModifiedDateTime": "2022-06-26T12:41:36.4357085Z",
57
+ "changeKey": "YjgvMb2JnU+hthPoSzCuZAACMHITIQ==",
58
+ "categories": [],
59
+ "transactionId": null,
60
+ "originalStartTimeZone": "W. Europe Standard Time",
61
+ "originalEndTimeZone": "W. Europe Standard Time",
62
+ "iCalUId": "040000008200E00074C5B7101A82E008000000001AF70ACA5989D801000000000000000010000000048716A892ACAE4DB6CC16097796C401",
63
+ "reminderMinutesBeforeStart": 15,
64
+ "isReminderOn": true,
65
+ "hasAttachments": false,
66
+ "subject": "Test meeting",
67
+ "bodyPreview": "________________________________________________________________________________\r\\\nMicrosoft Teams meeting\r\\\nJoin on your computer or mobile app\r\\\nClick here to join the meeting\r\\\nLearn More | Meeting options\r\\\n___________________________________________",
68
+ "importance": "normal",
69
+ "sensitivity": "normal",
70
+ "isAllDay": false,
71
+ "isCancelled": false,
72
+ "isOrganizer": true,
73
+ "responseRequested": true,
74
+ "seriesMasterId": null,
75
+ "showAs": "busy",
76
+ "type": "singleInstance",
77
+ "webLink": "https://outlook.office365.com/owa/?itemid=AAMkADgzN2Q1NThiLTI0NjYtNGIxYS05MDdjLTg1OWQxNzgwZGM2ZgBGAAAAAAC6jQfUzacTSIHqMw2yacnUBwBiOC8xvYmdT6G2E%2BhLMK5kAAAAAAENAABiOC8xvYmdT6G2E%2BhLMK5kAAIw3TQIAAA%3D&exvsurl=1&path=/calendar/item",
78
+ "onlineMeetingUrl": null,
79
+ "isOnlineMeeting": true,
80
+ "onlineMeetingProvider": "teamsForBusiness",
81
+ "allowNewTimeProposals": true,
82
+ "occurrenceId": null,
83
+ "isDraft": false,
84
+ "hideAttendees": false,
85
+ "responseStatus": {
86
+ "response": "organizer",
87
+ "time": "0001-01-01T00:00:00Z"
88
+ },
89
+ "body": {
90
+ "contentType": "html",
91
+ "content": "<html>\r\\\n<head>\r\\\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\r\\\n</head>\r\\\n<body>\r\\\n<div><br>\r\\\n<br>\r\\\n<br>\r\\\n<div style=\"width:100%; height:20px\"><span style=\"white-space:nowrap; color:#5F5F5F; opacity:.36\">________________________________________________________________________________</span>\r\\\n</div>\r\\\n<div class=\"me-email-text\" lang=\"en-US\" style=\"color:#252424; font-family:'Segoe UI','Helvetica Neue',Helvetica,Arial,sans-serif\">\r\\\n<div style=\"margin-top:24px; margin-bottom:20px\"><span style=\"font-size:24px; color:#252424\">Microsoft Teams meeting</span>\r\\\n</div>\r\\\n<div style=\"margin-bottom:20px\">\r\\\n<div style=\"margin-top:0px; margin-bottom:0px; font-weight:bold\"><span style=\"font-size:14px; color:#252424\">Join on your computer or mobile app</span>\r\\\n</div>\r\\\n<a href=\"https://teams.microsoft.com/l/meetup-join/19%3ameeting_OWIwM2MzNmQtZmY1My00MzM0LWIxMGQtYzkyNzI3OWU5ODMx%40thread.v2/0?context=%7b%22Tid%22%3a%22e1dd4023-a656-480a-8a0e-c1b1eec51e1d%22%2c%22Oid%22%3a%22fe36f75e-c103-410b-a18a-2bf6df06ac3a%22%7d\" class=\"me-email-headline\" style=\"font-size:14px; font-family:'Segoe UI Semibold','Segoe UI','Helvetica Neue',Helvetica,Arial,sans-serif; text-decoration:underline; color:#6264a7\">Click\r\\\n here to join the meeting</a> </div>\r\\\n<div style=\"margin-bottom:24px; margin-top:20px\"><a href=\"https://aka.ms/JoinTeamsMeeting\" class=\"me-email-link\" style=\"font-size:14px; text-decoration:underline; color:#6264a7; font-family:'Segoe UI','Helvetica Neue',Helvetica,Arial,sans-serif\">Learn More</a>\r\\\n | <a href=\"https://teams.microsoft.com/meetingOptions/?organizerId=fe36f75e-c103-410b-a18a-2bf6df06ac3a&amp;tenantId=e1dd4023-a656-480a-8a0e-c1b1eec51e1d&amp;threadId=19_meeting_OWIwM2MzNmQtZmY1My00MzM0LWIxMGQtYzkyNzI3OWU5ODMx@thread.v2&amp;messageId=0&amp;language=en-US\" class=\"me-email-link\" style=\"font-size:14px; text-decoration:underline; color:#6264a7; font-family:'Segoe UI','Helvetica Neue',Helvetica,Arial,sans-serif\">\r\\\nMeeting options</a> </div>\r\\\n</div>\r\\\n<div style=\"font-size:14px; margin-bottom:4px; font-family:'Segoe UI','Helvetica Neue',Helvetica,Arial,sans-serif\">\r\\\n</div>\r\\\n<div style=\"font-size:12px\"></div>\r\\\n</div>\r\\\n<div style=\"width:100%; height:20px\"><span style=\"white-space:nowrap; color:#5F5F5F; opacity:.36\">________________________________________________________________________________</span>\r\\\n</div>\r\\\n<div></div>\r\\\n</body>\r\\\n</html>\r\\\n"
92
+ },
93
+ "start": {
94
+ "dateTime": "2022-06-26T12:30:00.0000000",
95
+ "timeZone": "UTC"
96
+ },
97
+ "end": {
98
+ "dateTime": "2022-06-26T13:00:00.0000000",
99
+ "timeZone": "UTC"
100
+ },
101
+ "location": {
102
+ "displayName": "",
103
+ "locationType": "default",
104
+ "uniqueIdType": "unknown",
105
+ "address": {},
106
+ "coordinates": {}
107
+ },
108
+ "locations": [],
109
+ "recurrence": null,
110
+ "attendees": [
111
+ {
112
+ "type": "required",
113
+ "status": {
114
+ "response": "none",
115
+ "time": "0001-01-01T00:00:00Z"
116
+ },
117
+ "emailAddress": {
118
+ "name": "User D",
119
+ "address": "userD@outlook.com"
120
+ }
121
+ }
122
+ ],
123
+ "organizer": {
124
+ "emailAddress": {
125
+ "name": "User",
126
+ "address": "user@tenant.com"
127
+ }
128
+ },
129
+ "onlineMeeting": {
130
+ "joinUrl": "https://teams.microsoft.com/l/meetup-join/19%3ameeting_OWIwM2MzNmQtZmY1My00MzM0LWIxMGQtYzkyNzI3OWU5ODMx%40thread.v2/0?context=%7b%22Tid%22%3a%22e1dd4023-a656-480a-8a0e-c1b1eec51e1d%22%2c%22Oid%22%3a%22fe36f75e-c103-410b-a18a-2bf6df06ac3a%22%7d"
131
+ }
132
+ }
133
+ ]
134
+ ```
135
+
136
+ === "Text"
137
+
138
+ ```text
139
+ subject start end
140
+ ------------------- -------------------- --------------------
141
+ Meeting title 26/06/2022, 12:30:00 26/06/2022, 13:00:00
142
+ ```
143
+
144
+ === "CSV"
145
+
146
+ ```csv
147
+ subject,start,end
148
+ Meeting title,"26/06/2022, 12:30:00","26/06/2022, 13:00:00"
149
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "6.0.0-beta.d557a48",
3
+ "version": "6.0.0-beta.da9cd2c",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",