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

Sort by: Updated
1 answer

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) 0 Reputation points
commented 2025-12-26T15:01:16.4466667+00:00
Thomas, Andre (CDC) 0 Reputation points
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 16,615 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,610 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,010 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,610 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
edited the question 2025-12-24T11:44:24.8433333+00:00
Michelle-N 10,015 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,390 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
accepted 2025-12-23T07:19:14.85+00:00
Sashakt Pathak 20 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
edited a comment 2025-12-19T12:02:43.67+00:00
Michelle-N 10,015 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 16,615 Reputation points Microsoft External Staff Moderator
6 answers One of the answers was accepted by the question author.

How to use calculated time between in sharepoint

Hello i am doing this code in sharepoint lists but get syntax error when doing this, what can i do instead?

Microsoft 365 and Office | SharePoint | Development
asked 2025-12-11T07:44:55.0633333+00:00
Örnvall Andreas 20 Reputation points
accepted 2025-12-19T07:44:17.6266667+00:00
Örnvall Andreas 20 Reputation points
2 answers One of the answers was accepted by the question author.

How should I properly optimize batching, retries, or query shaping to make this process stable at scale in SharePoint Online?

operations in SharePoint Online using the PnP Core SDK. I have a list with around 25k items, and when my script tries to perform batched updates (around 200–300 items per batch), SharePoint intermittently returns 400 Bad Request or sometimes 500 Internal…

Microsoft 365 and Office | SharePoint | Development
asked 2025-12-12T12:24:43.2066667+00:00
Buchanan Christopher 60 Reputation points
accepted 2025-12-19T03:01:53.99+00:00
Buchanan Christopher 60 Reputation points
2 answers One of the answers was accepted by the question author.

Most Efficient Way of Granting an Application Read Permission to OneDrive Sites of a Group

Hi, Is there a one-click way to grant an application read permission to access all the OneDrive sites of the users that are members of a specific group when the application only has a Sites.Selected permission? Right now what I do to do this is to do…

Microsoft 365 and Office | SharePoint | Development
asked 2025-12-18T02:21:51.8766667+00:00
Melvin 80 Reputation points
accepted 2025-12-18T17:17:42.55+00:00
Melvin 80 Reputation points
2 answers

Move sharepoint files error "problem deleting folder.Folders that have subsites can't be deleted. "

i am using power automate to get files only from a site then move those files to another site, but on some files i am getting this strange error:- /sites/Operations-Archive/Documents/Information Technology/Board Portal/Board and Committee…

Microsoft 365 and Office | SharePoint | Development
asked 2025-12-10T17:54:51.54+00:00
john john Pter 1,385 Reputation points
commented 2025-12-18T14:40:22.7966667+00:00
Matthew-P 8,610 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Where do I get logo icons in SharePoint

Hi, I was thinking where I could get this logo icons: Someone knows? I am creating pages and in some templates they appear, but would like to know where is all the icons.

Microsoft 365 and Office | SharePoint | Development
asked 2025-12-16T14:05:31.1066667+00:00
Charlie Martharper 205 Reputation points
accepted 2025-12-17T09:43:54.4233333+00:00
Charlie Martharper 205 Reputation points
2 answers

Is Creating Multiple ClientContext Instances Efficient in CSOM for one Site Url?

Is it efficient to create a new ClientContext for each site URL and for each query, such as getting site users, lists, groups, and group members from the Web object? These queries can return a very large number of items, and CSOM does not support paging…

Microsoft 365 and Office | SharePoint | Development
asked 2025-12-16T12:38:22.3133333+00:00
Dinesh 60 Reputation points
commented 2025-12-17T09:29:49.2533333+00:00
Gabriel-N 10,725 Reputation points Microsoft External Staff Moderator
1 answer

How to copy permission, groups, permission level from one SharePoint online site to another using PNP powershell

How can we copy permissions, groups, permission level, unique permissions present on one sharepoint online site to the other

Microsoft 365 and Office | SharePoint | Development
asked 2025-07-17T15:38:51.2866667+00:00
Surabhi Akulwar (IN) 0 Reputation points
commented 2025-12-17T08:52:53.27+00:00
Sebastien QUEROL 0 Reputation points
1 answer

Need API to Determine if OneDrive/SharePoint Document Is Open or Locked

We are building a solution that programmatically creates document versions in OneDrive/SharePoint using the Microsoft Graph API. Our process iterates over a list of files and re-uploads the content to create a new version for each document. The challenge…

Microsoft 365 and Office | SharePoint | Development
asked 2025-12-10T07:00:16.4666667+00:00
Chetan Kotwal 0 Reputation points
commented 2025-12-17T08:01:07.0666667+00:00
Steven-N 16,615 Reputation points Microsoft External Staff Moderator
2 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
commented 2025-12-16T21:06:25.46+00:00
Dumenil, Lory [USPB] 0 Reputation points