Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I'm currently following example (https://docs.microsoft.com/en-us/power-bi/developer/automation/walkthrough-push-data-get-token) in order to try and get a token to authenticate against the PUSH API with the end goal of pushing data from a Xamarin Forms app.
However, following the instrictions, Microsoft.IdentityModel.Clients.ActiveDirectory -Version 2.21.301221612 isn't available on Nuget (the closest is 2.22.30211727). Installing that, I get an error on line
authContext.AcquireTokenAsync(resourceUri, clientID, new Uri(redirectUri)).Result.AccessToken;
The error "Cannot convert from 'System.Uri' to 'Microsoft.IdentityModel.Clients.ActiveDirectory.UserCredential" occurs at
new Uri(redirectUri)).
Is the example up to date - the latest Microsoft.IdentityModel.Clients.ActiveDirectory package version is 5.2.7.
Any guidance would be appreciated!
Thank you!
User | Count |
---|---|
15 | |
4 | |
2 | |
1 | |
1 |
User | Count |
---|---|
21 | |
3 | |
2 | |
2 | |
2 |