on 01-23-2019 12:45 PM
We're trying to access Microsoft Graph API to be able to create calender events in Office365, but I'm stuck in the authentication phase. Graph requires Oauth2 or OpenID for authentication, but I do now now if/how I could / how configure the Gateway client to authenticate with Oauth2. We're on Netweaver 7.5 sp 11 if that's any help.
up an application in Azure and collected the app id, I've also run the verification flow in from Postman to make sure that the flow on Azure works as expected, but I'm stuck on the SAP side.
Nb. that I'm trying to create a OData-client, not a service.
You might want to check out the ABAP SDK for Azure where I've contributed Graph support.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi 9ef2f01b41e84f219aa1e666d8f86042 I would hope for someone who is more experienced with maintenance views to fix this.
gregorw Now I'm finally all up2date with the abapsdk, after som issues with maintanence views being locked when trying to reimport from abapgit.
Anyway, do you have an example what needs to be setup in zrest_config and so on. I'm trying to run the demo program, so I see what ids I should have, but not what settings they're supposed to have.
Hi 9ef2f01b41e84f219aa1e666d8f86042 ,
please setup the following SM59 HTTP destinations (starting with MS_AZURE...)
Unfortunately there is not yet a place to maintain the OAuth Client ID for the Azure Graph. So I've put it in the description of the Destination MS_AZURE_GRAPH.
Maintain this configurations in ZREST_CONFIG:
In table ZADF_CONFIG maintain this. The client_secret has to be maintained only for ADB2CTOKEN SAS Key field. In the other entries I only maintaned X:
In ZREST_CONF_MISC I have the following entries:
Hope that helps.
CU
Gregor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That helps alot, thank you. I will sit with our AD guy on Monday to make sure I can authenticate agains the AD.
Thank you again
Hi Mattias,
I am also trying to access MS Graph through the SDK but I always getting an error when I start the demo program. The error message is as following: "Error in importing encoded SAS Key value for ADB2CTOKEN"
Can you help?
Regards
Henning
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.