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
0answers
85 views

Authentication in Team Tab not working

I am trying to authenticate in microsoft team using Azure active directory. I am able to get access token too. but after receiving the access token it is not redirecting to Microsoft Team. Below are ...
0
votes
1answer
79 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!!
0
votes
1answer
24 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 ...
0
votes
0answers
17 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 ...
0
votes
0answers
26 views

("remote folders": [string] property not configured in workspace.." Visual Studio Code workspace from SharePoint online site page

I am in the process of developing a site page on my Office 365 SharePoint site and recently installed the latest version of Visual Studio code. However, when trying to populate the workspace I get the ...
1
vote
1answer
25 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 ...
1
vote
1answer
241 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? ...
1
vote
1answer
243 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. [...
0
votes
2answers
42 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 ...
0
votes
1answer
36 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 ...
0
votes
0answers
18 views

How do i connect Sharepoint online List "More than that as well" with Salesforce for exchange of information

How do i connect SharePoint List "More than that as well" with Salesforce for exchange of information? Any Ideas? Regards Tejas
0
votes
1answer
43 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 ...
2
votes
2answers
347 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 ...
0
votes
0answers
15 views

Send Email to external users inside my console application

I have the following method to send email using the exchange online smtp server:- static private void sendemail(ClientContext context, string subject, string body, FieldUserValue[] to,string username, ...
0
votes
1answer
1k 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 ...
1
vote
1answer
101 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 ...
0
votes
1answer
128 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 ...
0
votes
1answer
277 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 ...
0
votes
1answer
407 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 ...
0
votes
1answer
218 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 ...
0
votes
1answer
244 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,...
0
votes
2answers
269 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?
0
votes
1answer
71 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"] != ...
1
vote
1answer
74 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 ...
0
votes
2answers
249 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?
0
votes
1answer
22 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.
0
votes
1answer
58 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-...
1
vote
2answers
24 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 ...
0
votes
1answer
41 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 ...
1
vote
2answers
1k 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 ...
1
vote
0answers
45 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 ...
0
votes
1answer
31 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 ...
1
vote
0answers
98 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-...
0
votes
1answer
79 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 ...
0
votes
1answer
700 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.
0
votes
1answer
347 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 ...
1
vote
1answer
107 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 ...
1
vote
0answers
18 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 ...
0
votes
3answers
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"...
1
vote
1answer
722 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 = ...
3
votes
0answers
205 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 ...
0
votes
2answers
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
0
votes
1answer
306 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. ...
0
votes
2answers
112 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 '' ...
0
votes
2answers
178 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....
1
vote
3answers
426 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 ...
3
votes
1answer
214 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 ...
1
vote
0answers
104 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 ...
0
votes
1answer
817 views

How to update the Site Title and description of modern team site?

Is there any way to update the SharePoint Online Modern team site "Title" using Rest API or graph API. I tried the below code, but it is not updating. import { Web } from "sp-pnp-js"; let web = ...
0
votes
0answers
378 views

Include Specific list in PnP Provisioning

I would like to use PnP Provisioning engine to clone list from one site to another. In order to do so, I would like to create provisioning template with just one list in it. When I use ...