Report to see Teams resource account's current application instance assignment

DAVIS THOMAS 1 Reputation point
2021-09-26T22:58:53.917+00:00

Folks,

I am looking forward to seeing a PowerShell command to list out all my resource account and it's the current assigned status (name of call queue or auto-attendant account)

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,059 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,362 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Sharon Zhao-MSFT 25,051 Reputation points Microsoft Vendor
    2021-09-27T05:37:11.92+00:00

    @DAVIS THOMAS ,

    It has no cmdlets to get these datum directly.

    I searched three commands which is helpful to get such information:

    • Get-CsOnlineApplicationInstance is used to get details of application instance, including resource accounts.
    • Get-CsAutoAttendant is used to get information about your Auto Attendants. It contains ApplicationInstances parameter which match up with ObjectId in Get-CsOnlineApplicationInstance
    • Get-CsCallQueue is used to get the identified Call Queues. It contains ApplicationInstances parameter which match up with ObjectId in Get-CsOnlineApplicationInstance

    The following image shows an example for reference:
    135433-image.png


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Limitless Technology 39,351 Reputation points
    2021-09-27T10:39:30.587+00:00

    Hello @DAVIS THOMAS ,

    The Get-AzResource cmdlet gets you Azure resources. it helps you to Get all resources in the current subscription, Get all resources in a resource group, Get all resources whose resource group matches the provided wildcard, Get all resources with a given name, Get all resources whose name matches the provided wildcard, Get all resources of a given resource type, Get a resource by resource id.

    you can also try Get-CsOnlineApplicationInstance, Get-CsAutoAttendant, Get-CsCallQueue. which will provide you with the information you needed.

    and also check out the below link for a better understanding.

    https://learn.microsoft.com/en-us/microsoftteams/manage-resource-accounts

    ----------------------------------------------------------------------------------------------------------------------

    Hope this answers all your queries, if not please do repost back.
    If an Answer is helpful, please click "Accept Answer" and upvote it : )

    0 comments No comments