Skip to content

Commit

Permalink
Update existing md output
Browse files Browse the repository at this point in the history
  • Loading branch information
SmitaNachan committed Oct 4, 2023
1 parent aca68bd commit e68dc65
Show file tree
Hide file tree
Showing 84 changed files with 231 additions and 514 deletions.
37 changes: 21 additions & 16 deletions docs/docs/cmd/aad/license/license-list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ m365 aad license list [options]

## Examples

List all licenses within the tenant
List all licenses within the tenant.

```sh
m365 aad license list
Expand All @@ -32,24 +32,30 @@ m365 aad license list
```json
[
{
"accountName": "contoso",
"accountId": "a9b44919-790b-4843-9b45-1923b8c3d61f",
"appliesTo": "User",
"capabilityStatus": "Enabled",
"consumedUnits": 1,
"id": "48a80680-7326-48cd-9935-b556b81d3a4e_c7df2760-2c81-4ef7-b578-5b5392b571df",
"skuId": "c7df2760-2c81-4ef7-b578-5b5392b571df",
"skuPartNumber": "ENTERPRISEPREMIUM",
"appliesTo": "User",
"skuPartNumber": "ENTERPRISEPREMIUM",
"subscriptionIds": [
"b079cd48-7a9e-4d8b-af82-60f3adefe53b"
],
"prepaidUnits": {
"enabled": 10000,
"suspended": 0,
"warning": 0
"warning": 0,
"lockedOut": 0
},
"servicePlans": [
{
"servicePlanId": "8c098270-9dd4-4350-9b30-ba4703f3b36b",
"servicePlanName": "ADALLOM_S_O365",
"provisioningStatus": "Success",
"appliesTo": "User"
}
{
"servicePlanId": "8c098270-9dd4-4350-9b30-ba4703f3b36b",
"servicePlanName": "ADALLOM_S_O365",
"provisioningStatus": "Success",
"appliesTo": "User"
}
]
}
]
Expand All @@ -68,8 +74,8 @@ m365 aad license list
<TabItem value="CSV">

```csv
id,skuId,skuPartNumber
48a80680-7326-48cd-9935-b556b81d3a4e_c7df2760-2c81-4ef7-b578-5b5392b571df,c7df2760-2c81-4ef7-b578-5b5392b571df,ENTERPRISEPREMIUM
accountName,accountId,appliesTo,capabilityStatus,consumedUnits,id,skuId,skuPartNumber
contoso,a9b44919-790b-4843-9b45-1923b8c3d61f,User,Enabled,1,48a80680-7326-48cd-9935-b556b81d3a4e_c7df2760-2c81-4ef7-b578-5b5392b571df,c7df2760-2c81-4ef7-b578-5b5392b571df,ENTERPRISEPREMIUM
```

</TabItem>
Expand All @@ -84,16 +90,15 @@ m365 aad license list

Property | Value
---------|-------
accountName | contoso
accountId | a9b44919-790b-4843-9b45-1923b8c3d61f
appliesTo | User
capabilityStatus | Enabled
consumedUnits | 1
id | 48a80680-7326-48cd-9935-b556b81d3a4e_c7df2760-2c81-4ef7-b578-5b5392b571df
skuId | c7df2760-2c81-4ef7-b578-5b5392b571df
skuPartNumber | ENTERPRISEPREMIUM
appliesTo | User
prepaidUnits | {"enabled":10000,"suspended":0,"warning":0}
servicePlans | [{"servicePlanId":"8c098270-9dd4-4350-9b30-ba4703f3b36b","servicePlanName": "ADALLOM_S_O365","provisioningStatus": "Success","appliesTo": "User"}]
```

</TabItem>
</Tabs>

8 changes: 3 additions & 5 deletions docs/docs/cmd/aad/user/user-license-list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ m365 aad user license list --userId 59f80e08-24b1-41f8-8586-16765fd830d3
<TabItem value="Text">

```text
id : x4s03usaBkSMs5fbAhyttK6cK8RP6rdKlxeBV2I1zKw
skuId : c42b9cae-ea4f-4ab7-9717-81576235ccac
skuPartNumber: DEVELOPERPACK_E5
id skuId skuPartNumber
------------------------------------------- ------------------------------------ -----------------------------------------
x4s03usaBkSMs5fbAhyttK6cK8RP6rdKlxeBV2I1zKw c42b9cae-ea4f-4ab7-9717-81576235ccac DEVELOPERPACK_E5
```

</TabItem>
Expand All @@ -107,9 +107,7 @@ m365 aad user license list --userId 59f80e08-24b1-41f8-8586-16765fd830d3
id | x4s03usaBkSMs5fbAhyttK6cK8RP6rdKlxeBV2I1zKw
skuId | c42b9cae-ea4f-4ab7-9717-81576235ccac
skuPartNumber | DEVELOPERPACK\_E5
servicePlans | [{"servicePlanId":"7547a3fe-08ee-4ccb-b430-5077c5041653","servicePlanName":"YAMMER\_ENTERPRISE","provisioningStatus":"Success","appliesTo":"User"}]
```

</TabItem>
</Tabs>

7 changes: 3 additions & 4 deletions docs/docs/cmd/flow/environment/environment-get.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,14 @@ If the environment with the name you specified doesn't exist, you will get the `

## Examples

Get information about a Microsoft Flow environment specified by name
Get information about a Microsoft Flow environment specified by name.

```sh
m365 flow environment get --name Default-d87a7535-dd31-4437-bfe1-95340acd55c5
```

Get information about the default Microsoft Flow environment
Get information about the default Microsoft Flow environment.

```sh
m365 flow environment get
```
Expand Down Expand Up @@ -162,7 +163,6 @@ m365 flow environment get
location | india
type | Microsoft.ProcessSimple/environments
id | /providers/Microsoft.ProcessSimple/environments/Default-d87a7535-dd31-4437-bfe1-95340acd55c5
properties | {"displayName":"contoso (default)","createdTime":"2019-12-21T18:32:11.8708704Z","createdBy":{"id":"SYSTEM","displayName": "SYSTEM","type": "NotSpecified"},"provisioningState":"Succeeded","creationType":"DefaultTenant","environmentSku":"Default","environmentType":"NotSpecified","states":{"management":{"id":"NotSpecified"},"runtime":{"runtimeReasonCode":"NotSpecified","requestedBy":{"displayName":"SYSTEM","type":"NotSpecified"},"id":"Enabled"}},"isDefault":true,"isPayAsYouGoEnabled":false,"azureRegionHint":"centralindia","runtimeEndpoints":{"microsoft.BusinessAppPlatform":"https://india.api.bap.microsoft.com","microsoft.CommonDataModel":"https://india.api.cds.microsoft.com","microsoft.PowerApps":"https://india.api.powerapps.com",microsoft.PowerAppsAdvisor":"https://india.api.advisor.powerapps.com","microsoft.PowerVirtualAgents":"https://powervamg.in-il101.gateway.prod.island.powerapps.com","microsoft.ApiManagement":"https://management.INDIA.azure-apihub.net","microsoft.Flow":"https://india.api.flow.microsoft.com"},"linkedEnvironmentMetadata":{"type":"NotSpecified","resourceId":"3aa550bf-52ac-42fc-98f7-5d1833c1501c","friendlyName":"contoso (default)","uniqueName":"orgfc80770f","domainName":"orgfc80770f","version":"9.2.22105.00154","instanceUrl":"https://orgfc80770f.crm8.dynamics.com/","instanceApiUrl":"https://orgfc80770f.api.crm8.dynamics.com","baseLanguage":1033,"instanceState":"Ready","createdTime":"2019-12-25T15:46:14.433Z"},"environmentFeatures":{"isOpenApiEnabled":false},"cluster":{"category":"Prod","number":"101","uriSuffix":"in-il101.gateway.prod.island","geoShortName":"IN","environment":"Prod"},"governanceConfiguration":{"protectionLevel":"Basic"}}
displayName | contoso (default)
provisioningState | Succeeded
environmentSku | Default
Expand All @@ -172,4 +172,3 @@ m365 flow environment get

</TabItem>
</Tabs>

7 changes: 3 additions & 4 deletions docs/docs/cmd/flow/environment/environment-list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This command is based on an API that is currently in preview and is subject to c

## Examples

List Microsoft Flow environments in the current tenant
List Microsoft Flow environments in the current tenant.

```sh
m365 flow environment list
Expand Down Expand Up @@ -127,8 +127,8 @@ m365 flow environment list
<TabItem value="CSV">

```csv
name,displayName
d87a7535-dd31-4437-bfe1-95340acd55c5,Contoso Environment
name,location,type,id,displayName
d87a7535-dd31-4437-bfe1-95340acd55c5,india,Microsoft.ProcessSimple/environments,/providers/Microsoft.ProcessSimple/environments/d87a7535-dd31-4437-bfe1-95340acd55c5,Contoso Environment
```

</TabItem>
Expand All @@ -152,4 +152,3 @@ m365 flow environment list

</TabItem>
</Tabs>

5 changes: 2 additions & 3 deletions docs/docs/cmd/flow/owner/owner-list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ m365 flow owner list [options]

## Examples

Gets the owners by the name of the Power Automate flow within a specified environment
Gets the owners by the name of the Power Automate flow within a specified environment.

```sh
m365 flow owner list --environmentName Default-c5a5d746-3520-453f-8a69-780f8e44917e --flowName 72f2be4a-78c1-4220-a048-dbf557296a72
```

Gets the owners by the name of the Power Automate flow within a specified environment with admin privileges
Gets the owners by the name of the Power Automate flow within a specified environment with admin privileges.

```sh
m365 flow owner list --environmentName Default-c5a5d746-3520-453f-8a69-780f8e44917e --flowName 72f2be4a-78c1-4220-a048-dbf557296a72 --asAdmin
Expand Down Expand Up @@ -96,7 +96,6 @@ m365 flow owner list --environmentName Default-c5a5d746-3520-453f-8a69-780f8e449
name | fe36f75e-c103-410b-a18a-2bf6df06ac3a
id | /providers/Microsoft.ProcessSimple/environments/Default-c5a5d746-3520-453f-8a69-780f8e44917e/flows/72f2be4a-78c1-4220-a048-dbf557296a72/permissions/fe36f75e-c103-410b-a18a-2bf6df06ac3a
type | /providers/Microsoft.ProcessSimple/environments/flows/permissions
properties | {"roleName":"Owner","permissionType":"Principal","principal":{"id":"fe36f75e-c103-410b-a18a-2bf6df06ac3a","type":"User"}}
```

</TabItem>
Expand Down
14 changes: 6 additions & 8 deletions docs/docs/cmd/flow/run/run-list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ m365 flow run list [options]

```md definition-list
`--flowName <flowName>`
: The name of the Microsoft Flow to retrieve the runs for
: The name of the Microsoft Flow to retrieve the runs for.

`-e, --environmentName <environmentName>`
: The name of the environment to which the flow belongs
: The name of the environment to which the flow belongs.

`--status [status]`
: Filter the results to only flow runs with a given status: `Succeeded`, `Running`, `Failed` or `Cancelled`. By default all flow runs are listed.
Expand Down Expand Up @@ -50,25 +50,25 @@ If the Microsoft Flow with the name you specified doesn't exist, you will get th

## Examples

List runs of the specified Microsoft Flow
List runs of the specified Microsoft Flow.

```sh
m365 flow run list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a
```

List runs of the specified Microsoft Flow with a specific status
List runs of the specified Microsoft Flow with a specific status.

```sh
m365 flow run list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --status Running
```

List runs of the specified Microsoft Flow between a specific time range
List runs of the specified Microsoft Flow between a specific time range.

```sh
m365 flow run list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --triggerStartTime 2023-01-21T18:19:00Z --triggerEndTime 2023-01-22T00:00:00Z
```

List runs of the specified Microsoft Flow owned by another user
List runs of the specified Microsoft Flow owned by another user.

```sh
m365 flow run list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --asAdmin
Expand Down Expand Up @@ -158,11 +158,9 @@ m365 flow run list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c
name | 08585329112602833828909892130CU17
id | /providers/Microsoft.ProcessSimple/environments/Default-de348bc7-1aeb-4406-8cb3-97db021cadb4/flows/170fb67e-a514-4d84-8727-582022bd13a9/runs/08585329112602833828909892130CU17
type | Microsoft.ProcessSimple/environments/flows/runs
properties | {"startTime":"2022-11-17T14:33:45.2763872Z","status":"Running","correlation":{"clientTrackingId":"08585329112602833829909892130CU00"},"trigger":{"name":"When_a_new_response_is_submitted","inputsLink":{"uri":"https://prod-08.centralindia.logic.azure.com:443/workflows/f7bf8f6b5c494e63bfc21b54087a596e/runs/08585329112602833828909892130CU17/contents/TriggerInputs?api-version=2016-06-01&se=2022-11-17T18%3A00%3A00.0000000Z&sp=%2Fruns%2F08585329112602833828909892130CU17%2Fcontents%2FTriggerInputs%2Fread&sv=1.0&sig=jmdMRWvY7uGoxTmqd3_a2bJtegXuVyuKTKKUVLiwh38","contentVersion":"6ZrBBE+MJg7IvhMgyJLMmA==","contentSize":349,"contentHash":{"algorithm":"md5","value":"6ZrBBE+MJg7IvhMgyJLMmA=="}},"outputsLink":{"uri":"https://prod-08.centralindia.logic.azure.com:443/workflows/f7bf8f6b5c494e63bfc21b54087a596e/runs/08585329112602833828909892130CU17/contents/TriggerOutputs?api-version=2016-06-01&se=2022-11-17T18%3A00%3A00.0000000Z&sp=%2Fruns%2F08585329112602833828909892130CU17%2Fcontents%2FTriggerOutputs%2Fread&sv=1.0&sig=Y3qqjuWrrcQJrmF7uvm6LVzQy5w-dNOFWJ8Yt8khXvA","contentVersion":"Z/4a8tfYygNAR1xpc44iww==","contentSize":493,"contentHash":{"algorithm":"md5","value":"Z/4a8tfYygNAR1xpc44iww=="}},"startTime":"2022-11-17T14:33:45.1914506Z","endTime":"2022-11-17T14:33:45.1914506Z","originHistoryName":"08585329112602833829909892130CU00","correlation":{"clientTrackingId":"08585329112602833829909892130CU00"},"status":"Succeeded"}}
startTime | 2022-11-17T14:33:45.2763872Z
status | Running
```

</TabItem>
</Tabs>

15 changes: 6 additions & 9 deletions docs/docs/cmd/onenote/page/page-list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,37 +39,37 @@ When we don't specify either `userId`, `userName`, `groupId`, `groupName` or `we

## Examples

List Microsoft OneNote pages for the currently logged in user
List Microsoft OneNote pages for the currently logged in user.

```sh
m365 onenote page list
```

List Microsoft OneNote pages in a specific group specified by id
List Microsoft OneNote pages in a specific group specified by id.

```sh
m365 onenote page list --groupId 233e43d0-dc6a-482e-9b4e-0de7a7bce9b4
```

List Microsoft OneNote pages in a specific group specified by name
List Microsoft OneNote pages in a specific group specified by name.

```sh
m365 onenote page list --groupName "MyGroup"
```

List Microsoft OneNote pages for a specific user specified by name
List Microsoft OneNote pages for a specific user specified by name.

```sh
m365 onenote page list --userName [email protected]
```

List Microsoft OneNote pages for a specific user specified by id
List Microsoft OneNote pages for a specific user specified by id.

```sh
m365 onenote page list --userId 2609af39-7775-4f94-a3dc-0dd67657e900
```

List Microsoft OneNote pages for a specific site
List Microsoft OneNote pages for a specific site.

```sh
m365 onenote page list --webUrl https://contoso.sharepoint.com/sites/testsite
Expand Down Expand Up @@ -145,10 +145,7 @@ m365 onenote page list --webUrl https://contoso.sharepoint.com/sites/testsite
createdByAppId |
contentUrl | https://graph.microsoft.com/v1.0/users/[email protected]/onenote/pages/1-a26aaec43ed348bd82edf4eb44e73d6c!68-3eb21088-b613-4698-98df-92a7d34e0678/content
lastModifiedDateTime | 2023-01-07T10:57:17Z
links | { "oneNoteClientUrl": { "href": "onenote:https://contoso-my.sharepoint.com/personal/john_contoso_com/Documents/Notitieblokken/My%20OneNote/Test.one#Page%20B& -id=94cacaca-d6b5-428d-b967-d3cf01b95c28&page-id=46a1b220-7ffd-4512-a571-55322097c08d&end" }, "oneNoteWebUrl": { "href": "https://contoso-my.sharepoint.com/personal/john_contoso_com/Documents/Notitieblokken/My%20OneNote?wd=target%28Test.one%7C94cacaca-d6b5-428d-b967-d3cf01b95c28%2FPage%20B%7C46a1b220-7ffd-4512-a571-55322097c08d%2F%29"}}
parentSection | {"id":"1-3eb21088-b613-4698-98df-92a7d34e0678","displayName":"Test","self":"https://graph.microsoft.com/v1.0/users/[email protected]/onenote/sections/1-3eb21088-b613-4698-98df-92a7d34e0678"}
```

</TabItem>
</Tabs>

20 changes: 5 additions & 15 deletions docs/docs/cmd/outlook/message/message-get.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ m365 outlook message get [options]

```md definition-list
`-i, --id <id>`
: ID of the message
: ID of the message.

`--userId [userId]`
: ID of the user from which to retrieve the message. Specify either `userId` or `userPrincipalName`, but not both. This option is required when using application permissions.
Expand All @@ -29,25 +29,25 @@ m365 outlook message get [options]

## Examples

Get a specific message using delegated permissions
Get a specific message using delegated permissions.

```sh
m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA=
```

Get a specific message using delegated permissions from a shared mailbox
Get a specific message using delegated permissions from a shared mailbox.

```sh
m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userPrincipalName [email protected]
```

Get a specific message from a specific user retrieved by user ID using application permissions
Get a specific message from a specific user retrieved by user ID using application permissions.

```sh
m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userId 6799fd1a-723b-4eb7-8e52-41ae530274ca
```

Get a specific message from a specific user retrieved by user principal name using application permissions
Get a specific message from a specific user retrieved by user principal name using application permissions.

```sh
m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userPrincipalName [email protected]
Expand Down Expand Up @@ -173,7 +173,6 @@ m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYm
createdDateTime | 2023-01-26T19:22:44Z
lastModifiedDateTime | 2023-01-26T19:22:46Z
changeKey | CQAAABYAAAAhebtol4HnTZCmNsr9Gnh6AAPk7Plc
categories | []
receivedDateTime | 2023-01-26T19:22:45Z
sentDateTime | 2023-01-26T19:22:42Z
hasAttachments | true
Expand All @@ -190,16 +189,7 @@ m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYm
isDraft | false
webLink | https://outlook.office365.com/owa/?ItemID=AAMkAGUzZWVmZWU4LTM5ZmItNDA4My04OTIzLWY1MGUxNzdiYTQ0MQBGAAAAAABn1FpEFqPeR7YAnkzP%2BVgXBwAhebtol4HnTZCmNsr9Gnh6AAAAAAEMAAAhebtol4HnTZCmNsr9Gnh6AAPfHbtVAAA%3D&exvsurl=1&viewmodel=ReadMessageItem
inferenceClassification | focused
body | {"contentType":"html","content":"<html><head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"><style type=\"text/css\" style=\"display:none\">\r\n<!--\r\np\r\n\t{margin-top:0;\r\n\tmargin-bottom:0}\r\n-->\r\n</style></head><body dir=\"ltr\"><div class=\"elementToProof ContentPasted0\" style=\"font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)\">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis vel diam gravida, auctor mauris nec, posuere tellus. Vivamus placerat, nunc ac cursus feugiat, arcu tellus mattis nisl, id cursus nisl lectus eu lacus. Praesent malesuada ut orci vitae viverra. Suspendisse cursus turpis vel urna volutpat congue. Etiam auctor nec nulla sed suscipit. Vestibulum rhoncus quis mi ac faucibus. Curabitur eget eleifend felis. Vestibulum ut dolor non elit molestie ornare. <br></div></body></html>"}
sender | {"emailAddress":{"name":"John Doe","address":"[email protected]"}}
from | {"emailAddress":{"name":"John Doe","address":"[email protected]"}}
toRecipients | [{"emailAddress":{"name":"Megan Bowen","address":"[email protected]"}}]
ccRecipients | []
bccRecipients | []
replyTo | []
flag | {"flagStatus":"notFlagged"}
```

</TabItem>
</Tabs>

Loading

0 comments on commit e68dc65

Please sign in to comment.