Resource accounts in Microsoft Teams are special accounts that can be assigned phone numbers and used for various Teams telephony functions. These accounts are commonly utilized in Caller ID policies, Call Queues, and Auto Attendants to manage inbound calls. This guide explains how to create a resource account, assign a number, and license the account using both the Teams Admin Center and PowerShell.
Sign in to the Microsoft Teams Admin Center (https://admin.teams.microsoft.com/).
Navigate to Voice > Resource accounts.
Click Add.
Enter a Display Name (e.g., "Primary Business Number") and Username (e.g., 0894501234@yourdomain.com.au).
Select Resource account type: Choose either Call Queue or Auto Attendant depending on the intended use.
Click Save to create the resource account.
Microsoft requires resource accounts to have a Microsoft Teams Phone Resource Account License for proper functionality.
Sign in to the Microsoft 365 Admin Center (https://admin.microsoft.com/).
Navigate to Users > Active users.
Search for the Resource Account created earlier.
Click on the account and go to the Licenses and Apps tab.
Assign the Microsoft Teams Phone Resource Account License.
Click Save changes.
Assign a Phone Number to the Resource Account:
Set-CsPhoneNumberAssignment -Identity 0894501234@yourdomain.com.au -PhoneNumber +61894501234 -PhoneNumberType DirectRoutingReplace
+61894501234with the actual phone number to be assigned.
Assign Voice Routing Policy and Dial Plan:
Grant-CsOnlineVoiceRoutingPolicy -Identity 0894501234@yourdomain.com.au -PolicyName "YourVoiceRoutingPolicy"
Grant-CsTenantDialPlan -Identity 0894501234@yourdomain.com.au -PolicyName "YourDialPlan"Replace
YourVoiceRoutingPolicyandYourDialPlanwith the appropriate policy names for your organization.
To find the Voice Routing Policy and Dial Plan Name in Microsoft Teams Admin Center:
Navigate to Voice > Voice Routing Policies to find assigned policies.
Go to Voice > Dial plans to review available dial plans.
Use the following PowerShell command to list all voice routing policies:
Get-CsOnlineVoiceRoutingPolicyUse this command to list available dial plans:
Get-CsTenantDialPlanOnce configured, the resource account can be used in multiple ways:
Caller ID Policy: Use the resource account as an outbound caller ID for Teams users.
Call Queues: Assign the resource account to a Call Queue to route incoming calls.
Auto Attendants: Use the resource account to direct calls to menus and destinations.
Ensure the resource account is assigned a valid Teams Phone Resource Account License.
Verify the phone number assignment using:
Get-CsPhoneNumberAssignment -TelephoneNumber +61894501234If the resource account does not appear, try syncing changes with:
Sync-CsOnlineApplicationInstanceBy following these steps, organizations can successfully set up and manage Microsoft Teams resource accounts for efficient call handling and routing.