question

DAVISTHOMAS-5038 avatar image
0 Votes"
DAVISTHOMAS-5038 asked SharonZhao-MSFT commented

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

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)

office-teams-windows-itprowindows-server-powershell
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SharonZhao-MSFT avatar image
0 Votes"
SharonZhao-MSFT answered SharonZhao-MSFT commented

@DAVISTHOMAS-5038,

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.




image.png (115.9 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@DAVISTHOMAS-5038,

Do you try the above three commands and how is going now?

If my reply helps, please be free to accept it as answer to benefit more people with the same doubt.

Have a nice day!

0 Votes 0 ·
LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hello @DAVISTHOMAS-5038,

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://docs.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 : )

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.