Forum Discussion

JK_UK's avatar
JK_UK
Brass Contributor
Nov 17, 2019
Solved

Log Analytics / App Insights permissions

Do Monitor / Log Analytics alerts need any special rights to to read Application Insights held in another subscription ? I can set an alert up by using a query that reads an Application Insights ins...
  • Stanislav_Zhelyazkov's avatar
    Nov 18, 2019

    HiJK_UK 

    To be more precise I have written a blog post about alerts API:

    https://cloudadministrator.net/2019/10/07/azure-monitor-alert-series-part-7/

    If you scroll to the bottom there is example and on line 44-48 you will see that resources (log analytics workspace or application insights instance) needs to be added with their resource IDs. As far as I know that information is not available trough the portal so you will have to check the ARM API to get it and see if the mentioned app insights instance is added to that part of the properties. Authorized resources part is used when you do cross workspace/app insights queries for alerts.

Resources