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
stringsubid="<Subscription ID>"; // Subscription ID (a GUID)
48
48
stringtenantid="<Tenant ID>"; // AAD tenant ID or domain. For example, "contoso.onmicrosoft.com"
49
49
stringrg=="<value>"; // Resource group name
50
-
stringclientid="1950a258-227b-4e31-a9cf-717495945fc2"; // Sample client ID (this will work, but you should pick your own)
50
+
stringclientid="abcdef01-2345-6789-0abc-def012345678"; // Sample client ID
51
51
```
52
52
53
53
## Authentication
54
54
55
55
You have multiple options for logging on to Azure Data Lake Analytics. The following snippet shows an example of authentication with interactive user authentication with a pop-up.
56
56
57
+
For ClientID you can either use the ID of a user, or the Application (Client) ID of a [service principal](/azure/active-directory/develop/howto-create-service-principal-portal#register-an-application-with-azure-ad-and-create-a-service-principal).
58
+
57
59
```csharp
58
60
usingSystem;
59
61
usingSystem.IO;
@@ -72,7 +74,7 @@ using Microsoft.Azure.Graph.RBAC;
0 commit comments