Microsoft Azure
This section explains how to create and test an Azure Service datasource in DataDios.
Steps to Create and Test Azure Datasource
-
Navigate to Data Explorer from the left navigation menu.
-
Click + Add connection in the top-right corner. The Create data source dialog opens.
-
Under Identity, enter a Name and select Azure Service from the searchable Type dropdown. It is listed under the Infrastructure category.
-
In the Connection Parameters section, fill in:
- Azure Tenant ID: the Azure Active Directory tenant ID
- Azure Client ID: the application (client) ID of the service principal
- Azure Client Secret: the client secret that goes with it
- Azure Subscription ID: the subscription to read resources from
If your deployment has a secret store set up, a Select Secret Source field also appears. Choose Direct Input to type the client secret, or From Secret Store to use a stored one.
-
Click Test Connection, then Create. The new connection appears in the Sources list.
View Metadata about Datasource Items
Click the connection's name to list its resources. Open one to see its Metadata tab.
Accounts and owners
Alongside its resources, an Azure source lists its RBAC accounts in the catalog:
- Every user and group principal that has a role assignment in the subscription. Because DataDios reads only the Azure Resource Manager (ARM) scope the connection already has, a principal is named by its object GUID, not a display name. (Service principals are not listed yet.)
- A resource gets an owner only from a built-in Owner role assigned at that resource's own exact scope — never one inherited from the subscription or resource group, which would otherwise link every resource to the subscription administrator. When a resource has several such Owner assignments, the one with the smallest key is chosen, so the owner stays stable across syncs.
Required permissions
The service principal needs this read-only permission, in addition to whatever it already needs to list resources:
Microsoft.Authorization/roleAssignments/read
No Microsoft Graph or Entra ID consent is requested.
If the service principal lacks this permission, the resource listing still succeeds — only the accounts are skipped. Accounts listed by an earlier successful sync are kept, not removed, so a temporary permission problem does not wipe them from the catalog.