Share via

Is it possible to have multiple call queue with the same audioFileId ?

Chartier-Boivin, Isaac 0 Reputation points
2026-06-12T20:05:49.63+00:00

Is it possible to have multiple call queue with the same audioFileId ? Cause everytime I try, I get this message : Model validation failed. Please give correct parameter value.

and this response from the api :

{"code":"100001","message":"Model validation failed. Please give correct parameter value.","action":"Please input correct

              parameter values.","errorDetails":[{"ErrorCode":"AudioFileContext_OwnershipNotClaimable","Message":"Ownership of the audio 

              file (f981b94032f5433daa6bfd83e58a7801) cannot be 

              claimed.","Target":null,"TargetEntityId":"f981b94032f5433daa6bfd83e58a7801"}]}
Microsoft Teams | Microsoft Teams for business | Meetings and calls | Other
0 comments No comments

2 answers

Sort by: Most helpful
  1. Burak VAROL 536 Reputation points
    2026-06-12T20:24:02.74+00:00

    Hi @Chartier-Boivin, Isaac ,

    You can technically use the same audioFileId across multiple call queues. However, the error you're seeing is related to resource ownership, not duplication. The key part of the error is:

    AudioFileContext_OwnershipNotClaimable
    Ownership of the audio file (...) cannot be claimed
    

    This indicates that the audio file is already bound to a specific resource context and cannot be reused in a way that requires ownership reassignment (for example, when creating another queue via API or PowerShell).

    Re-upload the audio file to generate a new audioFileId for each call queue, or ensure the same execution context/permissions are used when assigning it. You can upload a new audio file and then assign it to your call queue using Teams PowerShell:
    https://learn.microsoft.com/en-us/powershell/module/microsoftteams/import-csonlineaudiofile?view=teams-ps
    https://learn.microsoft.com/en-us/powershell/module/microsoftteams/new-cscallqueue?view=teams-ps
    https://learn.microsoft.com/en-us/powershell/module/microsoftteams/set-cscallqueue?view=teams-ps

    You can also review this Microsoft Q&A discussion confirming the same behavior: https://learn.microsoft.com/en-us/answers/questions/5918847/how-to-set-an-audiofile-to-a-call-queue-correctly

    Regards,
    Burak V.

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-06-12T20:06:02.4133333+00:00

    Multiple call queues can reference audio files, but each audio file must be owned in the correct context for the queue being created or updated. The error

    AudioFileContext_OwnershipNotClaimable with the given audioFileId indicates that the ownership of that specific audio file cannot be claimed for the call queue being configured. In practice, this means that particular audio file cannot be reused in the way attempted (for example, because it is tied to a different context/tenant or was not uploaded/associated via the supported mechanism for that queue).

    To use the same audio content across multiple call queues, upload or associate the audio file appropriately for each queue (for example, via the Teams admin experience or via the MicrosoftTeams PowerShell cmdlets such as New-CsCallQueue or Set-CsCallQueue using the relevant *AudioFileId parameters like -WelcomeMusicAudioFileId or -MusicOnHoldAudioFileId). Each queue then references an audio file GUID that is valid and claimable in its own context.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.