3,979 questions with Microsoft 365 and Office | SharePoint | Development tags
What are the key differences between ACE and SPFx Application Customizers, and in which scenarios should one be preferred over the other?
In a SharePoint Online environment using Viva Connections, we need to surface lightweight, interactive content (notifications, status updates, simple actions) while also supporting broader UI customization scenarios. We are considering Microsoft 365…
Microsoft 365 and Office | SharePoint | Development
Microsoft Graph: Uploading Attachments to Existing SharePoint List Items
Hello, I’m familiar with using the Microsoft Graph API to upload small files (under 4 MB) to Drive items and SharePoint document libraries. However, my use case involves SharePoint Lists where attachments need to be added to existing list items, rather…
Microsoft 365 and Office | SharePoint | Development
Creating an advanced searcher, getting files of a library
Hi! So I am using PNP Modern search in a sharepoint site, but I want to search the files of one library with multiple folders and files. So when typing words in the search box, appear filters in the left with the choice column type. So when nothing is…
Microsoft 365 and Office | SharePoint | Development
SharePoint SE On Prem - change default to "Classic Experience"
Currently my sites in SharePoint SE On Prem - sometimes the libraries or list open in Classic Mode and for some users it open in Modern Experience. I want to force Classic Experience for everyone for all sites, document libraries and lists. How can this…
Microsoft 365 and Office | SharePoint | Development
How to make a column of a library searchable
Hi! So I am trying to create filters in a sharepoint using pnp modern search. But when trying to use filters, I go to schema and don't know how to make the columns of the library searchable in the filters results. This aren't from the schema, this are…
Microsoft 365 and Office | SharePoint | Development
I am using SharePoint SE On Prem - I am facing issue while changing the link to home page for Top Bar Branding "SharePoint"
I am using SharePoint SE On Prem - I am facing issue while changing the link to home page for Top Bar Branding "SharePoint". Currently this takes to /_layouts/15/sharepoint.aspx but we want it to take us to home page. How can this be changed?
Microsoft 365 and Office | SharePoint | Development
Formatting code field for Form in Sharepoint is too small
When using the "Add an Item" function in Sharepoint I get the standard form. That can be customized by using the "Configure Layout" option. You can then add Json code to format the Form. Unfortunately, the field to add the…
Microsoft 365 and Office | SharePoint | Development
Pages with different access permissions in SP
Hi! So I am creating different pages that is for editors and validators (it has links to private folders in private libraries and this part should be private, I know that libraries and lists can edit unherit permissions but I can't see where I can change…
Microsoft 365 and Office | SharePoint | Development
Person or Group column throws error when selected user has null email
We have created a Person or Group column in a SharePoint list that allows multiple user selections. While retrieving list items using PnPjs, the query works correctly when all selected users have an email address. const items = await…
Microsoft 365 and Office | SharePoint | Development
How to obtain ******@aia.com The user's token is uploaded to SharePoint through Java code?
How to obtain ******@aia.com The user's token is uploaded to SharePoint through Java code? The current user has permission to upload SharePoint, but I don't know where to find the corresponding permission authentication and implement file upload through…
Microsoft 365 and Office | SharePoint | Development
Is there a supported way to embed editable SharePoint Word documents in a third-party web application?
Scenario We have a SharePoint Online tenant managed by our organization. Word documents are stored in SharePoint document libraries, and users have appropriate permissions (view/edit) assigned via Microsoft Entra ID. We are building a custom web…
Microsoft 365 and Office | SharePoint | Development
SharePoint PnP PowerShell task breaking sometimes
I have a concern: Whenever I’m using PnP PowerShell to automate site provisioning. The same script worked previously, but Connect-PnPOnline now fails intermittently with access or token-related errors. The app registration and permissions haven’t…
Microsoft 365 and Office | SharePoint | Development
Microsoft Graph PDF conversion timing out at ~45 seconds with "General_Timeout" error
Environment: Azure App Service (Windows) Node.js application @microsoft/microsoft-graph-client v3.0.7 Testing with Postman (to isolate from client-side issues) SharePoint Online drive item conversion Issue: I'm using the Microsoft Graph API to…
Microsoft 365 and Office | SharePoint | Development
How to improve the performance of the SPFx application?
Hello Everyone, We have created an SPFx + React application. We have used the SPFx 1.21.1 version. We have used different npm packages in this project. The project works as expected functionally. We have checked the performance of the application using…
Microsoft 365 and Office | SharePoint | Development
PnP PowerShell to automate site permission updates in SharePoint Online
Is it possible to automate SharePoint Online site permission management using PnP PowerShell. Specifically, I want to connect to a site collection non-interactively and add or update user permissions across multiple sites in a loop. I’m using…
Microsoft 365 and Office | SharePoint | Development
Sharepoint List Metadata column - Graph API
Hi, I am developing an app using Microsoft Graph API specifically for getting Sharepoint data. I am having trouble to get one of the column from a list using this URL: …
Microsoft 365 and Office | SharePoint | Development
How to create a custom search on an ASPX page which searches by title or content of file?
How does one create a custom search within a document from a custom aspx page? For context I have the page which searches by title and it works as intended however the title column is pulled using an API call. I'm hoping to reconfigure the current search…
Microsoft 365 and Office | SharePoint | Development
Grant-PnPAzureADAppSitePermission does not work when setting read permission to personal site
Hi, Is it expected that the PowerShell command Grant-PnPAzureADAppSitePermission does not work when granting read access to a personal OneDrive site (-my.sharepoint.com)? When I tried running this command: Grant-PnPAzureADAppSitePermission -AppId…
Microsoft 365 and Office | SharePoint | Development
How to add a new document library without the ribbon "+ New, Upload, Edit in grid view, Export to Excel..."?
Hello, When I add a new "Document Library" from "Site contents > + New", it always shows the ribbon: "+ New, Upload, Edit in grid view, Export to Excel..." on the "company.sharepoint.com" site. See the image…
Microsoft 365 and Office | SharePoint | Development
1) Is there a supported way to programmatically “resubmit” a specific failed cloud flow run (similar to the UI’s Resubmit), via connector or API? 2) If not, what’s the recommended design to achieve auto‑reruns?
For example, should each target flow expose a Child Flow or HTTP trigger and I maintain a mapping (e.g., Flow ID or a key) in SharePoint to call the right one? Is there a way to invoke flows dynamically by ID at runtime (Power Automate…