
OktaA.20132 (Customer) asked a question.
Everytime i've tried to update our okta ad agents i get an error (done with errors) and it does not update the agent. What is it that i need to do in order to get this fixed?

We use cookies to provide the best website experience and to help understand marketing efforts. We may also share data with ad partners to reach potential customers across the web. To learn more, visit our Privacy Policy. Click here for Your Privacy Choices. You may also opt out of this sharing by signaling your preference via GPC, applicable only to the browser signaling the opt-out.
More information
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.
Select All

We use cookies to provide the best website experience and to help understand marketing efforts. We may also share data with ad partners to reach potential customers across the web. To learn more, visit our Privacy Policy. Click here for Your Privacy Choices. You may also opt out of this sharing by signaling your preference via GPC, applicable only to the browser signaling the opt-out.
More information
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.
Select All
HI @OktaA.20132 (Customer) , Thank you for reaching out to the Okta Community!
Please review AD agent prerequisites and Auto-Update feature limitations.
https://help.okta.com/en-us/Content/Topics/Directory/ad-agent-prerequisites.htm
https://help.okta.com/en-us/Content/Topics/Directory/agent-auto-update-limitations.htm
Also try running a query in the system logs for system.agent.auto_update to check for any additional details pertaining to the failure.
If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you.
Hope my answer helps!
--------------------------------
Community members help others by clicking Like or Select as Best on responses. Try it today.
Hi, we got this error in our log file:
-----
2023/07/05 17:00:44.366+02:00 Info -- BETTERBEAADC01(13) -- Starting processing of AUTO_UPDATE action rpc::app.active_directory.agent.reply.ok9-jobecs02b.aew1-ok9.internal//1688569257110//ZKWEv3t3cZOLUGckW_zl7QAADCw:3cf2c0ee-4927-4cf5-91cf-ef788241b1e7:.
2023/07/05 17:00:44.397+02:00 Error -- BETTERBEAADC01(13) -- Auto-update health check failed: Unexpected error
2023/07/05 17:00:44.397+02:00 Info -- BETTERBEAADC01 at System.DirectoryServices.AccountManagement.UserPrincipal.get_Current()
at Okta.Agent.Installation.AutoUpdate.AutoUpdateHealthChecker.Check()
System.DirectoryServices.AccountManagement.NoMatchingPrincipalException received with message The User object for the current user could not be found. You may not have access to it. Source=System.DirectoryServices.AccountManagement InnerException=.
2023/07/05 17:00:44.397+02:00 Info -- BETTERBEAADC01(13) -- Processing AUTO_UPDATE action (id=rpc::app.active_directory.agent.reply.ok9-jobecs02b.aew1-ok9.internal//1688569257110//ZKWEv3t3cZOLUGckW_zl7QAADCw:3cf2c0ee-4927-4cf5-91cf-ef788241b1e7:) finished, (executionTime=00:00:00.0267133)
2023/07/05 17:00:44.397+02:00 Info -- BETTERBEAADC01(13) -- Sending action result (FAILURE) for action AUTO_UPDATE (id=rpc::app.active_directory.agent.reply.ok9-jobecs02b.aew1-ok9.internal//1688569257110//ZKWEv3t3cZOLUGckW_zl7QAADCw:3cf2c0ee-4927-4cf5-91cf-ef788241b1e7:)
Hi @HarryL.92824 (Customer) , Thank you for reaching out to the Okta Community!
From what I've been able to find, this was a known bug which affected some Okta tenants unable to auto-update from AD Agent version 3.13 and beyond. This was addressed in the new Okta AD Version 3.15.0. I have attached the release notes below:
https://help.okta.com/en-us/Content/Topics/Settings/Version_Histories/Ver_History_AD_Agent.htm
'Bug fixes. Active Directory (AD) agent auto-update health check caused auto-update to fail when upgrading from version 3.13.0 to 3.14.0.'
Therefore, unfortunately, you will have to manually upgrade to 3.15.0 and the auto-update issue will be gone for updating from 3.15.0 to the future versions.
If you continue to experience issues, please open a case to work with one our Support Engineers.
If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you.
Hope my answer helps!
--------------------------------
Community members help others by clicking Like or Select as Best on responses. Try it today.