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
0 answers
5 views

For a provider-hosted SharePoint add-in, is there a way to verify that a client ID/Secret works before deploying?

TokenHelper is used to validate client id/secrets. For my add-in, these values are generated using Partner Center. Is there a way to validate them prior to deploying? Sometimes the generated client ...
0 votes
1 answer
22 views

Can TokenHelper.cs use Azure AD to validate client secrets instead of Azure ACS?

If this is possible, how should the TokenHelper.cs be modified to accomplish this? Background: I have a provider-hosted SharePoint add-in that uses the TokenHelper to validate client id/secrets. ...
0 votes
0 answers
17 views

Can a provider-hosted SharePoint Add-In be re-written to use SharePoint framework? [duplicate]

I'd like to take an existing provider-hosted SharePoint Add-In and convert it to use SPFx. However, it is unclear what the impact would be. For instance, the management of Client ID/Secret which used ...
0 votes
1 answer
46 views

SharePoint Online Provider Hosted API - no search results

Hi I'm using SharePoint Online and the new version of SharePoint Site. Most things work as expected and I've not had too many problems. Unfortunatly I'm really struggling over the Search. I've got my ...
0 votes
1 answer
24 views

SharePoint provider hosted app - IRemoteEventService - Redirect call

We have a provider hosted app deployed in Azure that handles list item events for item create/update etc. It handles traffic from lot of different sites. We want to split the traffic among different ...
  • 666
0 votes
0 answers
42 views

Provider Hosted application in Sharepoint Online and Modern Display

Hi I've a question about provider hosted application development in Sharepoint Online. I'm doing some development and in order to get started the microsoft site says to create a sharepoint 'developer ...
0 votes
2 answers
228 views

Insert a value from a dropdown to a lookup column in SharePoint Online using CSOM/C#

I have a dropdown with values from a column named Title(Single line of text) The end goal is to store these values from the dropdown to a lookup column named Team. Read a few articles here , However ...
  • 37
0 votes
1 answer
114 views

Bind a lookup field to a dropdown in Provider Hosted App SharePoint Online using CSOM/C#

I am trying to bind a lookup column named team to an asp.net dropdown and the dropdown renders blank HTML <asp:DropDownList ID="team" runat="server" AutoPostBack="true"...
  • 37
0 votes
1 answer
62 views

JavaScript CRUD operations in Provider Hosted Apps SharePoint Online

I am new to Provider Hosted Apps and starting off with the basics. Was able to save the data to the list, However facing challenges with edit, update and delete. Scenario: Created a simple form with ...
  • 37
0 votes
3 answers
255 views

How we can secure the ClientID & ClientSecret inside our remote event receivers (Inside SharePoint Provider hosted app)

I have developed many remote event receivers and host them inside azure web apps. now the web.config file inside those remote event receivers contain the ClientId & ClientSecret, as follow:- <...
  • 982
0 votes
1 answer
196 views

Custom action Ribbon with multiple selected files in in CommandAction's Url

i'm creating a Provider-Hosted add-in for Sharepoint online and i want to select multiple files and send their ids with or their urls as query parameters in the CommandAction of a custom ribbon placed ...
0 votes
1 answer
19 views

Intermittent error using search in provider hosted app

Today, we started getting errors when using KeywordQuery searches in our provider-hosted add-in (this is stable code that has been running for months). Intermittently, they seem to be going through. ...
1 vote
1 answer
823 views

[SecurityTokenException: Invalid issuer or signature.]

We have an provider hosted app running in Share Point Online which connects to Azure WebApp Service. The App worked fine for a while and it started to fail after sometime with following error. [...
1 vote
1 answer
186 views

Sharepoint Online CORS to Provider Hosted Add-in

I've got a really strange problem with Sharepoint Provider-hosted Add-in configuration, but only on production site. I've got a frontend deployed to SiteAssets/home.js which is working fine, and the ...
  • 145
0 votes
1 answer
79 views

Server Error in '/' Application - SPO Provider Hosted App

I have a Provider Hosted App in SharePoint online, and the app website is hosted Azure. When I'm browsing the site getting the below run time error. I made the custom error mode off in web.config but ...
2 votes
0 answers
85 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 ...
  • 666
0 votes
1 answer
28 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
1 answer
21 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%...
0 votes
2 answers
178 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
1 answer
821 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
1 answer
36 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
1 answer
33 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 ...
0 votes
2 answers
39 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 ...
  • 61
1 vote
0 answers
30 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 ...
  • 111
0 votes
1 answer
92 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
0 answers
156 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. ...
  • 559
0 votes
1 answer
754 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 ...
  • 559
0 votes
2 answers
760 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
1 answer
88 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 ...
  • 156
1 vote
0 answers
30 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
1 answer
468 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. ...
  • 21
0 votes
1 answer
59 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
1 answer
171 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, ...
1 vote
0 answers
45 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
1 answer
54 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
0 answers
42 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 ...
  • 3,024
1 vote
0 answers
573 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
1 answer
189 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
1 vote
1 answer
128 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
1 answer
93 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 ...
  • 163
1 vote
0 answers
29 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 ...
  • 3,024
1 vote
0 answers
268 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
0 answers
80 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)...
  • 666
0 votes
0 answers
46 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
1 answer
31 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
2 answers
329 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 ...
  • 51
0 votes
0 answers
137 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, ...
  • 358
2 votes
1 answer
734 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
1 answer
3k 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
1 answer
74 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?

1
2 3 4 5
9