Category: Office 365

Change UPN-Suffix

Import-Module ActiveDirectory$oldSuffix = “update.net”$newSuffix = “bunthoeurn”$filter = “*@” + $oldSuffixecho $filterGet-ADUser -Filter {UserPrincipalName -like $filter} |ForEach-Object {$UPN = $_.UserPrincipalName.Replace($oldSuffix,$newSuffix)Set-ADUser $_ -UserPrincipalName $UPN}

Read More
Disable user from creating group in Teams

Install azureAD Module PowerShellCopy To install the public preview release, usePowerShellCopy To allow user to create group we need to add $AllowGroupCreation = $True to script and re-run the scriptNOTE: Changes can take thirty minutes or more to take effect.  Disable user from creating group in teams Download the file and save as .ps1 More

Read More
Connect to exchange online

Install exchange online management Install-Module -Name ExchangeOnlineManagement——————————————-Import-Module ExchangeOnlineManagementSet-ExecutionPolicy RemoteSigned$UserCredential = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection ////////////////////////////////////////////////////////////////////////////Import-PSSession $Session -DisableNameChecking More Details: https://docs.microsoft.com/en-us/powershell/exchange/connect-to-exchange-online-protection-powershell?view=exchange-ps

Read More
Configure Password Writeback in Azure AD

In this post I will show you how to enable and configure password writeback in your Azure AD hybrid environment. By enabling password writeback feature you can synchronize password changes in Azure Active Directory back to your on-premises Active Directory environment. To enable password writeback feature, we use Azure AD Connect tool to that provides

Read More
Install Azure AD Connect

In the previous article, we did run Microsoft IdFix to identify errors such as duplicates and formatting problems in the on-premises directory. To sync on-premises identity infrastructure to Microsoft Azure AD, we will install and configure Azure AD Connect step by step. What is Azure AD Connect? Azure AD Connect is a tool for connecting on-premises identity

Read More