Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [provider-hosted-app]

A SharePoint 2013 App that is not hosted in SharePoint, but rather by the developer of the app. This hosting is not necessarily done in SharePoint.

0
votes
0answers
9 views

Provider hosted app cross domain call throws 401 error

I created provider hosted app using sharepoint add-in template from visual studio 2017, I have followed all process required for provider hosted app like creating certificate and generating client id ...
0
votes
0answers
9 views

SharePoint Online Multi Geo SPAppWebUrl is not updated after moving site to a new geolocation

I am developing a provider hosted app on SharePoint Online. I move my site which has my app installed to a different geo location (eg: from US to Japan), I notice that the app is also moved to the ...
1
vote
0answers
28 views

SP Host web look not propagated to chrome control in add-in web

I have a provider hosted add-in which uses chrome control. Previously, if I changed the look of SP host web, that change would propagate to add-in web too and chrome control would update. This is ...
1
vote
0answers
21 views

Provider hosted app: TokenHelper not authorized to get context

I followed this tutorial to deploy Provider Hosted App to production environment. It has a proper SSL certificate installed, it's registered within SharePoint and TokenHelper class is modified. App ...
0
votes
0answers
14 views

Low Trust Add-ins in SharePoint 2016 Unauthorized for FBA Users

We have an on-premise SharePoint 2016 server and Low-Trust SharePoint Provider Hosted Add-in hosted in remote server. We referred the below article to configure the environment: https://docs....
0
votes
0answers
52 views

The type of data at position 1206 is different than the one expected

I am using below code to access site/web but keep getting "The type of data at position 1206 is different than the one expected." error. We have two separate tenants and getting this error in one of ...
0
votes
0answers
31 views

SharePoint Provider Hosted App for US Government Cloud

We have a standard provider hosted app that works in normal SharePoint online tenancies. We need to use the same for a US Gov customer and their SPOnline tenancy is in gov cloud. Currently we get (401)...
0
votes
0answers
23 views

How to troubleshoot why my provider hosted app won't upload

I have followed some directions exactly on a youtube video for deploying a provider hosted add in from visual studio 2017. The youtube video also matches the Microsoft docs. I signed up for a new O365 ...
0
votes
0answers
12 views

provider hosted Add-Ins and provisioning modern pages

I am doing a a review on various (classic) sites, to see how much work is needed to migrate these to modern communication, team and hub sites. I found a load of provider hosted apps available for the ...
0
votes
0answers
19 views

Error while uploading a file in a provider hosted app using SP.RequestExecutor.js

I am trying to make cross domain calls and use REST API in SharePoint provider hosted app but to no luck. Below are few things i tried. I have tried implementing the following sample code to validate ...
1
vote
1answer
21 views

External data move to Azure cloud and call web API through Sharepoint online, Please suggest approach

I want to move external data to Azure through web API. I am able to deploy web API in Azure but how to call web API through SharePoint online? Or can we use SharePoint hosted apps for entire scenario ...
0
votes
0answers
10 views

Document Sets in Provider hosted apps

I am currently migrating some old SP solutions to provider hosted apps. The original solution has document sets, meaning that I need to create a method that can create new document sets in the app. I ...
3
votes
2answers
55 views

How to move SharePoint Provider Hosted App from development environment to production environment?

I'm using SharePoint server 2013 along with SQL server 2012, I have developed a provider hosted app in my development environment. Can anybody tell me how to move my app from development to production ...
0
votes
0answers
20 views

S2S authorization only working when user has an active session in SharePoint?

I am working on a provider-hosted app that uses high-trust S2S authorization (please pardon me if my terminology isn't quite right) to access SharePoint on the user's behalf. In my test environment, ...
0
votes
0answers
8 views

Securing SPO Provider Hosted Add-in

Before i start implementing my own custom security i thought i'd ask around perhaps you guys have any tested approach. I have a SPO Provider hosted add-in (hosted in azure) and i need to secure it. ...
0
votes
0answers
176 views

The remote server returned an error: (401) Unauthorized while deploying app via visual studio

I have to give support on SharePoint 2013 app solution. Since the certificate had expired I used the instructions in this article from Microsoft to create a certificate and run the app from Visual ...
2
votes
1answer
44 views

how to handle write to file system, use local folders etc in azure web apps

i am migrating provider hosted app to SharePoint online by deploying it to Azure Web apps. How to handle write to file system and local folder access as we will not have file system in azure web apps? ...
1
vote
1answer
568 views

access another site collection with client ID and client secret

I am trying to access another site collection with client Id and secret, I want to retrieve a list on another website, currently I tried using this method string siteUrl = "https://xyz.sharepoint.com/...
1
vote
1answer
58 views

hosting provider hosted apps in azure web apps or in azure virtual machines having IIS?

we are migrating to sharepoint online. Can you please suggest that we should host provider hosted apps in azure web apps or in azure virtual machines having IIS? which one will be the good approach?
0
votes
1answer
24 views

Unable to view provider hosted app (Server to Server)

I published an app on my dev server to be installed in sharepoint 2013, but I can not view the default.aspx page, invalid certificate prompts
0
votes
0answers
36 views

Package SharePoint Provider Hosted add-in with Visual Studio Team Services

I would like to setup continues build and release for my SharePoint Provider Hosted add-in with Visual Studio Team Services. For now, I am using Visual Studio to publish the Add-in which generates "...
0
votes
1answer
45 views

Sharepoint Online Provider Hosted App not working with On Prem Server

We are creating sharepoint online provider hosted app with our on prem servers. When creating and hosting in local PC its working fine. Also hosted in Azure Web Apps worked fine. When we tried to ...
1
vote
0answers
42 views

Unauthorized error on GetProvisioningTemplate

I have Provider Hosted Add-In and everything is working as expected but fails on 'web.GetProvisioningTemplate(creationInfo)'. it gives me below error The remote server returned an error: (401) ...
0
votes
0answers
47 views

Sharepoint Provider Hosted addin people picker alternative

Well my title pretty much says it all. I'm working on a SP Addin on MVC that creates items into a list, but im stuck at getting the user list so people know how to add into People fields. I know you ...
1
vote
0answers
16 views

Could Provider-Hosted App be inserted in SharePoint Wiki page? [closed]

Resolved: There should be Add-In webpart(Client webpart) also added to project, here is how-to: https://github.com/SharePoint/sp-dev-docs/blob/master/docs/sp-add-ins/include-an-add-in-part-in-the-...
1
vote
0answers
56 views

Cannot debug Provider-Hosted Add-In: VS2017 hangs opening Chrome (resolved)

Update: Resolved (hope so). Maybe this is a bug and upgrade VS2017 to to 15.7.6 helps. I close my Chrome every time before f5 -- Every How-to for beginners in the net say "Hit F5 and voila!" - but ...
0
votes
0answers
37 views

SharePoint Online, cannot see my provider-hosted app in “Insert” -> “App part”

I created provider-hosted app using this video https://www.youtube.com/watch?v=7yK5ZDc8gFY It is deployed as AppService to https://abc.sharepoint.com subscription. I have another tenant, https://cde....
2
votes
1answer
87 views

Call rest api from provider hosted app

I want to call this API -> /_api/SP.UserProfiles.PeopleManager/GetMyProperties from SharePoint provider hosted app, but whenever I'm calling this API what I got is 403 forbidden issue. Here is my ...
0
votes
1answer
101 views

Error in deployment High trust provider hosted add-in

I am trying to create a high trust provider hosted add-in in SharePoint 2016. I have not added any custom code. It is just the auto generated code. I have added the client signing certificate and ...
0
votes
0answers
46 views

SP provider hosted add in remote debugging issue

Whenever I try to debug SharePoint provider hosted web app. It always stopped with the message shown in below mention image. Already followed this but no success -> https://melcher.it/2016/09/azure-...
1
vote
0answers
267 views

UserProfileProperties: You do not have permission to perform this action or access this resource

C#: PeopleManager peopleManager = new PeopleManager(clientContext); PersonProperties personProperties = peopleManager.GetMyProperties(); try { clientContext.Load(personProperties, p => p....
0
votes
0answers
30 views

The remote server return an error: (401) Unauthorized

We have a provider hosted app that was deployed in Windows 2008 server. It was working fine. But once we moved the same code to win 2012, it's getting 401 error. I compare all the settings of win 2008 ...
0
votes
2answers
20 views

How SharePoint add-ins can identify the Host Site URL?

How my add-ins(Provider hosted) can know Host site URL where it is running? Actually, In my case there are external and internal farm with different site URL (see below 2 URLs). Now, in my app, How ...
1
vote
0answers
49 views

Visual Studio get stuck at “Communicating with SharePoint” when deploying

I am trying to deploy a provider-hosted sharePoint add in visual studio 2017 and sharePoint 2016. I have successfully created a Publish Profile using the clientID and secretID. The connection to the ...
0
votes
0answers
216 views

How to call REST api in provider hosted app

I want to call the Site Design apis in my provider hosted app to install site designs. Site design apis are REST apis. But when I trying to call it is always giving me the 403 forbidden error. I am ...
1
vote
2answers
184 views

How to create site template with modern capabilities in SharePoint

I want to create a site template (lets say leave management system) with newly introduced "Site Design". With site design we can create lists, libraries with some set of columns, installing add-in etc....
2
votes
0answers
123 views

Issue With Provider hosted app in SharePoint Online for the Users Randomly

Background We had developed a provider hosted app with Web Forms template for copying the content(list Items,Documents) from one site collection to another site collection,for this we are doing this ...
0
votes
1answer
13 views

Local provider-hosted addin reachable on SharePoint?

is it possible to host a web-service locally and setting it up as a provider-hosted app for a SharePoint site that is reachable over the Internet, provided that the web-service is located on the same ...
0
votes
0answers
78 views

error after renew expiry date of client secret

I have renewed the expiry date of client secret by one year and it gets reflected successfully. However I have update same in client secret(new) and in secondary client secret(old client secret) ...
1
vote
0answers
27 views

Authenticate SharePoint On-Premise from Android App

How to Authenticate SharePoint On-Premise Rest APIs from an Android App?
0
votes
0answers
180 views

SharePoint 2016 High Trust Application launch issue

I have configured my High Trust Application by following steps mention in below link. https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/package-and-publish-high-trust-sharepoint-add-ins ...
0
votes
1answer
117 views

Need help in performing CRUD operations on SharePoint provider hosted app using CSOM

I have trial Azure subscription where i want to practice SharePoint Provider hosted app with it. I am unable to find articles for CRUD operations on provider hosted app with MVC. Infact, i want to ...
1
vote
1answer
57 views

How to add .app (app part) into a share point page using powershell?

I have an App which is already deployed into SharePoint site. I want to add that .app file into a SharePoint page using powershell script. Thanks in advance.
3
votes
2answers
549 views

How to make a C# REST Call from provider hosted app in sharepoint online

I have created one provider hosted app for remote event receiver. In that, I want to make a REST call with c#. below is my code but I 'm getting 401 unauthorized, Uri targetWeb = new Uri(...
1
vote
1answer
26 views

Sharepoint apps configuration with SAN certs?

In our current environment, our app environment is configured with wild card using verisign certs. As Google is planning to mistrusting all certs issued by Symantec and in which verisign falls under ...
0
votes
1answer
289 views

Rendering multiple Instagram feeds as one within SharePoint Online

Hoping some of my fellow SharePoint guru's can point me in the right direction. We have multiple Brands, each brand has their own Instagram account and posts their own content. We would like to ...
1
vote
0answers
41 views

How to get popular Tags using Popular Items' web-part in SharePoint online?

I want to show popular tags used across my site collection. I have tried 'Tag cloud web part' but it has been retired from SharePoint Online. To achieve this I have used 'Popular Items' web part by ...
0
votes
2answers
27 views

Hosted Sharepoint [closed]

Does anyone know of a company that offers a hosted-type service where a public user can create an account, pay a fee, and create / share a sharepoint-based website with others?
0
votes
1answer
62 views

List of deleted users from O365

In SharePoint Provider-hosted App with CSOM, I am trying to get some code related to fetching deleted users from Office 365 online and not from SharePoint site collection. In Visual Studio, I added ...
7
votes
1answer
1k views

Can't install app in AppCatalog

Trying to upload an app to a Sharepoint Online App Catalog. Getting the following error: xxxxxxxx.app Unknown Status Module: 33 Message: 134 It worked 4 days ago. The only thing that I have ...