Monthly Archives: June 2022
M365 Licensing using msol and AzureAD powershell
M365 licensing can be tricky sometime. Below cmdlt flow will help you sort out your tenant licensing information properly. PS C:\> Install-Module AzureAD PS C:\> Connect-AzureAD PS C:\> Install-Module MSOnline PS C:\> Connect-MSolservice Next lets get the list of all … Continue reading
Script to get MS Team user information
You will come across requirement where you need to fetch users MS Teams related information e.g. you are going to enable voice services for the users, so you need to get the required information whether user have required license, usage … Continue reading
MS Teams Auto-Attendant call forwarding to External PSTN number with Direct Routing
We have a situation where MS Teams auto attendant call need to be get forwarded to external PSTN numbers. As we know Auto-attendant make use of number assigned to resource account. So basically when we are configuring forwarding in Auto … Continue reading
Caller ID policies to mask user number with Resource account number in MS Teams
Masking caller id is one among the standard phone system feature. When MS Teams user call someone on PSTN number, organization want to show the the common phone number e.g. call from reception should show reception desk number instead of … Continue reading
Connect various M365 services from VScode
Install PowerShell extension in VSCode Connect to MS Teams from VSCode: Connect to Exchange online from VSCode: Connect to AzureAD from VSCode: Connect to Azure from VSCode:
Script to connect MS Teams
Sometime you may want to avoid entering user-name and password every time. Below is the small script you can use it to connect to MS Teams. Last line of the below code is just to change the PowerShell title. This … Continue reading
Exchange PowerShell script to convert DL to contact
Recently I have came across a requirement where customer want to remove few of the DL but they want to keep the email-id mapped to a new contact. All the existing attribute should be stamped to the new contact. LegacyDN … Continue reading
MS Teams PSTN call flow with Direct Routing
Lets try to investigate what happens when user dials a PSTN number from their MS Teams client. User launched dial pad in MS Teams. User dialed a number +1-425-765-6xxx Check for the dial plan (policy) assigned to the user. If … Continue reading
Auto Attendant in MS Teams
Create Resource account for call queue and auto attendant. Basically this is the account which will be mapped to call queue Or auto-attendant and a phone number will be assigned to these resource accounts. PS C:\>New-CsOnlineApplicationInstance -UserPrincipalName “RA_CQ@domain.com” -DisplayName “Test … Continue reading