Hi All,
I'm publishing a Business Central connect app on AppSource but am unsure about the recommended method of obtaining delegated OAuth permissions to query the Business Central API. Any nudge in the right direction would be much appreciated.
Currently, I have registered an app within my Azure Active Directory and I have created a sign up page that requests permission from a new user to access their Business Central information. This seems straight forward enough.
Then, I am using Azure Data Factory to periodically ping the Business Central API to retrieve new data. By adding my registered app as a contributor on the Data Factory resource, I'm expecting that API requests will use its delegated permissions. However, I am getting authorisation errors when I do this.
Is this the intended way for third parties to access the Business Central API within Azure? I cannot find examples of what the recommended process is and any tickets I've raised with Azure support have gone round in circles.
Could someone smarter than me tell me what they did?
Thanks in anticipation,
David