Idira Identity: Device enrollment fails even when using a service account with full permissions to run the Cloud Connector

Idira Identity: Device enrollment fails even when using a service account with full permissions to run the Cloud Connector

89
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 13:03 PM


Symptom


When using a Service Account that has been granted full permissions to the OU specified for enrollment, device enrollment fails with the the following error found in the Cloud Connector log: 

 
CreateMachineForDevice Exception: System.UnauthorizedAccessException: Access is denied. 


Environment


Identity App Access Service Using AD Group Policy as Endpoint Management setting for Identity tenant

Cause


This error is presented due to a lack of permissions for the Service Account to the OU.  When a service account is specified to run the connector service, the account is not automatically configured for proxy permissions on the OU. 

Resolution


In order to grant the missing permissions for the account to the OU, the following steps will need to be taken:

1. Open up ADSI Edit:
Start > All Programs > Administrative Tools > ADSI
 

2. Navigate to the OU in question, right-click on the OU and choose "Properties"



3.​Navigate to > "Security" > "Advanced"



4. Under the "Permissions" tab navigate to the Service Account and click "Edit..."



5. In the "Apply to:" drop-down box, choose "This object and all descendant objects"


 

6. Click "OK" and then "Apply" on the Advanced Security Settings window



Additional Information


Details

Problem:

When using a Service Account that has been granted full permissions to the OU specified for enrollment, device enrollment fails with the the following error found in the Cloud Connector log: 

 
CreateMachineForDevice Exception: System.UnauthorizedAccessException: Access is denied. 



Cause: 

This error is presented due to a lack of permissions for the Service Account to the OU.  When a service account is specified to run the connector service, the account is not automatically configured for proxy permissions on the OU.  



Solution:

In order to grant the missing permissions for the account to the OU, the following steps will need to be taken:

1. Open up ADSI Edit:
Start > All Programs > Administrative Tools > ADSI
 

2. Navigate to the OU in question, right-click on the OU and choose "Properties"



3.​Navigate to > "Security" > "Advanced"



4. Under the "Permissions" tab navigate to the Service Account and click "Edit..."



5. In the "Apply to:" drop-down box, choose "This object and all descendant objects"


 

6. Click "OK" and then "Apply" on the Advanced Security Settings window.




Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001QQJCA2&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail