Azure-Samples / powerbi-powershell

Samples for calling the Power BI REST API via PowerShell
MIT License
256 stars 189 forks source link

Add requirements for ADAL v3 and updated gateway endpoint to conform to PBI API v2 reqs #25

Open jacrys opened 5 years ago

jacrys commented 5 years ago

AcquireToken signature changed in v3 of the ADAL library. Now instead of a string for the final parameter, it requires a Platform Parameter Object. Made async changes as AcquireToken was deprecated in v3, replaced with AcquireTokenAsync. BindToGateway Endpoint has changed for takeover-dataset.ps1 and now expects the gateway id in POST body. Added variables and serialization to handle this.

guyinacube commented 5 years ago

I've asked @mshmordo and @Alonbaram to review this before merging.