Category: Office 365

How to: Manually Force Sync Azure AD Connect

Step 1: Start PowerShell Using any of these methods, or any other you may know of: WinKey + R (Run Dialog): powershell.exe Start Menu -> type ‘Powershell’, click it Navigate to C:\Windows\System32\WindowsPowerShell\V1.0\powershell.exe Step 2: (optional/dependent) Connect to the AD Sync Server If you’re running PowerShell on the Server where AD Connect is running, skip this

Read More
Block Removable Storage using Intune

This Document covers the steps to block removable storage using Intune. We can restrict or block access to USB drives using Device Control profile in Intune (Endpoint Manager). By creating the Endpoint Security Device Control Profile in Intune, we can define the settings to block the USB device access. Since USB devices are portable and can be

Read More
Bulk add alias name by using script

Before we can run the script, we need to connect to exchange online powershell. Connect to exchange online powershell with MFA Set-ExecutionPolicy RemoteSigned———————————————— * Install exchange online module Install exchange online module– Install-Module -Name ExchangeOnlineManagement* execute the command in PowerShell– Update-Module -Name ExchangeOnlineManagement– Get-Module ExchangeOnlineManagement– Import-Module ExchangeOnlineManagement* connect to Exchange Online* domain.onmicrosoft.com is Ternant’s nameConnect-ExchangeOnline

Read More
Enable TLS1.2

New-Item ‘HKLM:\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\v4.0.30319’ -Force | Out-Null New-ItemProperty -path ‘HKLM:\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\v4.0.30319’ -name ‘SystemDefaultTlsVersions’ -value ‘1’ -PropertyType ‘DWord’ -Force | Out-Null New-ItemProperty -path ‘HKLM:\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\v4.0.30319’ -name ‘SchUseStrongCrypto’ -value ‘1’ -PropertyType ‘DWord’ -Force | Out-Null New-Item ‘HKLM:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319’ -Force | Out-Null New-ItemProperty -path ‘HKLM:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319’ -name ‘SystemDefaultTlsVersions’ -value ‘1’ -PropertyType ‘DWord’ -Force | Out-Null New-ItemProperty -path ‘HKLM:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319’ -name ‘SchUseStrongCrypto’ -value ‘1’ -PropertyType ‘DWord’

Read More
Creating an Office 365 Mailbox in a Hybrid Configuration

When working with customers in Exchange hybrid configurations, they often have questions about creating Office 365 mailboxes in Exchange Online. Your organization might have existing processes for adding new users that will likely need to adapt to Office 365 after the migration. In this guide, we’ll discuss the different methods of creating Office 365 mailboxes in an Exchange hybrid

Read More
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