New-AzSupportCommunicationsNoSubscription

Adds a new customer communication to an Azure support ticket.

Syntax

New-AzSupportCommunicationsNoSubscription
   -CommunicationName <String>
   -SupportTicketName <String>
   -Body <String>
   -Subject <String>
   [-Sender <String>]
   [-DefaultProfile <PSObject>]
   [-AsJob]
   [-NoWait]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Adds a new customer communication to an Azure support ticket.

Examples

Example 1: Create a new communication under a no subscription ticket

New-AzSupportCommunicationsNoSubscription -SupportTicketName test1234 -Name testCommunication2 -Subject test -Body test

Body                   : <pre>test</pre>
CommunicationDirection : Inbound
CommunicationType      : Web
CreatedDate            : 3/11/2024 2:21:32 PM
Id                     : /providers/Microsoft.Support/supportTickets/test-7d6ad184-eb1d-40b1-ae43-5b4312b702d4/communications/33445ea3-b
                         2df-ee11-904d-00224835ac0b
Name                   : 33445ea3-b2df-ee11-904d-00224835ac0b
ResourceGroupName      :
Sender                 : bhshah@TestTest06172019GBL.onmicrosoft.com
Subject                : test - TrackingID#2403070040015890
Type                   : Microsoft.Support/communications

Create a new communication under a no subscription ticket

Parameters

-AsJob

Run the command as a job

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Body

Body of the communication.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-CommunicationName

Communication name.

Type:String
Aliases:Name
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-NoWait

Run the command asynchronously

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Sender

Email address of the sender. This property is required if called by a service principal.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Subject

Subject of the communication.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-SupportTicketName

Support ticket name.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

ICommunicationDetails