private async void GetCustomerCollectionsId() { try { string aadToken = await GetTokenFromAzureOAuthAsync(); if (!string.IsNullOrEmpty(aadToken)) { string result = await CurrentApp.GetCustomerCollectionsIdAsync(aadToken, "*****@*****.**"); Output.Text = result; } } catch (Exception ex) { if ((uint)ex.HResult == IAP_E_UNEXPECTED) { rootPage.NotifyUser($"GetCustomerCollectionsIdAsync failed: {IAP_E_UNEXPECTED_MESSAGE}", NotifyType.ErrorMessage); } else { rootPage.NotifyUser("GetCustomerCollectionsIdAsync failed.", NotifyType.ErrorMessage); } } }