Powershell to export Teams Auto Autoattendants report

MS 426 Reputation points
2022-04-01T19:36:56.763+00:00

Would you please help me to get the PowerShell script to pull out the following information for the Teams Auto Attendants report into a CSV file in proper format?
We have around 3+ Lakhs user count and the script should run with the Teams Module 4.0.0

DefaultAction2
LineUri
AAIdentity
AfterHoursActionId2
DefaultAction4
AAResourceAccount
AfterHoursActionId1
DefaultActionId4
AfterHoursActionId3
AfterHoursAction2
AfterHoursActionId4
AfterHoursAction3
AAName
AfterHoursAction4
AfterHoursAction1
AfterHoursMenuEnabled
AfterHoursO365GroupVM2
AfterHoursO365GroupVM4
AfterHoursO365GroupVM3
DefaultAction3
DefaultAction1
DefaultActionId3
DefaultHoursO365GroupVM2
AATimezone
DefaultMenuEnabled
DefaultHoursO365GroupVM1
AfterHoursO365GroupVM1
DefaultActionId1
DefaultHoursO365GroupVM4
DefaultActionId2
DefaultHoursO365GroupVM3

Thanks in advance.

Regards,
MS

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,060 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
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,351 Reputation points
    2022-04-04T22:44:55.777+00:00

    Hello @MS

    In order to extract the extended properties and attributes, you can use the Get-Team commandlet:

    https://learn.microsoft.com/en-us/rest/api/azure/devops/core/teams/get-team-members-with-extended-properties?view=azure-devops-rest-6.0

    Hope this helps with your query,

    ---------
    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments