Forum Widgets
Latest Discussions
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 After April 2026, will existing ACS-based integrations completely stop working, or only new registrations will be blocked? 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 If we switch to Azure AD authentication: Can we continue using existing _api/web/... endpoints? Or is Graph API mandatory? What is the best way to restrict access to a single SharePoint site (avoid tenant-wide permissions like FullControl)? 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.Solvedaryan003Apr 01, 2026Copper Contributor93Views0likes4CommentsSPFx CDN URLs not consistently added to Trusted Script Sources (CSP)
Hi everyone, We’re currently investigating an issue related to SharePoint Online Content Security Policy (CSP) and Trusted Script Sources (TSS) for SPFx solutions. [SharePoint Online] [SPFx] [CSP] Scenario We deployed multiple SPFx .sppkg packages via App Catalog These solutions load scripts from an external CDN (cdnBasePath, with includeClientSideAssets: false) Expected Behavior As per documentation, CDN URLs used by SPFx solutions should be available/registered in Trusted Script Sources so that scripts can load under CSP enforcement Observed Behavior Only some CDN URLs (from certain packages) appear in Trusted Script Sources Others are missing, even though they are similarly configured and deployed Due to this, scripts from those missing sources are blocked by CSP, and the extension fails to load Additional Notes No use of eval() or inline scripts in our code Re-deploying packages sometimes resolves the issue (CDN URLs get registered afterward) Behavior appears inconsistent across environments Question Has anyone encountered a similar issue where: Trusted Script Sources were partially auto-populated from App Catalog deployments? CDN URLs from some SPFx packages were not registered automatically? Any insights on: Root cause Known limitations Best practices to ensure consistent registration would be really helpful. Thanks in advance!rishiupatilApr 01, 2026Copper Contributor21Views0likes0CommentsRetrieve Term Navigation Properties using REST API
I've set up a Term set in the global term store and enabled Navigation so I can add URLs for each of the Terms. Note that I'm not going to use the Term set navigation in my site - it's only there to try and retrieve it from my SPFx webpart. Note that I can get all the terms under my Term set - just not the navigation properties. Below is what I'm trying to get the navigation properties: https://TENANT.sharepoint.com/_api/v2.1/termStore/sets/TERMSETGUID/terms/TERMGUID/properties But I get: "The property 'properties' is null or does not exist". Also, expand doesn't seem to work at all. I'm not looking to use pnpjs or even graph if I can help it. Any ideas welcome.grant_jenkinsMar 30, 2026Steel Contributor554Views2likes8CommentsVisualizing SharePoint List Relationships as ER Diagrams
In several SharePoint-based projects, I encountered the same challenge. As solutions grow, list relationships become increasingly difficult to understand. This is especially true in environments with multiple lookup columns, implicit relational structures, and long-lived tenant environments where schemas evolve over time. Although SharePoint provides rich metadata, there is no built-in way to visualize list relationships as an ER diagram. To explore this problem, I built a small browser extension that extracts list and column metadata from a SharePoint site, detects lookup relationships, and generates PlantUML-based ER diagram code. It can also export structured definitions to Excel. The goal is not only diagram generation, but improving architectural visibility, impact analysis during schema changes, documentation quality in long-term projects, and migration planning such as moving SharePoint lists to Dataverse. I am particularly interested in how other developers document SharePoint list structures in larger environments. The extension itself is available here: https://chromewebstore.google.com/detail/sharepoint-erd-generator/nbjfcilmndpofckndmcadgfcacadgeak I would appreciate any feedback or discussion around approaches to SharePoint schema documentation.reireMar 13, 2026Copper Contributor126Views0likes1CommentPost SPFX webpart deployment - JS conflictings
Hi, I am working on the Classic SharePoint Online project. I need to migrate the Provider hosted apps to SPFX. Most of the functionality has been implemented using HTML and Javascript. Using Javascript Provided hosted app methods are being called directly on SharePoint Page. Huge client side scripts are written. I have migrated all the provider hosted apps code to Asp.net web api and deployed in Azure. I have configured Azure AD authentication on top. I am using SPFX webpart which is consuming the APIs and returning the values. SPFX methods are exposed to be accessible via external js. I deployed the SPX app in Sharepoint classic pages. Some Page it is working fine. On some webpart it experiencing error : Something went wrong If the problem persists, contact the site administrator and give them the information in Technical Details. Technical Details I checked in browser console seeing error : Error: Mismatched anonymous define() module: function(){return A} https://requirejs.org/docs/errors…, stage: 'Load'} requireModules: undefined requireType: "mismatch" message: "Mismatched anonymous define() module: function(){return A}\nhttps://requirejs.org/docs/errors.html#mismatch" stack: "Error: Mismatched anonymous define() module: function(){return A}\nhttps://requirejs.org/docs/errors.html#mismatch\n at makeError (eval at e [[Prototype]]: Object error: Error: Mismatched anonymous define() module: function(){return A} https://requirejs.org/docs/errors.html#mismatch at makeError (eval at e stage: "Load" [[Prototype]]: Object How can i fix it? Please help. Thanks in advance. AKAkhileshRaoMar 13, 2026Copper Contributor42Views0likes0CommentsCentral News Help
Hello everyone, I’m looking for guidance on using SharePoint to distribute department updates across multiple locations, with an administrator controlling who sees each update. Our organization uses a dedicated Microsoft Team for each location (27 total). A single update may need to be shared with one location, several locations, or all 27. Conceptually, I have a solid understanding of how this should work, but I’ve run into some practical roadblocks, and Copilot hasn’t quite gotten me where I need to be. Here’s the workflow I’m envisioning: A Department Head submits an update via a Microsoft Form. The form responses are stored in a SharePoint List on a central “News Hub” site. An Admin reviews the submission, makes edits if necessary, selects one or more target locations, and publishes the update. Each update includes a publish date and an expiration date, since these updates are used for monthly meetings at each location. Based on the selected target locations, the update would either: Display on a SharePoint site associated with the corresponding Team(s), or Remain on a centralized News Hub as an additional page that can be embedded on a TEAM channel. The page itself would contain both static content and dynamic monthly updates. The updates should be visible as text only (not clickable), as I want managers to see the information without navigating away from the page. The final output would be embedded into a Teams channel, allowing each location’s manager to see only the updates targeted to their specific office. From my understanding, this aligns with a “hub-and-spoke” news model, using: Microsoft Forms SharePoint Lists Power Automate (triggered when a list item is modified) Logic to route or display updates to the appropriate locations I’d prefer to avoid building a Power App if possible, but I’m open to it if that’s the only viable solution. Also, I have complete rights to the Central News Hub and the Sharepoint and Team site that I am testing on. Any advice, best practices, or examples of similar implementations would be greatly appreciated. Thank you in advance.WelchFeb 18, 2026Occasional Reader33Views0likes0CommentsSize increase of .sppkg packages with heft/v1.22
After upgrading our solution to SPFx 1.22.rc-0 and switching to the new heft build toolchain our .sppkg packages have suddenly grown massively in size. They are more than double the size of the 1.21 version. Is there a reason for this? Is there anything we can do to reduce the package size back to what it was previously? Our main solution contains both web parts and list extensions, split into several bundles. Let me know what other details would be helpful.Jason_ColeFeb 02, 2026Copper Contributor126Views1like1CommentViva Learning – SharePoint content provider configured but content not appearing in Teams
Hi everyone, I’m configuring Viva Learning in Microsoft Teams and I’m trying to use SharePoint as a content provider to publish custom learning content (Word, PowerPoint, Excel, PDF, audio, video, and web links). What I’ve done so far: Created a dedicated SharePoint site. Waited about one hour before adding it as a SharePoint provider in Viva Learning. After the configuration, the “Learning App Content Repository” list was automatically created. In the document library, I uploaded: PDF files a web link I copied the folder URLs and added them to the Learning App Content Repository list. I also followed the official procedure to create and assign a Microsoft 365 Group, as described in this documentation: https://learn.microsoft.com/en-us/viva/learning/sharepoint-permissions The issue: Almost 24 hours have passed, but I still don’t see any content in Viva Learning (Teams). In the sync logs, I can see that synchronization jobs are running, but the content is either not appearing or only partially synchronized. At this point, I’m not sure: if I’m missing something in the SharePoint provider configuration, if the folder URLs are incorrect, or if there’s some additional requirement related to permissions or metadata. Has anyone experienced a similar issue or can suggest what I should check next? Thanks in advance!rosamartinamilazzo25Feb 02, 2026Copper Contributor93Views0likes1CommentShow Access and Confidentiality Message to External Users in a SharePoint Document Library
Is it possible to display the following text inside a SharePoint document library page so that it’s visible to external users when they open the shared link? Text to Display: Access and Use Access is restricted to authorized representatives and internal personnel. Users must not share their login credentials or grant access to any third party. Uploaded and downloaded documents must relate solely to the agreed scope of work Disclaimer Use of this site constitutes acceptance of these terms. Access may be suspended or restricted if security, confidentiality, or compliance risks are identified. Goal: I want this text to be clearly visible to external parties (for example, when they open a document library link to upload or view files).Asit00Jan 22, 2026Copper Contributor92Views0likes1CommentGet the URL behind link items in SharePoint document library via REST API
I have a custom web part that I can connect to different data sources (e.g SharePoint Document Libraries). Then I can map the item properties from that document library to one of my different view templates. The problem is when I add a Link item (external Url) in that document library, I cannot find an item property that stores the external Url. Right now I get the item properties via SharePoint REST API. I checked the values of FileRef and EncodedAbsUrl, but these are URLs pointing to the SharePoint document library file, and not to the external URL. After some investigations, I've seen in the dev tools (F12) Network tab, there's a call to https://{siteurl}/_api/SP.Utilities.ShortcutLink.GetShortcutLink(@a1)?@a1={siteUrl}/Shared%20Documents/http://www.dummysite.com.url which will retrieve the actual linked external URL, but this not a good option for me, since making another REST call for each item will impact my performance. So is there any item property that I could expand to get the external URL, via REST API?VladSchiopJan 14, 2026Copper Contributor21KViews0likes3Comments
Tags
- developer1,254 Topics
- PnP651 Topics
- apis492 Topics
- Extensibility256 Topics
- Responsive128 Topics
- hybrid82 Topics
- SPFx70 Topics
- SharePoint Online64 Topics
- powershell23 Topics
- SharePoint Online Office 36515 Topics