sharepoint-online

Microsoft Graph API - Read Office 365 SharePoint List and Pull Data (Images)

偶尔善良 提交于 2019-12-08 05:59:23
问题 Refrencing the following post: Microsoft Graph API - Office 365 Access SharePoint Nested Folder Items I'm able to get a list of Images via the Graph API. I have an MVC Azure App where I'm making these Graph API calls. However when I try to access the Image via the webUrl property, I get access denied. I've been able to get around this by using the @microsoft.graph.downloadUrl property which I can access, download it via HttpClient convert to Byte Array and transform into a Thumbnail. However

Microsoft Graph API - Office 365 Access SharePoint Nested Folder Items

拟墨画扇 提交于 2019-12-08 05:37:58
问题 I was shared access to a SharePoint folder on our Office 365 site. The folder is deeply nested. Something like: http://mycorp.sharepoint.com Our Docs > Marketing > Company > Images Inside the "Images" folder are a list of JPGs. How can I use the Graph API to access this deeply nested folder? I've tried something like: https://graph.microsoft.com/v1.0/sites/mycorp.sharepoint.com:/Documents/Marketing/Company/Images:/Items I feel I'm close but I'm just not sure how to access the nested folder

Trigger Bot with Drag & drop SharePoint Online

空扰寡人 提交于 2019-12-08 05:22:25
问题 I want to be able to trigger my bot who's on my SharePoint online Site by Droping a local file to him. I created a WebPart to use this bot on the site, and putting the embed code give by Azure. But when i drop a file in the bot, it open the document in a new tab showing me the content. I would like to start the conversation while drop a file like this : Start of bot conversation by putting a file I'd imagine some solution by using a drop zone on the iframe which contain the bot, but it's not

SharePoint Online authentication failure

蓝咒 提交于 2019-12-07 10:20:43
问题 I have a C# app which authenticates to SharePoint Online by using web requests. It works great for me, but someone else is getting the following error: <?xml version="1.0" encoding="utf-8" ?><S:Envelope xmlns:S="http://www.w3.org/2003/05/soap-envelope" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wst="http://schemas.xmlsoap.org/ws/2005/02/trust

Sharepoint Online (Office 365) - How to set Allow/Full Control permission for 'Add and Customize Pages'

半城伤御伤魂 提交于 2019-12-06 15:43:48
I could not find a way to enable Full Control for the feature Add and Customize Pages in Site Permissions screen. I am the administrator of the Site Collection and have created this site myself, but still I could not allow myself to allow this feature. When used Check Permissions screen, it is showing Deny status (as below): My Admin setting for SharePoint has Custom Script enabled (as below image): I am using SharePoint Online(Office365). 来源: https://stackoverflow.com/questions/51647702/sharepoint-online-office-365-how-to-set-allow-full-control-permission-for-a

How to authorise (with OAuth 2.0) in JMeter having sharepoint online app?

浪子不回头ぞ 提交于 2019-12-06 10:51:43
I have recorded scripts for all test cases, and run all test cases due to the OAuth 2.0 it is failing all of the test cases. Now I have to authenticate OAuth 2.0 in JMeter, I have following information: client_id, response_mode, protectedtokena, response_type, resources, scope, nonce,redirect_uri,wsucxt, cobrandid, client-request-id . Add (or parametrize) parameter Authorization in your HTTP Header Manager. Add Bearer ${AuthToken} value. You should parse that token from previouse request. Check this guide about How to parse auth token 来源: https://stackoverflow.com/questions/54401892/how-to

How do I pass user credentials from the console to SharePoint Online?

别说谁变了你拦得住时间么 提交于 2019-12-06 06:43:40
问题 I am trying to connect SharePoint 2013 Online website using a Context Token from a console executable. However, it is giving me error The remote server returned an error: (403) Forbidden. Here is the code snippet: string spurl = ConfigurationManager.AppSettings["Sharepoint_URL"].ToString(); using (ClientContext context = new ClientContext(spurl)) { context.Credentials = new NetworkCredential("username", "password", "domain"); context.ExecuteQuery(); Web web = context.Web; context.Load(web);

The proper way to write a SharePoint User to a User Field in a SharePoint list

安稳与你 提交于 2019-12-06 03:37:53
问题 I'm writing a user to a SharePoint list. I've read that the SharePoint User field has a string like this inside of it: userId;#userLoginName I've tried formatting in the same way when writing to a User field, for example when I write this string it works: 9;#i:0#.f|membership|ectropy@example.org But what is strange (to me at least) is that 9;# seems to work or even 9 . Even if I don't pass the userLoginName info at all, the loginId seems to be enough for it to recognize which User I'm talking

Microsoft Graph - Why is root site read access needed to access subsite in another site collection?

心不动则不痛 提交于 2019-12-06 02:32:56
I'm trying to access the items of a list that is a part of a nested subsite, like this: https://{mytenant}.sharepoint.com/ vendorSiteCollection/ vendorAppSite/ vendorList My test user has only Read permission on the vendorAppSite Subsite. I have removed read permissions from all other sites, including the root site collection at https://{mytenant}.sharepoint.com . If I navigate to here in a browser: https://{mytenant}.sharepoint.com/sites/{vendorSiteCollection}/{vendorAppSite}/Lists/{vendorList}/AllItems.aspx Then I see the list, just as expected. However, when I make this request in the Graph

SharePoint Online authentication failure

人走茶凉 提交于 2019-12-05 14:45:57
I have a C# app which authenticates to SharePoint Online by using web requests. It works great for me, but someone else is getting the following error: <?xml version="1.0" encoding="utf-8" ?><S:Envelope xmlns:S="http://www.w3.org/2003/05/soap-envelope" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wst="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:psf="http://schemas.microsoft.com/Passport/SoapServices/SOAPFault"> <S:Body> <S:Fault> <S:Code>