# Azure AD Connect – Completed-Export-Errors – Permission-Issue

During synchronization of Active Directory with Office 365 via Azure AD Connect I was greeted with a list of accounts that have permission-issue. Error message by itself gives you a slight hint, but it doesn’t tell you exactly where to look.

blog

29 Nov 2018 pl

![Azure AD Connect – Completed-Export-Errors – Permission-Issue](/wp-content/uploads/2018/11/img_5bffac7698356.png)

[Zobacz obrazy (3)](#pf-content-image-1-0)

During synchronization of Active Directory with Office 365 via Azure AD Connect I was greeted with a list of accounts that have permission-issue. Error message by itself gives you a slight hint, but it doesn't tell you exactly where to look.

[!\[Raport synchronizacji Azure AD Connect pokazujacy bledy export z wpisami permission-issue\](/wp-content/uploads/2018/11/img_5bffac7698356.png)](/wp-content/uploads/2018/11/img_5bffac7698356.png)

### 💡 How to fix permission-issue in Azure AD Connect

Reason for this error is usually lack of permissions for an account that is responsible for synchronization. During setup of Azure AD Connect you either configure account name yourself, or you let setup do it for you. Regardless of which route you choose the most likely reason for your problem is broken inheritance at some point where your synchronization account has access to the top level but the lower it goes, the harder it gets. Therefore, to fix my problem, I had to start with one of the accounts and see if an account in question has a synchronization account in its **Security** properties.

[!\[Wlasciwosci zabezpieczen Active Directory pokazujace, czy konto synchronizacji Azure AD Connect ma wymagane uprawnienia\](/wp-content/uploads/2018/11/img_5bffb398e89ef.png)](/wp-content/uploads/2018/11/img_5bffb398e89ef.png)

If you don't see your account on this list, click **Advanced** and verify that** Inheritance is Enabled**. If it is you need to go up and check every **Organizational Unit** above to see which of the above OU's have **Inheritance** disabled. It's also possible there are legitimate reasons for this, so an alternative way to fix this is adding your** Azure Sync Account** (**MSOL_***) with proper permissions to OU with problems. However, keep in mind that giving correct permissions is key to this and is not as easy as fixing **inheritance**.

[!\[Zaawansowane ustawienia zabezpieczen podkreslajace dziedziczenie i wpisy uprawnien dla konta synchronizacji Azure\](/wp-content/uploads/2018/11/img_5bffb7fce2dc6.png)](/wp-content/uploads/2018/11/img_5bffb7fce2dc6.png)

If you're not sure, your safest bet will be to **Enable inheritance**. My second choice would be assigning permissions by hand unless you know what you are doing.

## Powiązane projekty

Projekty powiązane z tagami, kategoriami i treścią tego wpisu.

[Wszystkie projekty](/projekty/)

Trwa dopasowywanie projektów...

[Powrót do bloga](/blog/)

## Powiązane wpisy

- [Check an API write after a PowerShell timeout](/blog/verify-uncertain-api-outcomes-powershell/)
- [Inspect and convert mixed Office archives with PSWriteOffice](/blog/inspect-and-convert-mixed-office-archives-pswriteoffice/)
- [Compose PDF reports and automate page workflows with PSWriteOffice](/blog/automate-pdf-reports-and-page-workflows-pswriteoffice/)

<!-- PowerForge markdown artifact sha256:ECAB1554A636B376B4D5F426139D84ADB8A0BA7063E5684FBB435A05190CD9CC -->
