SCOM - The Check Requirements and Configuration for Citrix MPXAXD agent fails on the DDC.

SCOM - The Check Requirements and Configuration for Citrix MPXAXD agent fails on the DDC.

book

Article ID: CTX220621

calendar_today

Updated On:

Description

The check requirements and configuration for Citrix MPXAXD Agent fails with the below errors on the SCOM Server.

User-added image

On the DDC under the C:\ProgramData\Citrix\XenDesktop MP Agent\logs\ComTrade.MP.XenDesktop.Service, we see the below error

ComTrade.MP.XenDesktop.Licensing.LicenseServerProvider - Could not retrieve license server info
ComTrade.ResourceMonitoring.Discovery.ServiceFacadeException: PS script 'Get-ConfigSite' failed ---> System.Management.Automation.CmdletInvocationException: Permission to perform the operation was denied. ---> System.UnauthorizedAccessException: Permission to perform the operation was denied.
   at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
   --- End of inner exception stack trace ---



 

Resolution

  1. On the DDC open the Service.msc console. 
  2. Go to Citrix MPXAXD Agent service, right click on it and go to properties.
  3. On the properties dialog click on the log on tab.
  4. Click on this account and browse
  5. Find the RunAs profile which you have added to the "Citrix XenApp/XenDesktop Monitoring Account" in the SCOM server.
  6. Enter the password for the account and confirm the password.
  7. Restart the Citrix MPXAXD Agent service.
  8. Now on the SCOM server, open the SCOM - Operations Manager
  9. Go to the Monitoring view and on the left pane click on the "XenApp/XenDesktop Delivery Controller Computers"
  10. On the right pane click on the DDC where you have changed the Citrix MPXAXD Agent service logon account.
  11. Now under XAXD Delivery Controller Computer Role Tasks click on "Check requirements and configuration for Citrix MPXAXD Agent"
  12. Now the report should come with no errors and failures.

Note: The RunAs Account should be a local administrator on the DDC.

Problem Cause

The Citrix MPXAXD Agent service was running under the Local System account and not the Run As account which has permission on profile "Citrix XenApp/XenDesktop Monitoring Account"