Hi @Userss12 ,
In case, you are still looking for an answer -
If you want to link LAW as a "linked resource" in your Automation account, Azure CLI can be used now that most of the features have been deprecated.
Sample Command -
az monitor log-analytics workspace linked-service create -g myresourcegroupname -n automation --workspace-name myloganalyticsname --write-access-resource-id resourceIDofAutomationAccount
If you find my answer helpful, please consider marking it as the ‘Answer’ and giving it an ‘Upvote’ using the thumbs-up option. This can also benefit other community members who may have the same question.
Thanks,
Karni.G