Configuring the proxy in the MMA extension configuration

MarcVanderhaegen 171 Reputation points
2022-01-18T12:51:33.883+00:00

Hello,

I am using the policy 'Configure Log Analytics extension on Azure Arc enabled Windows servers' to configure the extesion to the right workspace.
The workspace is well configured but I can't find a policy to configure the proxy for the MMA agent.

At the moment, I am using a powershell script that is deployed through Configuration Manager. It does the job but it isn't great as it is not included in the policy.

Does anyone have a better idea ?

Thanks

Marc

Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
151 questions
No comments
{count} votes

Accepted answer
  1. Stanislav Zhelyazkov 15,261 Reputation points MVP
    2022-01-18T13:14:38.553+00:00

    Hi,
    If you want to extend the functionality of a policy basically you need to clone it and modify it according to your needs. Basically, the deployment that the policy does is based on ARM template deployment. Proxy URI can be configured by adding proxyUri property within settings. For configuring credentials for the proxy you can add properties proxyUser and proxyPassword in protectedSettings. Make sure to pass the proxyPassword securely if you use it.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

1 additional answer

Sort by: Most helpful
  1. MarcVanderhaegen 171 Reputation points
    2022-01-19T06:34:42.827+00:00

    Thanks I will look into it.

    Marc