Questions tagged [office-365-developer]

An Office 365 Developer Site, customized for creating and testing apps that work with SharePoint Online, Office Online, Exchange Online, and more

Filter by
Sorted by
Tagged with
0 votes
0 answers
50 views

Getting bad request error while updating document metadata, Only scenario is when URL has special characters

My URL is https://domain.sharepoint.com/sites/Test_list/api/web/GetFileByServerRelativeUrl('/sites/Test_list/RE FW_ SAMPLE Fw_ Vdr_ levering new books 4182885 - 0092870 testing MM#00000 .msg')/...
Harmeet Chandok's user avatar
0 votes
1 answer
237 views

How i can get the Author of list item using New-Object Microsoft.SharePoint.Client.FieldUserValue

I have this script inside my PNP script to get the Author of the list items:- $ApprovalListItems = Get-PnPListItem -List "tickets" -PageSize 1 -ScriptBlock { Param($items) $items.Context....
John John's user avatar
1 vote
2 answers
3k views

Enable users edit permission only for items added by him in a list

I have the below requirement in SharePoint Online and On-prem versions: A custom list is to be maintained where users can edit only items that were created by him/her. Enabling unique permission for ...
Robin Roy's user avatar
0 votes
1 answer
778 views

How to create DEVELOPMENT, UAT & PRODUCTION environment in SharePoint Online365?

How do we create a DEVELOPMENT, UAT & PRODUCTION environment in SharePoint Online 365? what is the best practice?
Mohammad Tahir's user avatar
0 votes
1 answer
778 views

Access denied error on root site path of SharePoint online modern site

We have a SharePoint online Modern site where no one has access. Using PowerShell we have broken the unique permission of Home.aspx page and added read permission to all. Now when user opens the site ...
Md. Zakir's user avatar
1 vote
0 answers
82 views

If I mouse over the hyperlinks, it's showing a full link on the webpage itself. How to overcome this?

If I mouse over the hyperlinks, it's showing a full link on the webpage itself. How to overcome this?
Gnanavel V's user avatar
0 votes
1 answer
649 views

Add an app to SPO modern site collection using pnp powershell

I need to add an app from app catalog to the set of site collections which I need to read Site URL's from csv file using PnP PowerShell script. Any idea how to do that? Thanks!!
taruki_MS's user avatar
0 votes
1 answer
128 views

Microsoft Graph change notifications -- For SharePoint Group for Tenant Level

I have requirement that whenever there will be any new user added in in SharePoint Site Group. I need to put the details for that group, User, Site details in another Data base. Can We user Microsoft ...
Rajat Sahani's user avatar
0 votes
0 answers
30 views

Navigation to a custom webpart using ID in sharepoint online

I have created a custom app for texts heading and add options for adding id to the DOM element or the given div. Then add custom links in the page using the id of DOM eg: sites/OperationsPeople#M ...
Mariya's user avatar
  • 103
1 vote
1 answer
132 views

Navigation that goes to users document library

For some reason my management is 100% against one drive. Instead each of our departments has there own SharePoint site and inside of that site each user has there own document library that's locked ...
DickyDal's user avatar
1 vote
1 answer
1k views

How to remove/hide the gear icon in SharePoint Online modern site

I have a requirement to hide the Gear icon (settings icon) for the “modern look” SharePoint collection for all pages to the users who have "Read" access. Can any one help how to do the same? ...
taruki_MS's user avatar
1 vote
1 answer
2k views

[SecurityTokenException: Invalid issuer or signature.]

We have an provider hosted app running in Share Point Online which connects to Azure WebApp Service. The App worked fine for a while and it started to fail after sometime with following error. [...
taruki_MS's user avatar
0 votes
2 answers
198 views

How to extract List Creator using Pnp PowerShell

I'd like to extract the list metadata for SPO site Collection including the list creator using PnP PowerShell. Can anyone help how to get it? Referred the below link but not working. Find List Creator ...
taruki_MS's user avatar
0 votes
1 answer
162 views

Server Error in '/' Application - SPO Provider Hosted App

I have a Provider Hosted App in SharePoint online, and the app website is hosted Azure. When I'm browsing the site getting the below run time error. I made the custom error mode off in web.config but ...
taruki_MS's user avatar
0 votes
1 answer
81 views

How can I open a Provider Hosted App in SP Modal Dialog in SharePoint Online?

I need to open a provider hosted app inside a SharePoint Modal Dialog. The provider hosted app is hosted in AZURE Web App Services. I have tried several examples that I could see in Microsoft ...
Gabriel Bravo's user avatar
2 votes
2 answers
983 views

SharePoint Picture library - Show Title, Modified in Tiles view instead of Filename, Modified

I am using SharePoint Online Picture library, where images are being displayed in tiles view. I noticed that thumbnail image contains Filename + Modified date on the tiles as per below screenshot. Is ...
KoolRaj's user avatar
  • 41
0 votes
1 answer
2k views

The underlying connection was closed: An unexpected error occurred on a receive/send

I'm using the below script to copy the files from source library to destination library. Script run successfully but after certain period i am getting the below error. I've close to 20000 items in ...
taruki_MS's user avatar
1 vote
1 answer
245 views

ReadOnlyField Vs ReadOnlyEnforced when creating Site Columns

When creating a new site column inside Sharepoint Online, we have 2 options to set: ReadOnlyField and ReadOnlyEnforced. So, what are the differences between these 2 settings? As far as, I know ...
John John's user avatar
0 votes
1 answer
446 views

IE File Explorer View not showing files

I have a library in SharePoint online site with nested folder structure. When I opened one of the folder in "IE explore view" it's not showing files but can see in SharePoint site. I am ...
taruki_MS's user avatar
0 votes
1 answer
1k views

Compare source and target libraries and migrate - SP Online

I've different two SharePoint Online Site collections with document libraries. I need to compare the source and destination libraries and copy the missed files alone from source to destination. I know ...
taruki_MS's user avatar
0 votes
1 answer
1k views

Get newly created subsite name and url in power automate flow

Could you please help how to get the newly created sub sites name and their urls, of sitecollection based on the date passed ? If i pass today's date, it should display the list of sub sites and their ...
taruki_MS's user avatar
0 votes
1 answer
583 views

Set Target Audience to the list using Power Shell Script

I’ve a list called “ABC” in root SharePoint online site collection and it have no. of columns. One of the column, say “xxx” is type of “Hyperlink” field which contains the Sub Site URL with display ...
taruki_MS's user avatar
0 votes
1 answer
410 views

Pnp PowerShell to hide the SharePoint list

I’ve a list called “A” in root SharePoint online site collection and it have no. of columns. One of the column, say “xyz” is type of “Hyperlink” field which contains the Sub Site URL with display text,...
taruki_MS's user avatar
0 votes
2 answers
854 views

PowerShell script to set SharePoint list to read only

Can any one help on how to set the SharePoint online site List/Library to read only using Power-Shell script?
taruki_MS's user avatar
0 votes
1 answer
95 views

properties.ItemEventProperties.AfterProperties["ProjectDateSinged"] will show the date minus one hour

I have the following code inside my remote event receiver inside a SharePoint online team site, the remote event receiver is deployed inside azure web service:- if (i["ProjectDateSinged"] != ...
John John's user avatar
2 votes
1 answer
1k views

How to get all files shared with and shared by a user in Office 365?

I'm looking to develop a solution which shows all files that has been shared by the user or with the user in Office 365 (through OneDrive, Teams, SharePoint). How do I fetch this info? It should be ...
Roshni's user avatar
  • 21
0 votes
2 answers
574 views

How to apply site-design in SharePoint Online?

Does any one know how to apply the custom site design to the team site collection URL in SharePoint online through client side object model?
taruki_MS's user avatar
0 votes
1 answer
23 views

while adding web part zone using SP Designer nothing has been added to page layout

I am trying to add web part zone to new page layout template using SP Designer but after clicking on button "Web Part Zone" nothing is happening. fyi I have migrated site from SP 2010 to SP Online.
Rajnesh Thakur's user avatar
0 votes
1 answer
540 views

Assign Member to Group via Powershell Graph API Call throws Request_BadRequest

Calling the following code: $uri = "https://graph.microsoft.com/v1.0/groups/[groupID]/members/`$ref" $body = (@{'@odata.id'='https://graph.microsoft.com/v1.0/directoryObjects/[memberID]'} | ConvertTo-...
fallout's user avatar
  • 1,005
1 vote
2 answers
28 views

SharePoint Online List alerts to USers and SharePoint Online support team

When new Item is added to the SharePoint online list SharePoint support team should recieve an email and user should receive and alert. Could you please share the details step by step for SharePoint ...
Santhosh Kumar's user avatar
0 votes
1 answer
445 views

How to exclude documents migration which were not accessed in last 'X' years using power shell

I'm copying the files from source site to destination site through the power shell using the below code. Now, my requirement is to exclude the files from source site in copying which were not ...
taruki_MS's user avatar
2 votes
2 answers
4k views

Error: : Exception calling "ExecuteQuery" with "0" argument(s): "The operation has timed out"

I am trying to copy the Files and Folders with meta data from one library to another library,in SharePoint Online using powershell CSOM, i am getting this error "Exception calling "ExecuteQuery" with ...
taruki_MS's user avatar
1 vote
0 answers
54 views

How to remove email address from people card

In the below image of the profile card, you can see the 2 email addresses. I have some questions regarding this. how we can remove this 2nd email address? how can we check the origin of 2nd email ...
Rahul Dayal's user avatar
0 votes
1 answer
65 views

Remove excess height size on SharePoint list

Hi Developers, We had SharePoint list and we customised the list as per our requirement. But we are facing some excess space height issue on list. Please refer attached image. We want to remove the ...
murali kuruva's user avatar
1 vote
0 answers
175 views

Unable to run a Remote Event Receiver using App Only Authentication. Error "Access Denied "

I want to build a remote event receiver for our SharePoint online development site collection. So i followed the step mentioned in this link @ https://derekgusoff.wordpress.com/2017/11/08/remote-event-...
John John's user avatar
0 votes
1 answer
210 views

Setup development environment for SharePoint online

I would like to create a development environment for SharePoint online based on agile on azure DevOps with sandbox for testing purposes and code review. We migrated to the SharePoint online and I am ...
David's user avatar
  • 91
0 votes
1 answer
2k views

How to show count of attachments uploaded for each List item in SharePoint online

How to show count of attachments uploaded for each List item in SharePoint online using jsom or any other approach. Help me on this.
ahsan95's user avatar
0 votes
1 answer
730 views

Hero Webpart Not Editable SHAREPOINT ONLINE

I just created a communication site. By default a Hero webpart is on the main page. I can go to edit the page and on that specific webpart it gives me the option to edit details(the icon with the ...
Daryl Johnson's user avatar
1 vote
1 answer
367 views

SharePoint Framework Web Part data storage

I have some JSON that is populated when a user sets up a web part, the JSON is used as the config i don't want to display this data to the user and I cannot see any way to simply hide a multi line ...
Joel-Homan's user avatar
1 vote
0 answers
19 views

Is it possible to access Office Add-In from Flow?

I'm considering an architecture where my MS Flow Approval will access my Office Add-In site via the REST client action. It will pass the link to a file. The Add-In (which is also used by Office ...
Scott Oxendine's user avatar
0 votes
3 answers
4k views

SharePoint Online - Add a site footer

As stated here : Change the look of your SharePoint site, it is possible to add a site footer to your SharePoint Online site. The problem is: I can't find the "Footer" section in the "Change the look"...
a1mery's user avatar
  • 344
1 vote
1 answer
980 views

Adding a listview web part - modern team sites

I need to add a list view web part with c# like below: My best guess is using PnP is the wat to go. I would think something like below is the first part (correct me if I am wrong): var page = ...
Thomas Segato's user avatar
3 votes
0 answers
283 views

Office 365 Developer tenant: automatic renewal

Quote from Office 365 Developer Program FAQ In April 2019, we transitioned to a new model where your subscription can be renewed perpetually every 90 days if you're actively using it for ...
Denis Molodtsov's user avatar
1 vote
2 answers
1k views

How to change content type of a lot of folders and subfolders at once?

I have a lot of folders and subfolders on my Sharepoint who's content type I want to change. Is there a way I can change the content type of several folders at once ? thank you
Ed1995's user avatar
  • 11
0 votes
1 answer
382 views

is there any way to add commas in long numbers using MS flow

I have a requirement like i have to add a comma in long numbers in the email body with the microsoft flow. I have googled it I couldn't able to find the proper solution. any help would be appreciated. ...
user2915027's user avatar
0 votes
2 answers
195 views

How to hide the html of my master page in the other pages of the site in online sharepoint?

I have created a master page in online sharepoint and I have entered html code using sharepoint designer, the problem is that when I enter the other pages of the site, for example: '' Site settings '' ...
stefany's user avatar
0 votes
2 answers
331 views

Get audit log data for specified period of time using office management api

I am trying to obtain audit log from sharepoint online using Office management api. When I use https://manage.office.com/api/v1.0/tenant-id/activity/feed/subscriptions/content?contentType=Audit....
Amardeep Gupta's user avatar
1 vote
3 answers
876 views

What is the best way to store credentials for SharePoint Online?

I will be creating a C# console app that will be executed by a windows task. The purpose of this console app is to prepare a JSON file for bulk user profile update. what is the best way to store SPO ...
Aslan's user avatar
  • 532
3 votes
1 answer
272 views

How to show how many users are logged in sharepoint online

I have a requirement like want to show how many users are currently logged in the sharepoint online site and how long they are accessing it.Is there any OOTB feature available for this or any custom ...
user2915027's user avatar
1 vote
0 answers
195 views

Incremental Numbering appending to existing filename or in new column whenever new item is added in SharePoint Online

I require your assistance where I want to create auto incremental numbering to file and folder name where whenever a folder/file is added to library. Filename should get appended with incremental ...
O365's user avatar
  • 11