7

i am creating an app "My Custom app" that works with "Azure File Shares". I am using standard BC module Azure FIle Services API in "System Application"app.

I have met an issue when the http request is send BC asks user to allow http requests for the "System Application":

The extension 'System Application by Microsoft' is making a request to an external service. Do you want to allow this request?

i`d like the BC to ask user to allow making a request for my app "My Custom app" instead of "System Application".

to do this i suggest following:

add a new overload of procedure Initialize() in codeunit 8950 "AFS File Client" with additional parameter interface "Http Client Handler"

rewrite procedure SendRequest() inside codeunit 8954 "AFS Web Request Helper". This procedure should use the standard interface "Http Client Handler" to send http requests


in my app "My Custom app" i will create my own implementation of interface "Http Client Handler" and will be able to pass it to the

"AFS File Client" and later this implementation will be used to send the http request in "AFS Web Request Helper".


as a result of this modifications BC will ask user to allow making a request to an external service for "My Custom app" instead of 'System Application by Microsoft'

Category: Development
STATUS DETAILS
Needs Votes
Ideas Administrator

Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future. Best regards, Business Central Team