You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This cmdlet returns information on a specific or all uploaded audio files of a given application type. If you are not specifying any parameters you will get information of all uploaded audio files with ApplicationId = TenantGlobal.
28
+
29
+
## EXAMPLES
30
+
31
+
### Example 1
32
+
```powershell
33
+
Get-CsOnlineAudioFile
34
+
35
+
```
36
+
```Output
37
+
Id : 85364afb59a143fc9466979e0f34f749
38
+
FileName : CustomMoH.mp3
39
+
ApplicationId : TenantGlobal
40
+
MarkedForDeletion : False
41
+
```
42
+
This returns information about all uploaded audio files with ApplicationId = TenantGlobal.
This cmdlet returns information about all uploaded audio files with ApplicationId = OrgAutoAttendant.
69
+
70
+
## PARAMETERS
71
+
72
+
### -ApplicationId
73
+
The ApplicationId parameter specifies the identifier for the application that was specified when audio file was uploaded. For example, if the audio file is used with an auto attendant, then it should specified as "OrgAutoAttendant".
74
+
If the audio file is used with a hunt group (call queue), then it needs to be specified as "HuntGroup". If the audio file is used for music on hold, the it needs to specified as "TenantGlobal".
75
+
76
+
If you are not specifying an ApplicationId it is assumed to be TenantGlobal.
77
+
78
+
Supported values:
79
+
80
+
- OrgAutoAttendant
81
+
- HuntGroup
82
+
- TenantGlobal
83
+
84
+
```yaml
85
+
Type: System.string
86
+
Parameter Sets: (All)
87
+
Aliases:
88
+
89
+
Required: False
90
+
Position: Named
91
+
Default value: TenantGlobal
92
+
Accept pipeline input: False
93
+
Accept wildcard characters: False
94
+
```
95
+
96
+
### -Identity
97
+
The Id of the specific audio file that you would like to see information about. If you are only specifying -Identity, the -ApplicationId it is assumed to be TenantGlobal.
98
+
99
+
If you need to see the information of a specific audio file with ApplicationId of OrgAutoAttendant or HuntGroup, you need to specify -ApplicationId with the corresponding value and -Identity with the Id of the audio file.
100
+
101
+
102
+
```yaml
103
+
Type: System.String
104
+
Parameter Sets: (All)
105
+
Aliases:
106
+
107
+
Required: False
108
+
Default value: None
109
+
Accept pipeline input: False
110
+
Accept wildcard characters: False
111
+
```
112
+
113
+
114
+
## INPUTS
115
+
116
+
### None
117
+
118
+
## OUTPUTS
119
+
120
+
### System.Object
121
+
122
+
## NOTES
123
+
The cmdlet is available in Teams PS module 2.4.0-preview or later.
124
+
125
+
If you call the cmdlet without having uploaded any audio files, with a non-existing Identity or with an illegal ApplicationId, you will receive a generic error message. In addition, the ApplicationId is case sensitive.
The Import-CsOnlineAudioFile cmdlet uploads a new audio file for use with the Auto Attendant (AA) or Call Queue (CQ) service.
25
+
The Import-CsOnlineAudioFile cmdlet uploads a new audio file for use with the Auto Attendant (AA), Call Queue (CQ) service or Music on Hold for Microsoft Teams.
26
+
27
+
Please note that you can't export the audio file after import, you can only remove it.
This example creates a new audio file using the WAV content that has a filename of MOH.wav to be used as a Music On Hold file with a Call Queue. The stored variable, $audioFile, will be used with [Set-CsCallQueue] (https://docs.microsoft.com/powershell/module/skype/set-cscallqueue) to provide the audio file id.
44
46
47
+
### -------------------------- Example 3 --------------------------
This example creates a new audio file using the WAV content that has a filename of MOH.wav to be used as Music On Hold for Microsoft Teams. The stored variable, $audioFile, will be used with [New-CsTeamsCallHoldPolicy] (https://docs.microsoft.com/powershell/module/skype/new-csteamscallholdpolicy) to provide the audio file id.
54
+
45
55
46
56
## PARAMETERS
47
57
48
58
### -ApplicationId
49
-
The ApplicationId parameter is the identifier for the application which will use this audio file. For example, if the audio file will be used with an organizational auto attendant, then it needs to be set to "OrgAutoAttendant". If the audio file will be used with a hunt group (call queue), then it needs to be set to "HuntGroup".
59
+
The ApplicationId parameter is the identifier for the application which will use this audio file. For example, if the audio file will be used with an organizational auto attendant, then it needs to be set to "OrgAutoAttendant". If the audio file will be used with a hunt group (call queue), then it needs to be set to "HuntGroup". If the audio file will be used with Microsoft Teams, then it needs to be set to "TenantGlobal"
50
60
51
61
Supported values:
52
62
53
63
- OrgAutoAttendant
54
64
- HuntGroup
65
+
- TenantGlobal
55
66
56
67
```yaml
57
68
Type: System.string
58
69
Parameter Sets: (All)
59
70
Aliases:
60
-
Applicable: Skype for Business Online
71
+
Applicable: Microsoft Teams
61
72
62
73
Required: True
63
74
Position: Named
@@ -73,7 +84,7 @@ The FileName parameter is the name of the audio file. For example, the file name
73
84
Type: System.string
74
85
Parameter Sets: (All)
75
86
Aliases:
76
-
Applicable: Skype for Business Online
87
+
Applicable: Microsoft Teams
77
88
78
89
Required: True
79
90
Position: Named
@@ -89,7 +100,7 @@ The Content parameter represents the content of the audio file. Supported format
89
100
Type: System.Byte[]
90
101
Parameter Sets: (All)
91
102
Aliases:
92
-
Applicable: Skype for Business Online
103
+
Applicable: Microsoft Teams
93
104
94
105
Required: True
95
106
Position: Named
@@ -110,5 +121,8 @@ This cmdlet supports the common parameters: `-Debug, -ErrorAction, -ErrorVariabl
You are responsible for independently clearing and securing all necessary rights and permissions to use any music or audio file with your Microsoft Teams service, which may include intellectual property and other rights in any music, sound effects, audio, brands, names, and other content in the audio file from all relevant rights holders, which may include artists, actors, performers, musicians, songwriters, composers, record labels, music publishers, unions, guilds, rights societies, collective management organizations and any other parties who own, control or license the music copyrights, sound effects, audio and other intellectual property rights.
This cmdlet marks the audio file with Id dcfcc31daa9246f29d94d0a715ef877e for deletion and later removal.
38
+
39
+
## PARAMETERS
40
+
41
+
### -Identity
42
+
The Id of the specific audio file that you would like to mark for deletion.
43
+
44
+
```yaml
45
+
Type: System.String
46
+
Parameter Sets: (All)
47
+
Aliases:
48
+
49
+
Required: True
50
+
Default value: None
51
+
Accept pipeline input: False
52
+
Accept wildcard characters: False
53
+
```
54
+
55
+
56
+
## INPUTS
57
+
58
+
### None
59
+
60
+
## OUTPUTS
61
+
62
+
### System.Object
63
+
64
+
## NOTES
65
+
Please note that using this cmdlet on other application types like OrgAutoAttendant and HuntGroup does not mark the audio file for deletion. These kinds of audio files will automatically be deleted, when
66
+
67
+
the corresponding Auto Attendant or Call Queue is deleted.
68
+
69
+
The cmdlet is available in Teams PS module 2.4.0-preview or later.
0 commit comments