sharepoint-online

Get SharePoint user ID and profile of an SP site with MS graph api

て烟熏妆下的殇ゞ 提交于 2020-01-06 06:50:24
问题 Is there a way to get user ID inside a SharePoint site with Microsoft Graph API ? I get a guid id with /me endpoint but in my SP site the current user has id 033. I know there is a way with SP rest api with currentspcontext. But i want to query with ms graph 回答1: I believe the Microsoft Graph currently only lets you query SharePoint sites, lists, and list items. Have you tried using the Microsoft Graph to query the User Information list? Here is a sample of the service call that you need. You

Which action(s) can I use to create a folder in SharePoint Online via Azure Logic App?

倾然丶 夕夏残阳落幕 提交于 2020-01-06 06:43:06
问题 As question title states, I am looking for a proper action in Logic Apps to create a folder. This action will be executed several times -- once per directory as per business rule. There will be no files created in these folders because the intent of the Logic App is to prepare a template folder structure for the users' needs. In the official documentation I see that there are create file, create item, and list folder actions. They suggest that there might be an action to create a folder too

How fetch “webParts” from site pages

那年仲夏 提交于 2020-01-06 06:38:21
问题 I am trying to fetch Pages from Sharepoint sites using graph API. But when we make GET request with https://graph.microsoft.com/beta/sites/{site-id}/pages/{page-id} the response consists of webParts which only have type and data. Inside data we have an id(which same as type) and an instanceId that is unique for every webPart. Sample webPart: { "type": "d1d91016-032f-456d-98a4-721247c305e8", "data": { "id": "d1d91016-032f-456d-98a4-721247c305e8", "instanceId": "c54a74ef-86c1-44aa-9ba4

When authenticating to Sharepoint online with PingFederate SSO, what should “PARTNER SERVICE IDENTIFIER” be set to?

旧时模样 提交于 2020-01-06 06:35:11
问题 In this sof ticket, Where do I find PingFederate's "Relying Party"? (To be set in "AppliesTo" of the SAML RST), we learn where to set an SP's "PARTNER SERVICE IDENTIFIER" which corresponds to the "AppliesTo" element in the STS soap request for saml token. I am using PingFederate to do SSO to my SharePoint online site: https://mysite.sharepoint.com What should the PARTNER SERVICE IDENTIFIER be set to when using SharePoint online? 回答1: Finally found the answer from a PingFederate PDF document

How to share a SharePoint folder with an external user without requiring a Microsoft account

岁酱吖の 提交于 2020-01-05 05:41:10
问题 TL;DR: How can I programatically share a SharePoint online folder with an external user such that the user only requires an access code and doesn't require a Microsoft account. Full version: I'm using SharePoint online. I want to share folders within the SharedDocuments list with external users. This is simple from the SharePoint front end - select the folder, choose Share, enter external users email address and select Copy Link. SharePoint will generate a url which I can send to the external

Deploying Angular2 project on Sharepoint online

半腔热情 提交于 2020-01-04 06:11:14
问题 I have a sample Angular2 Project (rc-4) created on my local environment which works fine. Now I have to host this on SharePoint Online as a subsite. Unfortunately I have no clue on how to do it and what keywords to search for ? I created a index page in Pages folder and added index.html to it as Web part It gives me the error: System is undefined (because node_modules folder does not exist) I tried to run npm install on the remote location (First Had to edit registry to allow cmd on remote

Deploying Angular2 project on Sharepoint online

我是研究僧i 提交于 2020-01-04 06:10:14
问题 I have a sample Angular2 Project (rc-4) created on my local environment which works fine. Now I have to host this on SharePoint Online as a subsite. Unfortunately I have no clue on how to do it and what keywords to search for ? I created a index page in Pages folder and added index.html to it as Web part It gives me the error: System is undefined (because node_modules folder does not exist) I tried to run npm install on the remote location (First Had to edit registry to allow cmd on remote

Sharepoint 2010 migration to sharepoint online using sharegate

感情迁移 提交于 2019-12-25 14:48:47
问题 We have migrated few surveys from 2010 to SharePoint o365, but we observed that there is a change in Time created of the survey as below in SP 2010 Time Created: 7/17/2014 6:21 AM and in SP online Time Created: 4/29/2017 8:51 PM is this a limitation of share gate that it cannot retain the time created or there is something wrong with the migration? 回答1: Are you talking about the creation date of each survey answer or the creation date of the survey list itself? For each answer, Sharegate

Sharepoint API Headless Obtaining Access Tokens

谁说胖子不能爱 提交于 2019-12-25 09:20:15
问题 I am coding an integration that has to call Sharepoint-online API's. My integration is not a webapp and has to work without a user present. As I understand it I need two setup steps: 1. User has to log in to Azure and set up an application and obtain a client ID. 2. I have to call a service with client ID and username and password I will then obtain an Access Token, Refresh Token and ID Token Once the two setup steps are complete I then can call the service using the access token, but

Adding a Tab to a Team Channel through Flow

隐身守侯 提交于 2019-12-25 02:44:27
问题 I'm trying to use Flow to add a SharePoint List Tab to a Channel in a Team. But while I can add a Tab, the Tab is always blank. I've tried both Microsoft Graph Explorer and Flow but I can't seem to configure the tab to show my SharePoint List. Or any other app for that measure. The tab is always blank. I've followed the POST from the API POST https://graph.microsoft.com/v1.0/teams/{id}/channels/{id}/tabs Body: NOTE: 2a527703-1f6f-4559-a332-d8a7d288cd88 is the TeamsAppsId for Sharepoint and