Quick post to log simple way to automatically assign licenses for Teams resource accounts.
If you’re a Teams admin and configuring auto-attendants and call queues you may need to manually assign propper license, here’s lazy and efficient way to do it.
In Azure AD create new group
(user.department -eq “Microsoft Communication Application Instance”)
This is unique way to identify resoruces accounts.
Select and assign licence for resource accounts
List of accounts with license
Now you can forget about assigning licenses to your resource account, they are free but make sure that you have enough of them.