Skip to main content

Posts

Showing posts from June, 2018

DISABLE OFFICE 365 AZURE SYNC AD

Powershell:  Install-Module MSOnline #Enter Office 365 Cred $UserCredential = Get-Credential Connect-MsolService -Credential $UserCredential #Verify current config Get-MsolDirSyncConfiguration #Disable synchronization Set-MsolDirSyncEnabled -EnableDirSync $false

Remove toàn bộ user & group khỏi Azure AD

Remove toàn bộ user & group khỏi Azure AD  Nguồn:  http://www.ms4u.info/2015/03/bulk-remove-azure-active-directory-user.html [Scenario] Using Azure Active Directory Has used AAD Sync to sync on-premise user account and group Discovered has accidently sync user account and group to Azure Active Directory but require to remove it. It’s quite a painful experience to delete each individual user account and group from Azure Management Portal. Wonder why no multiple select option and quite annoying when it asking for confirmation and refresh. But lucky enough got powershell to do the job. [Pre-requisite] Install  Microsoft Online Services Sign-In Assistant for IT Professionals RTW   Install  Azure Active Directory Module for Windows PowerShell (64-bit version) , [ Configuration] After install the pre-requisite, open the Azure Active Directory Module for Windows Powershell. Connect to Azure Active Directory by entering the Global Adminis...

Exchange - Backup mailbox ra PST

Exchange 2016, 2013, 2010 mailbox backup by export to PST (PowerShell) Posted on  December 18, 2014 by  Adam the 32-bit Aardvark [Update]: This post was updated on January 24, 2018. An email organization lives and dies by mailbox backups. Unfortunately, all Microsoft Exchange versions, including Exchange 2016, come with  limited brick-level backup capabilities . Basically, the only available granular option is an export to PST files. This can be done via Outlook (obviously), PowerShell and in some cases also via Exchange Management Console / Control Panel. In this article I discuss the options available via PowerShell in:  Exchange 2016 ,  Exchange 2013  and  Exchange 2010 . Note: To export Exchange 2007 mailboxes to PST files use the  Export-Mailbox  cmdlet. If you are using Exchange Online, consult  this article . Single mailbox export to PST file Exporting mailbox contents to a PST file is achieved using the...