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
2answers
534 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 ...
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 ...
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 ...
3
votes
1answer
733 views

Get SharePoint group permissions level name based on group name Using SharePoint Rest API

I am trying to get SharePoint User group permissions (Ex: Read, Contribute) based on the group name using SharePoint Rest API. My goal is to get the permission level of the group and disable features ...
0
votes
2answers
737 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 ...
0
votes
1answer
686 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 ...
1
vote
1answer
679 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
0answers
26 views

SharePoint Add-in: Client Id and secret for US Gov tenancy

We have a SharePoint (SP) provider hosted add-in that works in normal SP sites in commercial cloud. However, for tenancies where Azure AD is in US Gov cloud, we are not able to create the client ...
0
votes
1answer
24 views

SharePoint list item events are not fired if item has lot of data

I have a SharePoint provider hosted app to process list item events (Item Create/Update/Updating). Server side solution is hosted in Azure and it just writes a small entry to database when event is ...
0
votes
1answer
697 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 ...
0
votes
0answers
20 views

High Trust App for Sharepoint 2013 access denied in combination with AD group

I use some simple High Trust code to do actions from a remote timerjob (console app) on several sitecollections in my farm. I have simplified the code to just do a executeQuery to get the web title. ...
2
votes
1answer
777 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 ...
2
votes
1answer
966 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
1answer
738 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
1answer
765 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
0answers
12 views

Upgrade AppInstance that is in AppCatalog with Powershell

I'm on sp2013 Enterprise on-prem and using an on-prem hosted app. The .app file is deployed to an appcatalog. I update the hosted app version by dropping the app file into the appcatalog. This makes ...
1
vote
1answer
1k 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
0answers
10 views

AppWebUrl is undefined for using cross-domain library in Provider Hosted App-2016 On-Premise

App is Hosted on IIS below the URL: https://localhost:44343/Pages/Default.aspx?SPHostUrl=http%3A%2F%2Fecontent&0319c41%2Eecontent%2Eelibrary%2Eapps%2Elocal%2FSharePointApp2%5Fsingeltest. I have ...
0
votes
1answer
15 views

Provider Hosted App-Not able to get data from list using JSOM or Javascript in sharepoint 2016 On-Premise

My Provider-Hosted App published and hosted on IIS with https. The URL is like: https://localhost:44343/Pages/Default.aspx?SPHostUrl=http%3A%2F%2Fecontent&0319c41%2Eecontent%2Eelibrary%2Eapps%...
3
votes
1answer
854 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
863 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
1answer
887 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
3answers
959 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
88 views

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, ...
0
votes
2answers
15 views

1 Hosted App Domain for 2 seperate Farms

I am working with SharePoint 2013 Enterprise on-premise and am new to provider hosted (self-hosted) Apps. I have multiple single server developer instances: myDev01, myDev02, myDev03, myDev05, etc. I ...
0
votes
2answers
41 views

How to send an email from a remote event receiver? can we still use MailMessage?

I have a server-side event receiver inside our SharePoint 2013 farm, and inside the ER i am sending emails using this code:- using (MailMessage myMailMessage = new MailMessage()) { ...
2
votes
1answer
671 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 ...
1
vote
1answer
100 views

SharePoint 2016 high-trust app: getting 401 unauthorized and “Azure Access Control Service is unavailable”

We are trying to deploy our first high-trust SharePoint 2016 app in a non-dev environment but get the common “401 Unauthorized” error. Our environment is as follows: SharePoint 2016 Server Remote ...
0
votes
0answers
16 views

SharePoint Online + provider hosted AddIn on Azure App Service - IP ranges to allow

We have a working solution for custom Excel import into SharePoint Online list. It was developed as Provider-hosted add in and its being hosted on Azure App Service. Right now Azure App Service is ...
1
vote
0answers
24 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 ...
1
vote
1answer
649 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.
0
votes
1answer
18 views

Send email inside our SharePoint provider hosted add-in (remote event receiver)

I am working on a remote event receiver for our SharePoint online site collection, the remote event receiver is implemented as a provider hosted app hosted inside Azure WebApp. now inside the remote ...
1
vote
1answer
25 views

How to publish provider hosted app in SharePoint store?

I am trying to publish provider hosted app. But i am unable to find how to publish it. Previously i did it but at that time, seller dashboard was completely different. But when i checked it now, it ...
1
vote
1answer
671 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
676 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. ...
0
votes
2answers
213 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
126 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
25 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
75 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
400 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
1k 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
10k 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
86 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 ...
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
51 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
20 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
627 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
0answers
13 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
2answers
611 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 ...

1
2 3 4 5
9