sharepoint

How do I update the value of Person or Group columns in SharePoint lists using the Microsoft Graph API?

眉间皱痕 提交于 2020-06-22 12:43:46
问题 My situation I am using the Microsoft Graph API (Beta) to update SharePoint ListItems. However, I am failing to change the value of a 'Person or Group' column. The column has the attribute 'Allow multiple selections' and accepts both persons and groups. This is how it looks like as part of the ListItem columnSet: { "AssignedTo": [ { "Email": "user@domain.com", "LookupId": 123, "LookupValue": "User Name" } ] } What works Updating the value of columns other than 'Person or Group' is working

Convert the Powershell script to Python 3

烈酒焚心 提交于 2020-06-16 17:46:40
问题 I'm trying to perform an upload files from Linux to share point using Python. However I tried a lot by googling but nothing help. At last I got a power shell script that is working. So requesting for help to convert the below script to Python 3 Specify tenant admin and site URL $User = "justin.jacob@spidersoft.in" $SiteURL = "https://test-my.sharepoint.com/personal/justin_jacob_spidersoftin"; $Folder = "C:\Users\justin.jacob\Desktop\New folder" $DocLibName = "Documents" #Add references to

Convert the Powershell script to Python 3

时光怂恿深爱的人放手 提交于 2020-06-16 17:46:30
问题 I'm trying to perform an upload files from Linux to share point using Python. However I tried a lot by googling but nothing help. At last I got a power shell script that is working. So requesting for help to convert the below script to Python 3 Specify tenant admin and site URL $User = "justin.jacob@spidersoft.in" $SiteURL = "https://test-my.sharepoint.com/personal/justin_jacob_spidersoftin"; $Folder = "C:\Users\justin.jacob\Desktop\New folder" $DocLibName = "Documents" #Add references to

Convert the Powershell script to Python 3

大憨熊 提交于 2020-06-16 17:46:25
问题 I'm trying to perform an upload files from Linux to share point using Python. However I tried a lot by googling but nothing help. At last I got a power shell script that is working. So requesting for help to convert the below script to Python 3 Specify tenant admin and site URL $User = "justin.jacob@spidersoft.in" $SiteURL = "https://test-my.sharepoint.com/personal/justin_jacob_spidersoftin"; $Folder = "C:\Users\justin.jacob\Desktop\New folder" $DocLibName = "Documents" #Add references to

Write to Excel file hosted on Sharepoint 2016 using EPPlus (C#)

笑着哭i 提交于 2020-06-13 10:04:00
问题 I'm trying for many days to write to an excel file without success. The file is hosted on a sharepoint 2016 site which I am the administrator. I can read all the sheets of the file without any problem. But when I try to load it to an ExcelPackage variable, it seems, the stream length is 0. You have details of what happening in the code comments. Do you have any idea of what I'm doing wrong ?? Any help will be appreciated. Here is the code : public static ClientContext clientContext; private

Write to Excel file hosted on Sharepoint 2016 using EPPlus (C#)

和自甴很熟 提交于 2020-06-13 10:02:06
问题 I'm trying for many days to write to an excel file without success. The file is hosted on a sharepoint 2016 site which I am the administrator. I can read all the sheets of the file without any problem. But when I try to load it to an ExcelPackage variable, it seems, the stream length is 0. You have details of what happening in the code comments. Do you have any idea of what I'm doing wrong ?? Any help will be appreciated. Here is the code : public static ClientContext clientContext; private

Get SharePoint List with Python

落花浮王杯 提交于 2020-06-09 13:28:10
问题 I am trying to find any way possible to get a SharePoint list in Python. I was able to connect to SharePoint and get the XML data using Rest API via this video: https://www.youtube.com/watch?v=dvFbVPDQYyk... but not sure how to get the list data into python. The ultimate goal will be to get the SharePoint data and import into SSMS daily. Here is what I have so far.. import requests from requests_ntlm import HttpNtlmAuth url='URL would go here' username='username would go here' password=

How to retrieve value in selected SharePoint list item column

前提是你 提交于 2020-04-30 11:07:43
问题 In a SharePoint list, I have a column that holds a foreign key ID to another list. For example: list teachers list classes with foreign key column teacherID to teacher item I am trying to create a Power Automate flow that starts with a SharePoint "For a selected item" in classes and then modifies the referenced teacher list item. "For selected item" in classes Modify teachers item referenced by classes. teacherID All(!) I need to do is get the value of teacherID , but that has turned out to

How to retrieve value in selected SharePoint list item column

◇◆丶佛笑我妖孽 提交于 2020-04-30 11:06:05
问题 In a SharePoint list, I have a column that holds a foreign key ID to another list. For example: list teachers list classes with foreign key column teacherID to teacher item I am trying to create a Power Automate flow that starts with a SharePoint "For a selected item" in classes and then modifies the referenced teacher list item. "For selected item" in classes Modify teachers item referenced by classes. teacherID All(!) I need to do is get the value of teacherID , but that has turned out to

Teams: Can You Add Members To A Team And Not Generate The 'Welcome To / Intro To Teams' Email?

别说谁变了你拦得住时间么 提交于 2020-04-30 07:03:20
问题 I'm creating a new Team and I have to add new user to this Team but I don't want that the users receive the welcome email. I had tried to disable this function with a rule filter in Exchange and with this command in PowerShell Set-UnifiedGroup $groupName -UnifiedGroupWelcomeMessageEnabled:$false PS C:\WINDOWS\system32> Get-unifiedGroup | Select-object -Property DisplayName, WelcomeMessageEnabled DisplayName WelcomeMessageEnabled ----------- --------------------- MyTeam False But nothing of