Skip to content

Commit cdffb9d

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
Microsoft Graph DevX Tooling
authored and
Microsoft Graph DevX Tooling
committed
Updating examples
1 parent 293a194 commit cdffb9d

File tree

60 files changed

+596
-544
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+596
-544
lines changed

src/Applications/v1.0/examples/New-MgApplicationExtensionProperty.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ $params = @{
99
dataType = "String"
1010
isMultiValued = $true
1111
targetObjects = @(
12-
"User"
13-
)
12+
"User"
13+
)
1414
}
1515
1616
New-MgApplicationExtensionProperty -ApplicationId $applicationId -BodyParameter $params

src/Applications/v1.0/examples/New-MgApplicationFederatedIdentityCredential.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ $params = @{
99
issuer = "https://login.microsoftonline.com/3d1e2be9-a10a-4a0c-8380-7ce190f98ed9/v2.0"
1010
subject = "a7d388c3-5e3f-4959-ac7d-786b3383006a"
1111
audiences = @(
12-
"api://AzureADTokenExchange"
13-
)
12+
"api://AzureADTokenExchange"
13+
)
1414
}
1515
1616
New-MgApplicationFederatedIdentityCredential -ApplicationId $applicationId -BodyParameter $params

src/Bookings/beta/examples/Get-MgBetaBookingBusinessStaffAvailability.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ Import-Module Microsoft.Graph.Beta.Bookings
66
77
$params = @{
88
staffIds = @(
9-
"311a5454-08b2-4560-ba1c-f715e938cb79"
10-
)
11-
startDateTime = @{
12-
dateTime = "2022-01-25T00:00:00"
13-
timeZone = "India Standard Time"
14-
}
15-
endDateTime = @{
16-
dateTime = "2022-01-26T17:00:00"
17-
timeZone = "Pacific Standard Time"
18-
}
9+
"311a5454-08b2-4560-ba1c-f715e938cb79"
10+
)
11+
startDateTime = @{
12+
dateTime = "2022-01-25T00:00:00"
13+
timeZone = "India Standard Time"
14+
}
15+
endDateTime = @{
16+
dateTime = "2022-01-26T17:00:00"
17+
timeZone = "Pacific Standard Time"
18+
}
1919
}
2020
2121
Get-MgBetaBookingBusinessStaffAvailability -BookingBusinessId $bookingBusinessId -BodyParameter $params

src/Bookings/v1.0/examples/Get-MgBookingBusinessStaffAvailability.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ Import-Module Microsoft.Graph.Bookings
66
77
$params = @{
88
staffIds = @(
9-
"311a5454-08b2-4560-ba1c-f715e938cb79"
10-
)
11-
startDateTime = @{
12-
dateTime = "2022-01-25T00:00:00"
13-
timeZone = "India Standard Time"
14-
}
15-
endDateTime = @{
16-
dateTime = "2022-01-26T17:00:00"
17-
timeZone = "Pacific Standard Time"
18-
}
9+
"311a5454-08b2-4560-ba1c-f715e938cb79"
10+
)
11+
startDateTime = @{
12+
dateTime = "2022-01-25T00:00:00"
13+
timeZone = "India Standard Time"
14+
}
15+
endDateTime = @{
16+
dateTime = "2022-01-26T17:00:00"
17+
timeZone = "Pacific Standard Time"
18+
}
1919
}
2020
2121
Get-MgBookingBusinessStaffAvailability -BookingBusinessId $bookingBusinessId -BodyParameter $params

src/Bookings/v1.0/examples/New-MgBookingBusinessCustomer.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,34 @@ $params = @{
99
displayName = "Joni Sherman"
1010
emailAddress = "jonis@relecloud.com"
1111
addresses = @(
12+
@{
13+
postOfficeBox = ""
14+
street = "4567 Main Street"
15+
city = "Buffalo"
16+
state = "NY"
17+
countryOrRegion = "USA"
18+
postalCode = "98052"
19+
type = "home"
20+
}
21+
@{
22+
postOfficeBox = ""
23+
street = "4570 Main Street"
24+
city = "Buffalo"
25+
state = "NY"
26+
countryOrRegion = "USA"
27+
postalCode = "98054"
28+
type = "business"
29+
}
1230
)
1331
phones = @(
32+
@{
33+
number = "206-555-0100"
34+
type = "home"
35+
}
36+
@{
37+
number = "206-555-0200"
38+
type = "business"
39+
}
1440
)
1541
}
1642

src/CloudCommunications/v1.0/examples/Get-MgCommunicationPresenceByUserId.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Import-Module Microsoft.Graph.CloudCommunications
66
77
$params = @{
88
ids = @(
9-
"fa8bf3dc-eca7-46b7-bad1-db199b62afc3"
10-
"66825e03-7ef5-42da-9069-724602c31f6b"
11-
)
9+
"fa8bf3dc-eca7-46b7-bad1-db199b62afc3"
10+
"66825e03-7ef5-42da-9069-724602c31f6b"
11+
)
1212
}
1313
1414
Get-MgCommunicationPresenceByUserId -BodyParameter $params

src/CloudCommunications/v1.0/examples/Invoke-MgRecordCommunicationCallResponse.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,21 @@ $params = @{
1010
prompts = @(
1111
@{
1212
"@odata.type" = "#microsoft.graph.mediaPrompt"
13+
mediaInfo = @{
14+
uri = "https://cdn.contoso.com/beep.wav"
15+
resourceId = "1D6DE2D4-CD51-4309-8DAA-70768651088E"
16+
}
1317
}
1418
)
1519
maxRecordDurationInSeconds = 10
1620
initialSilenceTimeoutInSeconds = 5
1721
maxSilenceTimeoutInSeconds = 2
1822
playBeep = $true
1923
stopTones = @(
20-
"#"
21-
"1"
22-
"*"
23-
)
24+
"#"
25+
"1"
26+
"*"
27+
)
2428
}
2529
2630
Invoke-MgRecordCommunicationCallResponse -CallId $callId -BodyParameter $params

src/CloudCommunications/v1.0/examples/New-MgCommunicationCallAudioRoutingGroup.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ $params = @{
88
id = "oneToOne"
99
routingMode = "oneToOne"
1010
sources = @(
11-
"632899f8-2ea1-4604-8413-27bd2892079f"
12-
)
13-
receivers = @(
14-
"550fae72-d251-43ec-868c-373732c2704f"
15-
)
11+
"632899f8-2ea1-4604-8413-27bd2892079f"
12+
)
13+
receivers = @(
14+
"550fae72-d251-43ec-868c-373732c2704f"
15+
)
1616
}
1717
1818
New-MgCommunicationCallAudioRoutingGroup -CallId $callId -BodyParameter $params

src/CloudCommunications/v1.0/examples/Update-MgCommunicationCallAudioRoutingGroup.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ $params = @{
88
id = "oneToOne"
99
routingMode = "oneToOne"
1010
sources = @(
11-
"632899f8-2ea1-4604-8413-27bd2892079f"
12-
)
13-
receivers = @(
14-
"550fae72-d251-43ec-868c-373732c2704f"
15-
"72f988bf-86f1-41af-91ab-2d7cd011db47"
16-
)
11+
"632899f8-2ea1-4604-8413-27bd2892079f"
12+
)
13+
receivers = @(
14+
"550fae72-d251-43ec-868c-373732c2704f"
15+
"72f988bf-86f1-41af-91ab-2d7cd011db47"
16+
)
1717
}
1818
1919
Update-MgCommunicationCallAudioRoutingGroup -CallId $callId -AudioRoutingGroupId $audioRoutingGroupId -BodyParameter $params

src/DeviceManagement.Actions/v1.0/examples/Get-MgDeviceManagementReportCachedReport.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ Import-Module Microsoft.Graph.DeviceManagement.Actions
77
$params = @{
88
id = "Id value"
99
select = @(
10-
"Select value"
11-
)
12-
search = "Search value"
13-
groupBy = @(
14-
"Group By value"
15-
)
16-
orderBy = @(
17-
"Order By value"
18-
)
19-
skip = 4
20-
top = 3
10+
"Select value"
11+
)
12+
search = "Search value"
13+
groupBy = @(
14+
"Group By value"
15+
)
16+
orderBy = @(
17+
"Order By value"
18+
)
19+
skip = 4
20+
top = 3
2121
}
2222
2323
Get-MgDeviceManagementReportCachedReport -BodyParameter $params

src/DeviceManagement.Actions/v1.0/examples/Get-MgDeviceManagementReportCompliancePolicyNonComplianceReport.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ Import-Module Microsoft.Graph.DeviceManagement.Actions
77
$params = @{
88
name = "Name value"
99
select = @(
10-
"Select value"
11-
)
12-
search = "Search value"
13-
groupBy = @(
14-
"Group By value"
15-
)
16-
orderBy = @(
17-
"Order By value"
18-
)
19-
skip = 4
20-
top = 3
21-
sessionId = "Session Id value"
22-
filter = "Filter value"
10+
"Select value"
11+
)
12+
search = "Search value"
13+
groupBy = @(
14+
"Group By value"
15+
)
16+
orderBy = @(
17+
"Order By value"
18+
)
19+
skip = 4
20+
top = 3
21+
sessionId = "Session Id value"
22+
filter = "Filter value"
2323
}
2424
2525
Get-MgDeviceManagementReportCompliancePolicyNonComplianceReport -BodyParameter $params

src/DeviceManagement.Actions/v1.0/examples/Get-MgDeviceManagementReportCompliancePolicyNonComplianceSummaryReport.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ Import-Module Microsoft.Graph.DeviceManagement.Actions
77
$params = @{
88
name = "Name value"
99
select = @(
10-
"Select value"
11-
)
12-
search = "Search value"
13-
groupBy = @(
14-
"Group By value"
15-
)
16-
orderBy = @(
17-
"Order By value"
18-
)
19-
skip = 4
20-
top = 3
21-
sessionId = "Session Id value"
22-
filter = "Filter value"
10+
"Select value"
11+
)
12+
search = "Search value"
13+
groupBy = @(
14+
"Group By value"
15+
)
16+
orderBy = @(
17+
"Order By value"
18+
)
19+
skip = 4
20+
top = 3
21+
sessionId = "Session Id value"
22+
filter = "Filter value"
2323
}
2424
2525
Get-MgDeviceManagementReportCompliancePolicyNonComplianceSummaryReport -BodyParameter $params

src/DeviceManagement.Actions/v1.0/examples/Get-MgDeviceManagementReportComplianceSettingNonComplianceReport.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ Import-Module Microsoft.Graph.DeviceManagement.Actions
77
$params = @{
88
name = "Name value"
99
select = @(
10-
"Select value"
11-
)
12-
search = "Search value"
13-
groupBy = @(
14-
"Group By value"
15-
)
16-
orderBy = @(
17-
"Order By value"
18-
)
19-
skip = 4
20-
top = 3
21-
sessionId = "Session Id value"
22-
filter = "Filter value"
10+
"Select value"
11+
)
12+
search = "Search value"
13+
groupBy = @(
14+
"Group By value"
15+
)
16+
orderBy = @(
17+
"Order By value"
18+
)
19+
skip = 4
20+
top = 3
21+
sessionId = "Session Id value"
22+
filter = "Filter value"
2323
}
2424
2525
Get-MgDeviceManagementReportComplianceSettingNonComplianceReport -BodyParameter $params

src/DeviceManagement.Actions/v1.0/examples/Get-MgDeviceManagementReportConfigurationPolicyNonComplianceReport.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ Import-Module Microsoft.Graph.DeviceManagement.Actions
77
$params = @{
88
name = "Name value"
99
select = @(
10-
"Select value"
11-
)
12-
search = "Search value"
13-
groupBy = @(
14-
"Group By value"
15-
)
16-
orderBy = @(
17-
"Order By value"
18-
)
19-
skip = 4
20-
top = 3
21-
sessionId = "Session Id value"
22-
filter = "Filter value"
10+
"Select value"
11+
)
12+
search = "Search value"
13+
groupBy = @(
14+
"Group By value"
15+
)
16+
orderBy = @(
17+
"Order By value"
18+
)
19+
skip = 4
20+
top = 3
21+
sessionId = "Session Id value"
22+
filter = "Filter value"
2323
}
2424
2525
Get-MgDeviceManagementReportConfigurationPolicyNonComplianceReport -BodyParameter $params

src/DeviceManagement.Actions/v1.0/examples/Get-MgDeviceManagementReportConfigurationPolicyNonComplianceSummaryReport.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ Import-Module Microsoft.Graph.DeviceManagement.Actions
77
$params = @{
88
name = "Name value"
99
select = @(
10-
"Select value"
11-
)
12-
search = "Search value"
13-
groupBy = @(
14-
"Group By value"
15-
)
16-
orderBy = @(
17-
"Order By value"
18-
)
19-
skip = 4
20-
top = 3
21-
sessionId = "Session Id value"
22-
filter = "Filter value"
10+
"Select value"
11+
)
12+
search = "Search value"
13+
groupBy = @(
14+
"Group By value"
15+
)
16+
orderBy = @(
17+
"Order By value"
18+
)
19+
skip = 4
20+
top = 3
21+
sessionId = "Session Id value"
22+
filter = "Filter value"
2323
}
2424
2525
Get-MgDeviceManagementReportConfigurationPolicyNonComplianceSummaryReport -BodyParameter $params

0 commit comments

Comments
 (0)