Skip to main content

Posts

Showing posts with the label azure

Dùng GPO tự động backup folder Document, Desktop ... vào One Drive

  Silently move Windows known folders to OneDrive Source:  https://learn.microsoft.com/en-us/sharepoint/use-group-policy  Use this setting to redirect and move your users' Documents, Pictures, and/or Desktop folders to OneDrive without any user interaction.  Note We recommend deploying the silent policy for existing devices and new devices while limiting the deployment of existing devices to 1,000 devices a day and not exceeding 4,000 devices a week. We also recommend using this setting together with  Prompt users to move Windows known folders to OneDrive . If moving the known folders silently doesn't succeed, users will be prompted to correct the error and continue.  See all our recommendations for configuring the sync app. You can move all folders at once or select the folders you want to move. After a folder is moved, this policy won't affect that folder again, even if you uncheck the checkbox for the folder. If you enable this setting and provide your t...
ĐỒNG BỘ USER ĐÃ CÓ TỪ AZURE CLOUD VỀ ACTIVE DIRECTORY Source: https://www.alitajran.com/sync-azure-ad-user/ The sync status will show one of the following: In cloud Synced from on-premises The below screen shows that the user  Carol Baker  is  in the cloud  and not synced from AD on-premises. However, the other two users are  synced from on-premises . So how do we change the object  in the cloud  to  synced from on-premises ? Let’s look at how to sync the Azure AD user to on-premises AD in the next step. How to sync Azure AD user to on-premises AD To sync an Azure AD user to on-premises AD, follow these steps: Step 1. Create on-premises AD user object It’s essential to create an AD object identical to the cloud object: User logon name (UserPrincipalName) E-mail ProxyAddresses Create an on-premises AD user object and fill in the details. Ensure that you fill in the user logon name identically to the cloud object. Note:  The password will reset...

LỖI KHÔNG ĐĂNG KÝ ĐƯỢC AZURE CLOUD BACKUP 34512

  Lỗi này phần lớn do đồng hồ giờ trên server không đồng bộ với giờ thế giới. Tiến hành đồng bộ lại giờ cho đúng là xong.

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...

Xóa những object bị conflict giữa AD và Azure

Trước tiên download module Azure PowerShell  Azure Active Directory Module for Windows PowerShell Kết nối với Azure:  connect-msolservice -credential $msolcred [ câu lệnh này để cache tài khoản quản trị Azure ] Sau khi kết nối xong, chạy lệnh sau để xóa bỏ những object conflict Remove-MsolUser –UserPrincipalName John.Smith@Contoso.com Vậy là xong ! English version: Grab the  Microsoft Online Services Sign-In Assistant for IT Professionals RTW Grab the  Azure Active Directory Module for Windows PowerShell Open the power shell and run this to store your credentials $msolcred = get-credential Then run this to connect to Azure connect-msolservice -credential $msolcred Now that you’re all linked up, run this to remove that nasty orphaned object Remove-MsolUser –UserPrincipalName John.Smith@Contoso.com All set!