Azure Password Change Fails with a permission error after previously working.

Azure Password Change Fails with a permission error after previously working.

139
Created On 11/10/26 10:57 AM - Last Modified 11/10/26 16:07 PM


Symptom


Password change fails with the following Error:

Error "CACPM250E Operation on remote machine on password object Safe: <Safe>, Folder: Root, Object: <Object@onmicrosoft.com> failed (try #0) with the following error: Execution error. Change process failed - Target account does not have the required permissions to execute this action. Error code:8015"

Or the following is seen in the plugin third party debug log:

21/04/2020 10:24:14.082 | ERROR -> RequestBase :: SubmitRequest -> Failed to submit request. Received status code: 403 - Forbidden.
21/04/2020 10:24:14.121 | ERROR -> PasswordChangeError :: Get -> Received error type:Authorization_RequestDenied. Error description: Insufficient privileges to complete the operation.
21/04/2020 10:24:14.122 | ERROR -> PasswordHandler :: SendRequest -> Unable to connect to Azure. Received error: {"odata.error":{"code":"Authorization_RequestDenied","message":{"lang":"en","value":"Insufficient privileges to complete the operation."},"requestId":"<REQUESTID>","date":"<DATE_TIMESTAMP>"}}



Environment


9.8;9.9;9.10;10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3 Component: Central Policy Manager (CPM) Functional Area: Other

Cause


When the CPM fails to change an account's password, it gets locked by Azure.

We suspect that this issue is happening due to a possible recent change in the Azure behavior - When we fail to change an account's password, it gets locked by Azure. In order to remove this lock use one of two ways.

The Azure Password Management target account is missing permissions to manage it's own password.



Resolution


In order to remove this lock use one of the following methods.

  1. Manually reset the password from the Azure web portal. Notice that after performing the reset you will get a temporary password - use it to login to Azure, it will prompt you to set a new password. After doing so, given that the account is defined with the proper permissions, you should be able to use it to change\reconcile.
  2. If you already have an account that has the permissions and able to log in, you can use it to reconcile the problematic account's password. This will also remove the 'lock'.
  3. The target Azure Directory account does not have the necessary permissions to change it's own password.
    1. The account must possess one of the following permissions in order to rotate it's own password:
      1. Password Administrator
      2. User Administrator
      3. Privilege Authentication Administrator
      4. Global Administrator
    2. If the account does not have one of these permissions, a logon account must be associated to the target account. The logon account must possess one of the permissions mentioned above.
      1. Note: The logon account does not need the Global Administrator role to rotate a Global Administrator user. In order to eliminate creating another Global Administrator in your environment, you can assign the "Privilege Authentication Administrator" role to the logon account so you can rotate the password of the Global Administrator Account.


Actions
  • Print
  • Copy Link

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