Hi @shankar431 ,
As far as I know there is no way of installing the SCOM management server role without first uninstalling the Log Analytics agent.
You should be able to connect your server to the Log Analytics Workspace afterwards:
Connect Operations Manager to Azure Monitor
https://learn.microsoft.com/en-us/azure/azure-monitor/platform/om-agents
----------
(If the reply was helpful please don't forget to upvote or accept as answer, thank you)
Best regards,
Leon