Microsoft

Blog Categories

Subscribe to RSS feed

Archives

“Insufficient Privileges” Error Configuring ADFS 2.0 for Single Sign-on with Office 365

I ran into an issue recently that, although was a quick fix, there was not much information posted about it. The problem came during the configuration of AD FS for single sign-on with Office 365, when AD FS looks for the Program Data container to add the specific application and certificate information within Active Directory.

Error:

“You do not have sufficient privileges to create a container in Active Directory at location CN=f2e868b0-f4f5-4648-8dda-5a031d478753,CN=ADFS,CN=Microsoft,CN=Program Data,DC=rblab,DC=com for use with sharing certificates. Verify that you are logged on as a Domain Admin or have sufficient privileges to create this container, and try again.”

Chances are that if you receive this error, either you are not signed with the correct account and/or permissions were not granted properly to the account OR the Program Data container has been deleted within your Active Directory environment. If you are certain your account is in good standing, then check to see of the Program Data container is there. The Program Data is a default empty container within Active Directory that stores application specific data in the domain directory partition. This container can only be viewed when turning on Advanced Features within ADUC or through ADSI Edit.

The resolution is to simply re-create the container structure.

Within ADSI Edit, perform the following tasks to create the missing container structure:

  1. Open ADSI Edit as shown below
  2. Select Domain directory
  3. Right click and select New > Object
  4. Select Container
  5. Type the Value – Program Data. Click Finish
  6. Click on the new container, Program Data, right click and select New > Object
  7. Type the Value – Microsoft. Click Finish

** Default permissions are automatically granted during the creation of the containers.

You can now continue with the configuration of AD FS.

Enjoy!

Tags: , , , ,

4 thoughts on ““Insufficient Privileges” Error Configuring ADFS 2.0 for Single Sign-on with Office 365

  1. Ivan Dretvic

    Thanks, this worked a treat. We had both the Program Data and Microsoft folder missing in our environment. After recreating it as per your article it worked a treat.

    Thanks again,
    Ivan

  2. Pingback: Misdirection via ADFS Config Wizard Error Dialogs | Digital Glue

  3. Chris

    Hi,
    Am I correct in assuming that you are referring to the root domain in this, not a child domain?

Leave a Reply