Forum Discussion

aryan003's avatar
aryan003
Copper Contributor
Mar 27, 2026

SharePoint ACS Retirement – Guidance Needed for Migration to Azure AD / Graph or Better if Available

We have an integration between Microsoft Dynamics 365 Business Central (AL) and SharePoint Online for uploading and accessing files in document libraries.

Current Implementation

App Registration & Permissions
  • App created using:
    /_layouts/15/appregnew.aspx
  • Permissions granted via:
    /_layouts/15/appinv.aspx → “Trust It”

Current permission (overly broad):

<AppPermissionRequests AllowAppOnlyPolicy="true"> <AppPermissionRequest Scope="http://sharepoint/content/sitecollection/tenant" Right="FullControl" /> </AppPermissionRequests>

Authentication (ACS Token)

We generate access tokens using:

POST https://accounts.accesscontrol.windows.net/{tenant-id}/tokens/OAuth/2

SharePoint API Usage

We are using SharePoint REST API:

Upload file:

POST https://<org>.sharepoint.com/sites/<site>/_api/web/GetFolderByServerRelativeUrl('/sites/<site>/Shared Documents')/Files/add(url='file.pdf',overwrite=true)

Download / read files:

GET https://<org>.sharepoint.com/sites/<site>/_api/web/GetFileByServerRelativeUrl('/sites/<site>/Shared Documents')/Files...

Questions
  1. After April 2026, will existing ACS-based integrations completely stop working, or only new registrations will be blocked?
  2. What is the recommended modern approach for this scenario:
    • Continue using SharePoint REST API with Azure AD token
    • OR migrate fully to Microsoft Graph API
  3. If we switch to Azure AD authentication:
    • Can we continue using existing _api/web/... endpoints?
    • Or is Graph API mandatory?
  4. What is the best way to restrict access to a single SharePoint site (avoid tenant-wide permissions like FullControl)?
  5. For Business Central (AL), is there any recommended approach or pattern for:
    • Generating Azure AD tokens (client credentials flow)
    • Calling SharePoint / Graph APIs securely

Any guidance, best practices, or migration examples would be highly appreciated.

If possible pls share some Blogs or resource when this overall new process is explain so that i can can a hit and start the development.

No RepliesBe the first to reply