sharepoint

This document must contain content type properties - Run time error - 2147216381(80041403)

点点圈 提交于 2021-02-20 04:30:07
问题 I save my file to the SharePoint folder(onedrive sync) using the following VBA code. Off late for some reasons not known to me the SharePoint properties are not displayed ActiveWorkbook.SaveAs fileName:=spath & e wherein spath is the SharePoint path and e is the filename. However, if a file is saved manually to the same folder then the properties appear. any help is appreciated For better understanding here is a screenshot of my query 回答1: If you cannot save the file directly to SharePoint,

Access Office 365 (sharepoint REST api) in Azure using Java

こ雲淡風輕ζ 提交于 2021-02-20 03:51:26
问题 I am new to Azure and sharepoint integration with Java. I am trying to integrate Java with Sharepoint. The Sharepoint-Office 365 is available in Azure ADFS. I need to write a Java program to authenticate and then access the files using the RESTful APIs provided by Sharepoint. Azure is using WS-Federation authentication process. I have been trying to look for the code that helps me to use the WS-F authentication and then access the files. I am not able to find any useful material. The basic

Access Office 365 (sharepoint REST api) in Azure using Java

ぐ巨炮叔叔 提交于 2021-02-20 03:50:44
问题 I am new to Azure and sharepoint integration with Java. I am trying to integrate Java with Sharepoint. The Sharepoint-Office 365 is available in Azure ADFS. I need to write a Java program to authenticate and then access the files using the RESTful APIs provided by Sharepoint. Azure is using WS-Federation authentication process. I have been trying to look for the code that helps me to use the WS-F authentication and then access the files. I am not able to find any useful material. The basic

Access Office 365 (sharepoint REST api) in Azure using Java

送分小仙女□ 提交于 2021-02-20 03:49:24
问题 I am new to Azure and sharepoint integration with Java. I am trying to integrate Java with Sharepoint. The Sharepoint-Office 365 is available in Azure ADFS. I need to write a Java program to authenticate and then access the files using the RESTful APIs provided by Sharepoint. Azure is using WS-Federation authentication process. I have been trying to look for the code that helps me to use the WS-F authentication and then access the files. I am not able to find any useful material. The basic

Could not load file or assembly after publishing to Azure app service

邮差的信 提交于 2021-02-19 23:21:37
问题 I am suddenly seeing this error when running my app (published on Azure app service: Could not load file or assembly 'Microsoft.SharePoint.Client, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified. at SharePointLibrary.SPClient.GetAllUsers() at ADVWKSP.Managers.UserManager.GetUsers() in C:\Users\bassie\source\repos\TFS\ADVWKSP\ADVWKSP\Managers\UserManager.cs:line 21 It runs fine on my machine, and it used

Getting filenames from a folder in Sharepoint with VBA

陌路散爱 提交于 2021-02-19 12:50:29
问题 I've done alot of research on this and found a number of help sites but still can't understand why this sometimes doesn't work. I'm trying to access a sharepoint site (to which there are no restrictions for me) and extract all the files in a folder within that site. Sometimes my Path works and it does it, other times it does not. I have a feeling it works if I've gone into the sharepoint site on my browser before but can't confirm that (because I just tried it again now and it doesnt work

Getting filenames from a folder in Sharepoint with VBA

泪湿孤枕 提交于 2021-02-19 12:47:24
问题 I've done alot of research on this and found a number of help sites but still can't understand why this sometimes doesn't work. I'm trying to access a sharepoint site (to which there are no restrictions for me) and extract all the files in a folder within that site. Sometimes my Path works and it does it, other times it does not. I have a feeling it works if I've gone into the sharepoint site on my browser before but can't confirm that (because I just tried it again now and it doesnt work

Embedding Azure chatbot webchat channel into SharePoint Online Modern Pages

会有一股神秘感。 提交于 2021-02-19 05:43:06
问题 So I've been having this problem where I am trying to embed an Azure Web App Bot WebChat channel into a SharePoint Online Modern Site page. I'm not sure if it should be as straightforward as I think, but I add the "embed" webpart and attempt to add the iframe code, however I get the following error: We can't show this embedded content because the code seems to be incomplete. Make sure that the embed code includes width, height and a valid address for the src attribute. The auto-generated

Sharepoint online 'Unsupported app only token.'

拈花ヽ惹草 提交于 2021-02-11 15:25:13
问题 I got myself a bearer token by calling https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token with the scope https://{tenantName}.sharepoint.com/.default It's a token for a registered app in Azure AD. When I use that token to make an API call like https://infoinnobake.sharepoint.com/_api/search/query?querytext='contentclass:STS_Site contentclass:SP.Webb'&selectproperties='Title,Path'&rowlimit=500 I only reveice 401 Unsupported app only token. can some explain why? Is it possible to

How to delete SharePoint Site Collection using pnp csom programmatically

蓝咒 提交于 2021-02-11 14:24:07
问题 I have a requirement on SharePoint Online Office 365. As per my requirement, I have to delete all the Site Collection from SharePoint Online Office 365 Admin Center using pnp csom programmatically. Anyone can suggest that how can I delete all the Site Collection? 回答1: You can use DeleteSiteCollection extension method to remove the site collection. It can be used as below: string userName = "admin@tenant.onmicrosoft.com"; string password = "password"; string siteUrl = "https://tenant-admin