Azure Monitor Workbook and Azure AD objects ?

LukeCloudWalker-6128 36 Reputation points
2022-10-18T13:54:07.697+00:00

Hello,

I was looking for a way to query Azure AD objects (first use case are service principals) from an Azure Monitor Workbook (essentially the goal would be to have a dashboard to check for near expiring secrets and cross the information with Azure Resource to check unused service principals for example)

The problem i'm having is that it seems impossible to use Azure Resource Manager or Azure Resource Graph for this. I tried using a custom endpoint with an API Call but thats seems overkill and i dont want to store any token on the dashboard.

Is this something doable today ? Soon ? Forget it ?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,820 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,703 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,638 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Maxim Sergeev 6,566 Reputation points Microsoft Employee
    2022-10-18T16:04:43.35+00:00

    Hi there,

    Azure Workbooks can't use SPN and other AD objects. They work on top of user's session.
    Custom Endpoints doesn't support auth calls per your request.