sharepoint 2013 - Can I create an Azure AD registered multi-tenant application that can access OneDrive for Business data on both cloud only tenants and on-prem farms? -
i'm creating multi-tenant application on azure ad needs access onedrive business both cloud tenants , on-prem farms. here scenario:
- my application makes rest calls using sharepoint 2013 rest api.
- the scenario or class of app "daemon/server application web api".
- my app needs needs app-only permissions since application runs @ scheduled time without user interaction.
- based on class of app i'm building , permissions need, i'm using
client credentials oauth 2.0
flow allow app-only authentication. admin running app gives consent tenant once app, , app allowed run on it's own thereafter.
everything works fine accessing data on cloud-only tenants, i'm not sure if it's possible access data on-prem farms don't have tenancy in azure ad.
note, able make sharepoint app able access both, sharepoint apps don't allow apps app-only permissions grant full-control tenant on fly, have go azure ad application route because full control can granted apps on fly.
Comments
Post a Comment