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.
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.