Dec 30 2021
06:07 AM
- last edited on
Jan 04 2022
12:15 PM
by
TechCommunityAP
Dec 30 2021
06:07 AM
- last edited on
Jan 04 2022
12:15 PM
by
TechCommunityAP
Hi everyone,
I have just been experimenting with the newly added Repositories function to auto-deploy analytics rules from DevOps. It works fine when I deploy rules for the native workspace, but when a rule contains for example: "workspace('name').events" it fails.
The error states "Status Message: Make sure you have the necessary permissions on all the workspaces in your query, specifically on 'DemoSentinel'. (Code: Unauthorized)". So the pipeline cannot access the workspace, but manually I can create this rule. What permission do I need to set so the pipeline works?
Thanks!
Jan 29 2022 04:44 PM
Hi @AVTMartijn
Consider making sure you meet all of the prerequisites?
Deploy custom content from your repository | Microsoft Docs
More specifically, ensure you have Owner permissions on the resource group containing the workspace.