You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your application is created. If you only need access to an authorized Azure Data Explorer resource, such as in the programmatic example below, skip the next section. If you need support for delegated permissions, see [configure delegated permissions for the application registration](#configure-delegated-permissions-for-the-application-registration).
65
+
Your application is created. If you only need access to an authorized Azure Data Explorer resource, such as in the programmatic example below, skip the next section. For delegated permissions support, see [configure delegated permissions for the application registration](#configure-delegated-permissions-for-the-application-registration).
66
66
67
67
## Configure delegated permissions for the application registration
68
68
@@ -71,7 +71,7 @@ If your application needs to access Azure Data Explorer using the credentials of
71
71
1. In the **API permissions** blade, select **Add a permission**.
72
72
1. Select **APIs my organization uses**. Search for and select **Azure Data Explorer**.
73
73
74
-

74
+

75
75
76
76
1. In **Delegated permissions**, select the **user_impersonation** box and **Add permissions**
77
77
@@ -98,13 +98,13 @@ Now that your service principal application registration is created, you need to
98
98
The last parameter is a string that shows up as notes when you query the roles associated with a database.
99
99
100
100
> [!NOTE]
101
-
> After creating the application registration, there may be a several minute delay until Azure Data Explorer can reference it. Ifyou receive an error, that the application is not found, when executing this command, wait and try again.
101
+
> After creating the application registration, there may be a several minute delay until Azure Data Explorer can reference it. If, when executing the command, you receive an error that the application is not found, wait and try again.
102
102
103
-
For additional information, see [security roles management](/azure/kusto/management/security-roles) and [ingestion permissions](azure/kusto/api/netfx/kusto-ingest-client-permissions.md).
103
+
For more information, see [security roles management](/azure/kusto/management/security-roles) and [ingestion permissions](/azure/kusto/api/netfx/kusto-ingest-client-permissions.md).
104
104
105
105
## Using application credentials to access a database
106
106
107
-
Use the application credentials to programmatically access your database by using the [Azure Data Explorer client library](azure/kusto/api/netfx/about-kusto-data.md).
107
+
Use the application credentials to programmatically access your database by using the [Azure Data Explorer client library](/azure/kusto/api/netfx/about-kusto-data.md).
108
108
109
109
```C#
110
110
. . .
@@ -129,8 +129,7 @@ var queryResult = client.ExecuteQuery($"{query}");
129
129
130
130
### Invalid resource error
131
131
132
-
If your application is used to authenticate users or applications for Azure Data Explorer access, you must set up delegated permissions for Azure Data Explorer service application. You must declare your application can authenticate users or applications for Azure Data Explorer access.
133
-
Not doing so will result in an error similar to the following, when an authentication attempt is made:
132
+
If your application is used to authenticate users or applications for Azure Data Explorer access, you must set up delegated permissions for Azure Data Explorer service application. Declare your application can authenticate users or applications for Azure Data Explorer access. Not doing so will result in an error similar to the following, when an authentication attempt is made:
134
133
135
134
`AADSTS650057: Invalid resource. The client has requested access to a resource which is not listed in the requested permissions in the client's application registration...`
0 commit comments