sharepoint

Issues accessing Sharepoint .xlsx file in R

家住魔仙堡 提交于 2021-01-27 20:46:46
问题 I am attempting to pull data from our SharePoint using the instructions found here (StackOverflow question). Here is the code I am using: library(readxl) read_excel('//MyCompany.sharepoint.com/teams/MyProject/Shared Documents/MyExcelFile.xlsx', 'Sheet1', skip=1) When I enter https://MyCompany.sharepoint.com/teams/MyProject/Shared Documents/MyExcelFile.xlsx into my browser it prompts me to open the Excel document in Excel (not Excel online). So my assumption is that the link works. I have also

List Microsoft Sharepoint Sites with Microsoft Graph

我怕爱的太早我们不能终老 提交于 2021-01-27 12:23:35
问题 I'm working with Microsoft OneDrive and Microsoft Sharepoint using Microsoft Graph, and as I understood: Url to get file list from logged in user OneDrive is: /v1.0/me/drive/root/children Url to get file list from company Sharepoint Documents is: /v1.0/drive/root/children So my questing is: How to list Sharepoint Sites that user is following and upload files to this Sites 回答1: This isn't possible yet. You need to use the direct SharePoint API end point to access content from SharePoint Sites.

SharePoint Online Merge Unsupported

孤街浪徒 提交于 2021-01-27 06:41:59
问题 I am trying to merge an item into an existing list in SharePoint Online, but receive the following error: "The type SP.ListItemEntityCollection does not support HTTP PATCH method." My configuration is as stated in Microsoft documentation. https://msdn.microsoft.com/en-us/library/office/jj164022.aspx Is there a problem with the permissions for this type of item in the list? How can I modify that? I have seen no references to different types, or resolving this issue. 回答1: This error usually

SharePoint Online Merge Unsupported

血红的双手。 提交于 2021-01-27 06:40:05
问题 I am trying to merge an item into an existing list in SharePoint Online, but receive the following error: "The type SP.ListItemEntityCollection does not support HTTP PATCH method." My configuration is as stated in Microsoft documentation. https://msdn.microsoft.com/en-us/library/office/jj164022.aspx Is there a problem with the permissions for this type of item in the list? How can I modify that? I have seen no references to different types, or resolving this issue. 回答1: This error usually

PowerShell - Enumerating through a collection and change the collection

ぐ巨炮叔叔 提交于 2021-01-26 08:34:49
问题 How it is posible to fix this script? Yes, I´m changing the collection in the foreach loop and this is the reason for this error. An error occurred while enumerating through a collection: Collection was modified; enumeration operation may not execute.. At C:\Users\user\Documents\PowerShell\ChangeAllListsV2.ps1:47 char:20 + foreach <<<< ($list in $webLists) + CategoryInfo : InvalidOperation: (Microsoft.Share...on+SPEnumerator:SPEnumerator) [], RuntimeException + FullyQualifiedErrorId :

Open a file directly in Teams from a tab

 ̄綄美尐妖づ 提交于 2021-01-25 07:04:58
问题 I have deployed a SharePoint webpart (SharePoint Framework) to Microsoft Teams. In this web part, I have a list of files that I want to open directly in Teams. I have tried to get the link from the "Files" tab (https://teams.microsoft.com/l/file/7FFA7D9D-CBF1-4679-9C80-76446AE11ABD?tenantId=0f48c6f4-52a5-4553-b476-4ee2ee0aecca&fileType=docx&objectUrl=https%3A%2F%2Fxyz.sharepoint.com%2Fsites%2FAZRTZ%2FShared%20Documents%2FGeneral%2FArchitecture%2FTest.docx&baseUrl=https%3A%2F%2Fxyz.sharepoint

Open a file directly in Teams from a tab

妖精的绣舞 提交于 2021-01-25 07:00:17
问题 I have deployed a SharePoint webpart (SharePoint Framework) to Microsoft Teams. In this web part, I have a list of files that I want to open directly in Teams. I have tried to get the link from the "Files" tab (https://teams.microsoft.com/l/file/7FFA7D9D-CBF1-4679-9C80-76446AE11ABD?tenantId=0f48c6f4-52a5-4553-b476-4ee2ee0aecca&fileType=docx&objectUrl=https%3A%2F%2Fxyz.sharepoint.com%2Fsites%2FAZRTZ%2FShared%20Documents%2FGeneral%2FArchitecture%2FTest.docx&baseUrl=https%3A%2F%2Fxyz.sharepoint

How to access .xlsx file stored on Sharepoint (with authentication) for Apache POI?

半世苍凉 提交于 2021-01-24 10:57:32
问题 I have a .xlsx file stored on sharepoint, which requires login in order to get/see the excel file. I need that file in order to do some ApachePOI operations on it How to download that file? I have tried doing it via InputStream but I don't know how to authenticate and I get 403 error which is obvious, as I don't provide password/login (don't know how) InputStream inputStream = new URL("https://example.sharepoint.com/something/something1/file.xlsx").openStream(); Files.copy(inputStream, Paths

How to access .xlsx file stored on Sharepoint (with authentication) for Apache POI?

我的梦境 提交于 2021-01-24 10:57:26
问题 I have a .xlsx file stored on sharepoint, which requires login in order to get/see the excel file. I need that file in order to do some ApachePOI operations on it How to download that file? I have tried doing it via InputStream but I don't know how to authenticate and I get 403 error which is obvious, as I don't provide password/login (don't know how) InputStream inputStream = new URL("https://example.sharepoint.com/something/something1/file.xlsx").openStream(); Files.copy(inputStream, Paths

Azure sharepoint multi-factor authentication with python

一个人想着一个人 提交于 2020-12-25 04:13:10
问题 I'm trying to use python to download an excel file that is hosted in a sharepoint which is part of the Microsoft Azure platform . The sharepoint is password protected, and I have an account and a password which I can use to login in via my browser, In order to authenticate with a python script I followed the method suggested in: Sharepoint authentication with python. Which uses the O365 rest python client library and goes as follows: from office365.runtime.auth.authentication_context import