Hello everyone,
Context
To understand how defender for iot for device builders work, I am linking log analytics workspace to the defender for IoT as per this document.
https://learn.microsoft.com/en-us/azure/defender-for-iot/device-builders/tutorial-configure-agent-based-solution#enable-data-collection
I followed the instructions to setup resource provider and access control for log analytics workspace.
https://learn.microsoft.com/en-us/azure/defender-for-iot/device-builders/tutorial-configure-agent-based-solution#enable-data-collection
Then I went to enable Defender for iot --> settings --> data collection to link the log analytics workspace.
Challenge faced
I am facing the following error
FailedDependency
Unable to read Log Analytics workspace /subscriptions/.../providers/microsoft.operationalinsights/workspaces/law-defender-for-iot, please make sure to grant the required permissions to access the Defender for IoT experience...
Would need the community's help to understand If I missed giving any access permissions for this attachment to succeed or what to do to solve this or any leads would help?
Thanks.