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
0
votes
1answer
49 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
3answers
935 views

how to add a Content Editor WebPart on a page using CSOM by Provider Hosted App

I am creating a Provider Hosted App. USing the App, i would create a subsite.I want to add a Content Editor Webpart on the homepage of a newly created subsite using CSOM. Can anyone suggest how to do ...
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
35 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
1answer
103 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 ...
8
votes
2answers
659 views

Sharepoint App Secret Expiration

My actual question is block-quoted below, but read on for context. When you use AppRegNew.aspx to setup app credentials for provider-hosted apps the secret expires (by default) after 1 year. This ...
4
votes
3answers
9k views

Using TokenHelper from backend with refresh tokens and app only access

I'm trying to implement a provider hosted app with the purpose of adding list items to sharepoint online sites from a scheduled job (console app) or windows service. So I've created a provider hosted ...
0
votes
0answers
39 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 ...
6
votes
1answer
2k views

SharePoint App - Custom ribbon button enable/disable

I am deploying custom ribbon button using SharePoint provider hosted app. I was able to show button where I wanted but not able to control enable or disable state of the button. It remains active ...
2
votes
1answer
630 views

SharePoint Apps : Who can see it in “Site contents”?

Here is a good sample project that explains how to use APPS to provision custom components on sites in SharePoint online with custom fields, content types etc. In brief, the app explained in the video ...
0
votes
1answer
39 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 ...
3
votes
2answers
2k views

Provider Hosted App Timing out after x minutes

I have a Provider hosted app which I use to enter quote data into Sharepoint Office 365. The Host is a MVC C# Webpage. The action in the controllers all have a similar format like this: [...
0
votes
1answer
38 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 ...
0
votes
2answers
1k views

SharePoint Provider-hosted app: Can't call REST or use JSOM

I have an AngularJS web app that is registered as a Provider-hosted app on an on-premises SharePoint 2013 site (not Office 365 or SharePoint Online). The Provider-hosted app is hosted on a separate ...
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
8 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 ...
1
vote
1answer
662 views

Provider Hosted App stuck on installation

I'm working on provider hosted app in visual studio C#. But the project stuck on while installation. 3> Installation is in progress (00:13:09) 3> Installation is in progress (00:13:11) 3> ...
1
vote
1answer
635 views

What Permission Level A Provider Hosted App Needs To Have To Access SharePoint Group Users

I need to access SharePoint User Group in the provider hosted app, but not sure what minimum permissions will be required to achieve it.
1
vote
1answer
611 views

Provider Hosted high trust App- 400 Bad request

I am getting 400 bad request when provider hosted app is trying to connect to SharePoint.Below is the stacktrace: System.Net.WebException: The remote server returned an error: (400) Bad Request. ...
0
votes
1answer
665 views

Http GetResponse Forbidden (403) : Provider-Hosted App after restore

I come here as a last resort, I don't know what the hell happened. I restored my server battery and I've got the whole thing working, besides a provider hosted app that I made before. when I deployed ...
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) ...
1
vote
1answer
655 views

How to make cross site collection call using CSOM for on premise provider hosted app

I have requirement that Provider hosted app is in in http://localhost:1234/site1 for example and I need to get the list items from the list in http://localhost:1234/site2 Uri hostWeb = new Uri(...
0
votes
1answer
716 views

Custom Ribbon Action always enabled? Logic to disable not working

I recently created a new Sharepoint App to add a custom ribbon action to my ribbon bar. I want to make sure the button is only enabled when at least one selection to a document selection is made. ...
0
votes
2answers
606 views

Publish Provider-Hosted App Problem

I have a default provider-hosted application that prints the site title. When I publish it to my Windows Azure it works great, but when I publish it to my company server (Windows Server 2008 R2, IIS ...
0
votes
1answer
748 views

How to write Join 4 lists using CAML Query (CSOM)

I have four lists in my site. I need to get data from all these lists in CSOM (Provider hosted app). All these lists are connected linearly (one to one). List 1 -> List 2 -> List 3 -> List 4. for eg ...
0
votes
1answer
637 views

Could not establish trust relationship for the SSL/TLS secure channel. SP Provider hosted

im trying to configure my sharepoint server to rung sharepoint provider hosted apps. i followed this article on msdn to cinfigure the machine and then configured IIS to run site run over https. ...
2
votes
1answer
767 views

Not able to add an app part to the page with a shared provider hosted app

Situation: I created a SharePoint provider hosted app that contains an app part. I installed the app inside the app catalog. By using the deployment option on an app installed in the app catalog, I ...
1
vote
1answer
790 views

Can't add App Part / Add-in to Site Page in SharePoint Online

I created a provider-hosted add-in, added it to the app catalog, and added it the site. But I don't see it when trying to add it as an "App Part" / "Client App" / "App Part" Am I forgetting a step? I'...
0
votes
1answer
683 views

App Installed Event Receiver -> Access Denied

I am using AppInstalled event receiver to create a list in host web and then breaking its role inheritance. The list is created successfully but I am getting "Access Denied" while breaking role ...
2
votes
1answer
953 views

Get Sharepoint Permissions\Roles (custom) of a user from AD Group that is part of SP Group via CSOM

SharePoint 2013 + provider-hosted app. User is part of AD group. AD group is part of Sharepoint group. Sharepoint group has custom security permissions assigned. How do I check whether user has some ...
0
votes
2answers
200 views

Change ClientId - Update on Installation of provider hosted App

When you publish a new provider hosted app using F5 - deployment, the new version of the app will be installed and a new ClientId will be generated. In addition that ClientId will automatically be ...
0
votes
1answer
695 views

High trust provider hosted app vs SharePoint hosted app

We know that we can create both SharePoint hosted app and high trust provider hosted app in on-prem i.e. non-cloud environment. But in which scenario we should for high trust provider hosted app and ...
3
votes
1answer
813 views

Low-Trust Provider Hosted App Unauthorized for FBA users

I configured my on-premise SharePoint environment for Low-Trust provider hosted apps as per below article "https://msdn.microsoft.com/en-us/library/dn155905.aspx" My SharePoint web application ...
0
votes
1answer
812 views

Get document from Document Library using Javascript

I am trying to get a document from document library.I am getting the file but I can't get its binary value. $.ajax({ url: fileUrl, binaryStringResponseBody: true, headers: { "...
0
votes
2answers
447 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 ...
0
votes
1answer
869 views

How to get ProductID for provider hosted app?

There is ProductID mentioned in the AppManifest.xml as a GUID. How can I get that ID using Client object model?
0
votes
1answer
32 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
56 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
31 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
34 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
13 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 ...
6
votes
1answer
2k views

Angular 2 with SharePoint provider hosted app

I have one requirement to create SharePoint Provider hosted app with Angular 2. I have beginner level knowledge about SharePoint app with Angular2. I have created one SharePoint Provider hosted app ...
1
vote
1answer
689 views

SharePoint Online Provider Hosted Low Trust Apps hosted on IIS not working

I am trying to create a provider hosted app in SharePoint Online trial tenant with the remote web of the app hosted in IIS of an on premise server. It is a simple Hello World app, with the remote web ...
1
vote
0answers
111 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
43 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
762 views

Developing a provider-hosted app which contains remote event receiver on a local client

I develop a provider-hosted app for our SharePoint 2013 on-premise environment, which has an app installed event receiver. Is there any way to develop an app, which includes event receivers on a ...
5
votes
2answers
2k views

Error while installing SharePoint Provider hosted app “”The remote event receiver callout failed."

We have developed a provider hosted app by pointing to SharePoint online which holds a simple logic in the app installed event. The remote web component of the app is deployed to an on-permises ...
1
vote
1answer
42 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
28 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 ...

1 2 3 4 5 9