I am developing some api running on azure function app. This api may connect to different sharepoint sites ( even on different tenants ) and perform certain actions.
Regarding the api authentication, I want to create an Azure app on a single azure tenant, and register that app id in each one of the different sharepoint tenant is which the api is going to be used. This way, I dont have to upload the webservice on different tenants etc...
I such thing possible ? what would be the best approach ? thanks