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.

Filter by
Sorted by
Tagged with
1
vote
0answers
17 views

Can a SharePoint Hosted Add-in call a public web API (like Google Maps or Open Weather)?

Assuming, it's a pure JavaScript page/app with no server-side rendering required... Can a SharePoint Hosted Add-in call a public web API (like Google Maps or Open Weather)? Or would this make it a ...
0
votes
1answer
19 views

Current User inside my remote event receiver will always be app@sharepoint

I am working on a remote event receiver which uses app only permission. now i am trying to get the current user who execute the RER:- context.Load(context.Web); context.Load(context.Web.CurrentUser); ...
2
votes
0answers
41 views

SharePoint provider hosted add in throwing 401 error on execute query

We have a provider hosted app used by many customers in SharePoint Online, but there is this one new customer who is getting this error whenever he tries to launch the app after installation. ...
0
votes
0answers
44 views

Provider Hosted App getting 401 Unauthorized error

We have a Provider Hosted Apps running in Azure that are used by many of our customers in SP Online. For few of them, suddenly we are seeing 401 error when trying to get app only access token. Same ...
0
votes
1answer
172 views

502 bad gateway azure app service + provider hosted add-in

I have a provider hosted add-in deployed to azure web application (app service). I have a long running task, iterate through all site collections (including sub webs) in tenant and perform some task ...
0
votes
2answers
65 views

HTML drop downs are not working on sharepoint online page

I am facing one strange issue with HTML drop downs. We have deployed drop downs on SharePoint online pages using provided hosted add-in (MVC solution type). We bind data to these drop-downs using ...
0
votes
1answer
39 views

Issue relate to RER in SharePoint online

I am trying to create a Remote event receiver on SharePoint online. I followed steps given in the below url to create it : Steps to create a remote event receiver RER is getting deployed ...
1
vote
0answers
17 views

Leverage azure app appid appsecret on differet sharepoint tenants

I am developing some api running on azure function app. This api may connect to different sharepoint sites ( even on different tenants ) and perform certain actions. Regarding the api authentication,...
0
votes
0answers
10 views

Unable to add SharePoint provider hosted app. Getting error “Sorry, Something went wrong with adding the app. Click to retry”

While adding app to subsite (through Site Contents > Add an app), we are getting a message "We're adding your app, Click to cancel" for few seconds and then throws an error as mentioned in Title. We ...
0
votes
0answers
12 views

provider-hosted add-in for SharePoint Online Hosted in Azure

I'm trying to publish a SP provider-hosted add-in to Azure. It seems to work in that when I publish from Visual Studio to Azure, I have no issues but when I click on the link (....azurewebsites.net) ...
0
votes
1answer
57 views

SharePoint 2013 MVC Provider Hosted App Authentication Issues in Production

I have developed a Provider Hosted MVC App for SP2013. Everything works in my development environment; however, I am struggling getting it to work in our production (on-premises) environment. ...
0
votes
1answer
34 views

Is it possible to have external provider-hosted app work with SharePoint Lists effectively?

I have been learning about SharePoint and Provider-Hosted Apps recently. Based on some videos and tutorials, I have seen most having a site with a SPHostURL. I was able to recreate that as well. ...
0
votes
1answer
59 views

How to convert SharePoint-2016 Visual Web part(C#) to SharePoint Online

I need to migrate SharePoint-2016 visual web part(C#) to SharePoint online. But visual web part contains custom feature like common XML configuration tags, send mail to users, authenticate AD groups, ...
1
vote
0answers
32 views

Is it possible to authenticate a user in Azure AD from a SharePoint 2013 Provider Hosted Add-In client side

We are developing a SharePoint 2013 Provider Hosted Add-In that calls an API in Azure. The API an App Service that has Azure AD Authentication and OAuth implicit grant type. Our wish is to ...
0
votes
1answer
37 views

SharePoint 2010 workflows doesn't start when an item is Updated by provider hosted App

I'm working on 2013. I'm using 2010 workflows for sending emails to external users on item update. But the items are created using Provider hosted App by the user name "SharePoint APP" and App is ...
1
vote
0answers
14 views

Any API to install add-ins from app store programmatically?

I have two questions: Is there any API like ALM API to install provider hosted add-ins from app store? Even if I install it manually, Get-PnPApp does not return the id of apps installed from app ...
1
vote
0answers
146 views

Error when deploying .sppkg file to SharePoint App Catalog

I have been following this tutorial, and I have been having a bit of trouble deploying the app to the App Catalog in my Office 365 SP-Online tenant. I decided to go back and start again, but this ...
0
votes
0answers
15 views

Error While Configure Provider-Hosted App in SharePoint 2016

I developed Provider-Hosted App using Visual Studio 2017 in SharePoint 2016. Getting error: "The local SharePoint server is not available. Check that the server is running and connected to the ...
0
votes
1answer
45 views

Develop Provider Hosted-App in SharePoint 2016 Environment

I required to develop Provider Hosted-App for access .Net Web Application in SharePoint 2016 environment. Required link for any useful blog or direction of the process. Thanks in advance for help ...
1
vote
1answer
46 views

What is causing a 404 error in VS and 405 error in the browser while creating a local Provider-Hosted app (not azure hosted) for SharePoint Online?

I am using Sharepoint Online and VS2019. I was asked to create a Provider-Hosted App for SharePoint Online, where the App is hosted locally on a computer/server (without hosting on Azure). As a ...
0
votes
1answer
32 views

Authorizing users on an on-premise service from SharePoint Online intranet

I'm reading up on SharePoint Online as a candidate for our upcoming intranet, and have a couple of questions. Let's say I need our users to access some on-premise data, and I write a provider based ...
0
votes
0answers
26 views

Clientcontext is always null in azure hosted Provider hosted app

I am working on provider hosted app to be hosted on azure. I need to create remote event recevier, I am using https://blogs.msdn.microsoft.com/kaevans/2014/02/26/attaching-remote-event-receivers-to-...
0
votes
0answers
253 views

Do i need 'Microsoft.SharePoint.Owin.Hosting.Startup' for a provider hosted app in Sharepoint 2019?

I am attempting to create Sharepoint page with can access multiple Provider-hosted Add-ins. I followed a couple of tutorials online and was able you get a default Provider-hosted application to load ...
0
votes
0answers
74 views

There was no endpoint listening - Remote Event Receiver, On premise provider hosted app

I created an remote event receiver to fire when app is installed on premise provider hosted app. I cannot use azure. While running on doing F5 the solution i get below exception: Installation is in ...
0
votes
0answers
23 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
14 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
121 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
36 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
40 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
31 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 ...
1
vote
1answer
26 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 ...
3
votes
2answers
185 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
44 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, ...
2
votes
1answer
112 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? ...
2
votes
1answer
1k 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
61 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
25 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
1answer
88 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
80 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
72 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
93 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 ...
2
votes
1answer
178 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
128 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 ...
1
vote
0answers
371 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
2answers
22 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
79 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 ...
1
vote
2answers
366 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
163 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 ...

1
2 3 4 5
9