Skip to content

Commit 6bcf34e

Browse files
added examples for operations, support ticket, communication and chat transcript cmdlets
1 parent 79208ba commit 6bcf34e

7 files changed

+392
-84
lines changed
Lines changed: 49 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,62 @@
1-
### Example 1: {{ Add title here }}
1+
### Example 1: Get List of chat transcripts at subscription level
22
```powershell
3-
{{ Add code here }}
3+
Get-AzSupportChatTranscript -SupportTicketName "58cf91d7-bedfb285-617ecf73-d627-4bfd-9298-5950da2170b7"
44
```
55

66
```output
7-
{{ Add output here (remove the output block if the example doesn't have an output) }}
7+
Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModi
8+
fiedAt
9+
---- ------------------- ------------------- ----------------------- ------------------
10+
595df7b4-167f-4f3e-8292-f0ba2b8a53f9
11+
f8b45cd6-a8ec-40e2-b846-a28b848553cf
812
```
913

10-
{{ Add description here }}
14+
Lists all chat transcripts for a support ticket under subscription
1115

12-
### Example 2: {{ Add title here }}
16+
### Example 2: Get single chat transcript at subscription level
1317
```powershell
14-
{{ Add code here }}
18+
Get-AzSupportChatTranscript -SupportTicketName "58cf91d7-bedfb285-617ecf73-d627-4bfd-9298-5950da2170b7" -Name "595df7b4-167f-4f3e-8292-f0ba2b8a53f9"
1519
```
1620

1721
```output
18-
{{ Add output here (remove the output block if the example doesn't have an output) }}
22+
Id : /subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/supportT
23+
ickets/58cf91d7-bedfb285-617ecf73-d627-4bfd-9298-5950da2170b7/chatTranscripts/595df7b4-1
24+
67f-4f3e-8292-f0ba2b8a53f9
25+
Message : {{
26+
"contentType": "text",
27+
"communicationDirection": "Inbound",
28+
"sender": "",
29+
"body": "Hey",
30+
"createdDate": "2023-08-11T19:19:33.0000000Z"
31+
}, {
32+
"contentType": "text",
33+
"communicationDirection": "Outbound",
34+
"sender": "Aditi Takle",
35+
"body": "hi",
36+
"createdDate": "2023-08-11T19:19:38.0000000Z"
37+
}, {
38+
"contentType": "text",
39+
"communicationDirection": "Outbound",
40+
"sender": "Damian Spoltore",
41+
"body": "hi Aditi, I\u0027m Damian",
42+
"createdDate": "2023-08-11T19:24:19.0000000Z"
43+
}, {
44+
"contentType": "text",
45+
"communicationDirection": "Outbound",
46+
"sender": "Damian Spoltore",
47+
"body": "I was entering to test",
48+
"createdDate": "2023-08-11T19:24:24.0000000Z"
49+
}}
50+
Name : 595df7b4-167f-4f3e-8292-f0ba2b8a53f9
51+
ResourceGroupName :
52+
StartTime : 8/11/2023 7:27:49 PM
53+
SystemDataCreatedAt :
54+
SystemDataCreatedBy :
55+
SystemDataCreatedByType :
56+
SystemDataLastModifiedAt :
57+
SystemDataLastModifiedBy :
58+
SystemDataLastModifiedByType :
59+
Type : Microsoft.Support/chatTranscripts
1960
```
2061

21-
{{ Add description here }}
22-
62+
Returns chatTranscript details for a support ticket under a subscription.
Lines changed: 146 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,159 @@
1-
### Example 1: {{ Add title here }}
1+
### Example 1: Get list of communications for a support ticket at subscription level
22
```powershell
3-
{{ Add code here }}
3+
Get-AzSupportCommunication -SupportTicketName "3366336e-bc3faf4f-3970e063-e033-441f-8a49-1e6e1b55f05d"
44
```
55

66
```output
7-
{{ Add output here (remove the output block if the example doesn't have an output) }}
7+
Name ResourceGroupName
8+
---- -----------------
9+
9079281d-0fcc-ee11-9079-6045bdef78de
10+
test123
11+
9ffd523a-5acb-ee11-9079-6045bdef7a0a
12+
590629b9-44cb-ee11-9079-6045bdef700d
13+
8a03e5d5-8eca-ee11-9079-6045bdeb5f9a
14+
14696079-8eca-ee11-9079-6045bdeb5f9a
15+
e0d2b429-7bca-ee11-907a-0022482a4908
816
```
917

10-
{{ Add description here }}
18+
Lists all communications (attachments not included) for a support ticket.
1119

12-
### Example 2: {{ Add title here }}
20+
### Example 2: Get communication for a support ticket at subscription level
1321
```powershell
14-
{{ Add code here }}
22+
Get-AzSupportCommunication -SupportTicketName "3366336e-bc3faf4f-3970e063-e033-441f-8a49-1e6e1b55f05d" -Name "590629b9-44cb-ee11-9079-6045bdef700d"
1523
```
1624

1725
```output
18-
{{ Add output here (remove the output block if the example doesn't have an output) }}
26+
Body : <html><head>
27+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="Generator"
28+
content="Microsoft Word 15 (filtered medium)"><style>
29+
<!--
30+
@font-face
31+
{font-family:"Cambria Math"}
32+
@font-face
33+
{font-family:Calibri}
34+
@font-face
35+
{font-family:Aptos}
36+
@font-face
37+
{font-family:"Segoe UI"}
38+
p.MsoNormal, li.MsoNormal, div.MsoNormal
39+
{margin:0in;
40+
font-size:12.0pt;
41+
font-family:"Aptos",sans-serif}
42+
a:link, span.MsoHyperlink
43+
{color:blue;
44+
text-decoration:underline}
45+
span.EmailStyle19
46+
{font-family:"Aptos",sans-serif;
47+
color:windowtext}
48+
.MsoChpDefault
49+
{font-size:11.0pt}
50+
@page WordSection1
51+
{margin:1.0in 1.0in 1.0in 1.0in}
52+
div.WordSection1
53+
{}
54+
-->
55+
</style></head><body lang="EN-US" link="blue" vlink="purple"
56+
style="word-wrap:break-word"><div class="WordSection1"><p class="MsoNormal"><span
57+
style="font-size:11.0pt">You can close these cases, thanks.</span></p><p
58+
class="MsoNormal"><span style="font-size:11.0pt">&nbsp;</span></p><p
59+
class="MsoNormal"><b><span style="font-size:10.0pt; font-family:&quot;Segoe
60+
UI&quot;,sans-serif; color:#505050">Jonathan Najjar <br></span></b><span
61+
style="font-size:10.0pt; font-family:&quot;Segoe UI&quot;,sans-serif; color:#505050">Software
62+
Engineer <br>Azure CXP <br><a href="mailto:[email protected]"><span
63+
style="color:#467886">[email protected]</span></a> <br></span><br><img border="0"
64+
width="115" height="28" id="Picture_x0020_1" src="cid:[email protected]"
65+
data-attachment-id="4ccf9f08-e323-48e6-87a7-8d5d77f7a1fd" alt="Microsoft Logo"
66+
style="width:1.1979in; height:.2916in"></p><p class="MsoNormal"><span
67+
style="font-size:11.0pt">&nbsp;</span></p><div style="border:none; border-top:solid #E1E1E1
68+
1.0pt; padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:11.0pt;
69+
font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;
70+
font-family:&quot;Calibri&quot;,sans-serif"> Melissa B
71+
&lt;[email protected]&gt; <br><b>Sent:</b> Tuesday, February 13, 2024 11:43
72+
AM<br><b>To:</b> Jonathan Najjar &lt;[email protected]&gt;; Microsoft Support
73+
&lt;[email protected]&gt;<br><b>Cc:</b> Melissa Bermudez (Tek Experts)
74+
&lt;[email protected]&gt;<br><b>Subject:</b> RE: test -
75+
TrackingID#2402130040005151</span></p></div><p
76+
class="MsoNormal">&nbsp;</p><div><div><div><div><div><div><p class="MsoNormal"><span
77+
style="font-size:11.0pt; font-family:&quot;Calibri&quot;,sans-serif">Hi
78+
Jonathan,</span></p></div><div><p class="MsoNormal"><span style="font-size:11.0pt;
79+
font-family:&quot;Calibri&quot;,sans-serif">&nbsp;</span></p></div><div><p
80+
class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,sans-serif;
81+
color:black">Hope you are having a great day!<br>&nbsp;<br>Thank you for contacting Microsoft
82+
support. My name is Melissa and I will be the Support Engineer working on your ticket
83+
2402130040005151. &nbsp;All my contact information along with my manager can be found in my
84+
signature at the end of this mail. Please do not hesitate to contact me at any point with
85+
questions regarding this ticket.<br>&nbsp;<br>Below are the details including the initial
86+
scope agreement for your issue:<br>As I understand, we are running a test. It is what we will
87+
focus our investigation on and what we will use to determine if we have resolved your issue.
88+
Let me know if there is anything missing or inaccurate.<br>&nbsp;<br>We will consider this
89+
issue resolved when one of the following conditions are met:<br>1. &nbsp; &nbsp; &nbsp;
90+
&nbsp; &nbsp; &nbsp;When we are able to solve our issue.<br>2. &nbsp; &nbsp; &nbsp; &nbsp;
91+
&nbsp; &nbsp;A workaround has been provided that will allow you to solve your business
92+
need.<br>3. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;It has been clearly identified and/or
93+
shown to you that what you are attempting to do cannot be supported by us.<br>4. &nbsp;
94+
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;The issue that you are experiencing is by
95+
design.<br>&nbsp;<br>Microsoft works on 'one issue per incident' basis. As per Microsoft an
96+
incident is defined as an issue that cannot be broken down any further. In case you have any
97+
other issue after this, you would have to create a separate incident for it.</span><span
98+
style="font-size:11.0pt; font-family:&quot;Calibri&quot;,sans-serif"><br></span>&nbsp;<span
99+
style="font-size:11.0pt; font-family:&quot;Calibri&quot;,sans-serif"></span></p></div><div><p
100+
class="MsoNormal"><u><span style="font-size:11.0pt;
101+
font-family:&quot;Calibri&quot;,sans-serif">Findings and Next Actions</span></u><span
102+
style="font-size:11.0pt;
103+
font-family:&quot;Calibri&quot;,sans-serif">:</span></p></div><div><p class="MsoNormal"><span
104+
style="font-size:11.0pt; font-family:&quot;Calibri&quot;,sans-serif"><br><span
105+
style="color:black">Jonathan, we could see that there is another ticket created with the same
106+
Subscription ID you provided, can you help us to confirm if our case is a duplicate of the
107+
next tickets: &quot;2402120040012618&quot; and
108+
&quot;2402120040012009&quot;?&nbsp;</span></span></p></div><div><p class="MsoNormal"><span
109+
style="font-size:11.0pt;
110+
font-family:&quot;Calibri&quot;,sans-serif">&nbsp;</span></p></div><div><p
111+
class="MsoNormal"><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,sans-serif;
112+
color:black">I still received confirmation, these cases that I told you are duplicates, but
113+
could you confirm that this new case is also duplicate and if I can help you to close all 3,
114+
or is it necessary to keep any of the cases open?</span><span style="font-size:11.0pt;
115+
font-family:&quot;Calibri&quot;,sans-serif"><br><br><span style="color:black">In the
116+
meantime, remember that if you need something else or have an additional question, you can
117+
feel free to let me know, and I will be more than happy to assist you.<br>&nbsp;<br>Looking
118+
forward to hearing back from you. Have a wonderful day!<br>&nbsp;<br>My best
119+
regards,</span></span></p></div></div><div><div id="oldsignature"><div><div><p
120+
class="MsoNormal"><strong><span style="font-size:11.0pt;
121+
font-family:&quot;Calibri&quot;,sans-serif; color:#4472C4">Melissa
122+
Bermudez</span></strong><span style="font-size:11.0pt;
123+
font-family:&quot;Calibri&quot;,sans-serif"><br><span style="color:#7F7F7F">Support
124+
Engineer</span><br><span style="color:#7F7F7F">Azure / Backup and Recovery
125+
Services</span></span><span style="font-size:9.0pt; font-family:&quot;Segoe
126+
UI&quot;,sans-serif"><br></span><span style="font-size:11.0pt;
127+
font-family:&quot;Calibri&quot;,sans-serif; color:#7F7F7F">Email: </span><span
128+
style="font-size:11.0pt; font-family:&quot;Calibri&quot;,sans-serif; color:black"><a
129+
href="mailto:[email protected]">[email protected]</a></span><span
130+
style="font-size:11.0pt; font-family:&quot;Calibri&quot;,sans-serif"><br><span
131+
style="color:#7F7F7F">Working Hours: M to F - 7:00 AM to 4:00 PM CST </span></span><span
132+
style="font-size:9.0pt; font-family:&quot;Segoe UI&quot;,sans-serif"><br></span><span
133+
style="font-size:11.0pt; font-family:&quot;Calibri&quot;,sans-serif; color:#7F7F7F">Manager:
134+
Allan Delgado /&nbsp;</span><span style="font-size:11.0pt;
135+
font-family:&quot;Calibri&quot;,sans-serif"><a
136+
href="mailto:[email protected]">[email protected]</a></span><span
137+
style="font-size:9.0pt; font-family:&quot;Segoe
138+
UI&quot;,sans-serif"><br><br></span><strong><span lang="ES-CR" style="font-size:11.0pt;
139+
font-family:&quot;Calibri&quot;,sans-serif; color:#767171">Can’t reach
140+
me?</span></strong><span style="font-size:11.0pt; font-family:&quot;Calibri&quot;,sans-serif;
141+
color:#767171">&nbsp;Contact ABRS Help / </span><span style="font-size:11.0pt;
142+
font-family:&quot;Calibri&quot;,sans-serif; color:black"><a
143+
href="mailto:[email protected]">[email protected]</a></span><span
144+
style="font-size:9.0pt; font-family:&quot;Segoe UI&quot;,sans-serif"></span></p></div></div></
145+
div></div></div></div></div></div></div></body></html>
146+
CommunicationDirection : Outbound
147+
CommunicationType : Web
148+
CreatedDate : 2/14/2024 2:24:16 PM
149+
Id : /subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Support/supportTickets
150+
/3366336e-bc3faf4f-3970e063-e033-441f-8a49-1e6e1b55f05d/communications/590629b9-44cb-ee11-9079
151+
-6045bdef700d
152+
Name : 590629b9-44cb-ee11-9079-6045bdef700d
153+
ResourceGroupName :
154+
155+
Subject : RE: test - TrackingID#2402130040005151
156+
Type : Microsoft.Support/communications
19157
```
20158

21-
{{ Add description here }}
22-
159+
Returns communication details for a support ticket.
Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
11
### Example 1: {{ Add title here }}
22
```powershell
3-
{{ Add code here }}
3+
Get-AzSupportOperation
44
```
55

66
```output
7-
{{ Add output here (remove the output block if the example doesn't have an output) }}
7+
Name
8+
----
9+
Microsoft.Support/register/action
10+
Microsoft.Support/lookUpResourceId/action
11+
Microsoft.Support/checkNameAvailability/action
12+
Microsoft.Support/services/read
13+
Microsoft.Support/services/problemClassifications/read
14+
Microsoft.Support/supportTickets/read
15+
Microsoft.Support/supportTickets/write
16+
Microsoft.Support/operationresults/read
17+
Microsoft.Support/operationsstatus/read
18+
Microsoft.Support/operations/read
819
```
920

10-
{{ Add description here }}
11-
12-
### Example 2: {{ Add title here }}
13-
```powershell
14-
{{ Add code here }}
15-
```
16-
17-
```output
18-
{{ Add output here (remove the output block if the example doesn't have an output) }}
19-
```
20-
21-
{{ Add description here }}
22-
21+
Lists all the available Microsoft Support REST API operations.

0 commit comments

Comments
 (0)