Help with Microsoft Graph Customer Connector

I'm having trouble getting an access token when calling microsoft graph through the custom connector builder. I can successfully connect using postman, but not the connector builder unless I input the token and code directly into the authentication script.
Trying the following config:
//This logging is here for testing! Remove before publishing your connector
DOMO.log('accesstoken: ' + metadata.account.accesstoken);
DOMO.log('code: ' + metadata.account.code);
if (metadata.account.accesstoken) {
auth.authenticationSuccess();
}
else {
auth.authenticationFailed('Authentication has failed.');
}
OAuth 2.0
Client Key: made in azure
Client Secret: made in azure
Authorization URL: https://login.microsoftonline.com/common/oauth2/v2.0/authorize
Additional Authorization Parameters (Optional): response_type=code
Acess Token URL: https://login.microsoftonline.com/common/oauth2/v2.0/token
Access Token Request Method: POST
Additional Acess Token Parameters (Optional): response_mode=query
Scope: openid%20https://graph.microsoft.com/user.read.all
I have the redirect url put into azure: https://api.domo.com/builder/oauth.html
When I click "get access token" and then "run script", it comes back with "access token: undefined", but gives me a code. I'm thinking there is something wrong with my "additional authorization parameters" or "additional access token parameters", but I'm not sure. Any help would be greatly appreciated as I'm very new to making API calls.
Best Answer
-
There was a problem with the IDE and domo third party connector fixed the issue.
Edit: spelling
0
Answers
-
There was a problem with the IDE and domo third party connector help fixed the issue.
0 -
Hi,
I am also trying to build an Azure connector, with no joy. What value did you use for the Client Key as I cant find that terminology in the Azure app.
Thanks
0 -
I am not getting back an access token or code, I suspect the Azure config. Is there any guidance on how the Azure app should be set up?
0
Categories
- 10.7K All Categories
- 1 APAC User Group
- 12 Welcome
- 36 Domo News
- 9.6K Using Domo
- 1.9K Dataflows
- 2.4K Card Building
- 2.2K Ideas Exchange
- 1.2K Connectors
- 339 Workbench
- 252 Domo Best Practices
- 11 Domo Certification
- 461 Domo Developer
- 47 Domo Everywhere
- 101 Apps
- 705 New to Domo
- 84 Dojo
- Domopalooza
- 1.1K 日本支部
- 4 道場-日本支部へようこそ
- 23 お知らせ
- 63 Kowaza
- 297 仲間に相談
- 649 ひらめき共有