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 -
There was a problem with the IDE and domo third party connector fixed the issue.
Edit: spelling
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
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive