3,979 questions with Microsoft 365 and Office | SharePoint | Development tags

Sort by: Updated
1 answer

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
asked 2026-01-06T13:09:02.8066667+00:00
Jenson 40 Reputation points
answered 2026-01-06T14:31:38.7533333+00:00
Michelle-N 10,535 Reputation points Microsoft External Staff Moderator
1 answer

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
asked 2026-01-06T12:59:55.1466667+00:00
Jenson 40 Reputation points
answered 2026-01-06T14:01:19.0866667+00:00
Jayden-P 13,640 Reputation points Microsoft External Staff Moderator
1 answer

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
asked 2025-12-18T08:11:55.3333333+00:00
Charlie Martharper 205 Reputation points
commented 2026-01-06T13:06:42.1633333+00:00
Michelle-N 10,535 Reputation points Microsoft External Staff Moderator
2 answers

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
asked 2026-01-05T06:31:17.07+00:00
alok paul 0 Reputation points
edited a comment 2026-01-06T09:10:03.0866667+00:00
Jayden-P 13,640 Reputation points Microsoft External Staff Moderator
1 answer

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
asked 2026-01-05T10:56:59.9333333+00:00
Charlie Martharper 205 Reputation points
commented 2026-01-06T08:26:25.7233333+00:00
Jayden-P 13,640 Reputation points Microsoft External Staff Moderator
1 answer

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
asked 2026-01-05T06:29:24.58+00:00
alok paul 0 Reputation points
commented 2026-01-06T03:56:51.25+00:00
Teddie-D 10,255 Reputation points Microsoft External Staff Moderator
3 answers One of the answers was accepted by the question author.

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
asked 2025-12-08T10:22:48.6133333+00:00
Christer Ericsson 20 Reputation points
answered 2026-01-05T19:40:35.6733333+00:00
62073872 0 Reputation points
1 answer One of the answers was accepted by the question author.

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
asked 2025-12-17T13:45:08.9666667+00:00
Charlie Martharper 205 Reputation points
commented 2026-01-05T14:42:31.11+00:00
Michelle-N 10,535 Reputation points Microsoft External Staff Moderator
1 answer

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
asked 2026-01-02T06:34:30.0833333+00:00
Bhoomesh Joshi 0 Reputation points
commented 2026-01-05T09:24:12.9733333+00:00
Michelle-N 10,535 Reputation points Microsoft External Staff Moderator
2 answers

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
asked 2025-12-30T01:50:17.0033333+00:00
Liang, Jen-Z 0 Reputation points
commented 2026-01-05T04:34:24.5466667+00:00
Matthew-P 8,850 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

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
asked 2025-12-18T09:56:49.17+00:00
Sashakt Pathak 20 Reputation points
commented 2026-01-01T00:24:37.3466667+00:00
Steven-N 17,005 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

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
asked 2025-12-29T09:58:06.8633333+00:00
Ennis Lanita 40 Reputation points
accepted 2025-12-31T10:45:58.6+00:00
Ennis Lanita 40 Reputation points
1 answer One of the answers was accepted by the question author.

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
asked 2025-12-24T01:50:35.9833333+00:00
Thomas, Andre (CDC) 20 Reputation points
edited a comment 2025-12-31T10:37:33.0733333+00:00
Matthew-P 8,850 Reputation points Microsoft External Staff Moderator
1 answer

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
asked 2025-12-19T14:38:23.9566667+00:00
Bhoomesh Joshi 0 Reputation points
commented 2025-12-25T13:06:15.41+00:00
Steven-N 17,005 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

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
asked 2025-12-22T11:46:28.5866667+00:00
Dennis Marianne 20 Reputation points
accepted 2025-12-25T06:04:57.34+00:00
Dennis Marianne 20 Reputation points
1 answer One of the answers was accepted by the question author.

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
asked 2025-12-18T02:06:16.71+00:00
Julio Bellano 20 Reputation points
edited a comment 2025-12-25T05:47:08.64+00:00
Matthew-P 8,850 Reputation points Microsoft External Staff Moderator
1 answer

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
asked 2025-12-23T18:27:27.6733333+00:00
ThunderCatWow 0 Reputation points
edited a comment 2025-12-25T00:23:39.7733333+00:00
Teddie-D 10,255 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

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
asked 2025-12-16T23:19:20.2366667+00:00
Melvin 80 Reputation points
edited a comment 2025-12-24T23:26:01.6033333+00:00
Matthew-P 8,850 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

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
asked 2025-12-19T20:32:21.74+00:00
Andy King 81 Reputation points
commented 2025-12-23T08:02:49.3+00:00
Viego An 6,965 Reputation points Microsoft External Staff Moderator
2 answers

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…

Microsoft 365 and Office | SharePoint | Development
asked 2025-12-15T17:23:21.8+00:00
svc_rpa_pa 0 Reputation points
edited a comment 2025-12-19T09:55:16.61+00:00
Steven-N 17,005 Reputation points Microsoft External Staff Moderator