Forum Discussion
Oauth 2.0 Custom Connector working but need to extract another value in addition to Auth Code
Please check the "RelativePath" portion of the documentation. Web.Contents - PowerQuery M | Microsoft Learn
Thanks for the reply! I think the issue is that I'm not able to extract the value I need to include in Web.Contents. Even if I create a function that extracts said value in my FinishLogIn section, I'm not able to call it and pass it to my Web.Contents. Nothing that has already been created in said section that is currently working (the section is extracting the auth code and exchanging it for the access code needed to make API calls) is callable and can't be included in my Web.Contents URL. I'm fixating on the FinishLogIn section because as per the API's docs, the realimID (value I need) is included on the same URL where the auth code is (so if the FinishLogin section already is calling the auth code, I'm supposed to be able to create a function there that also calls the realmId, but apparently it can't be done). I'm following MS docs custom connector structure here, and this tutorial here. If I'm able to extract that value, I will definitely use the info on the Web.Contents link.