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
1answer
64 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 ...
0
votes
1answer
390 views

Get all list items in provided-hosted add-in (SharePoint Online)

I am trying to get all items of a list and show the Title. Although i can get a list and show its Title i cannot get its items. It seems i use the suggested code but the ListItemCollection object has ...
1
vote
1answer
261 views

Can I Register and Host multiple Remote Event Receivers using the same Azure Web App URL

I have the following question on how many Azure Web Apps i need to create, for hosting 8 Remote Event Receivers? Where In my case i have 8 Remote Event Receivers, which have been developed as Provider ...
1
vote
0answers
290 views

Why we need to generate new ClientID and ClientSecret for provider hosted app from appregnew.aspx? and we cannot use the one generated by VS project?

I am a bit new to the Provider-Hosted App world inside office 365, and there are confusing issues i am facing in understanding the idea of registering our provider-hosted apps inside the site ...
2
votes
1answer
193 views

Is there a way to attach a Remote Event Receiver to all the custom lists inside a site collection + can i test the RER without having Azure ServiceBus

I have the following:- Sharepoint Online. Visual Studio 2015. Azure free trial account. now i want to do the following:- Develop a remote event receiver which will get fired when items are added ...
0
votes
1answer
57 views

AppPrincipals in SharePoint Online with Powershell

An app that installs without issues manually via UI needs to be installed automatically. It's a provider-hosted app with Azure website. The solution here: Office 365: Publish and deploy .app ...
0
votes
1answer
187 views

Error occurred in deployment step 'Install SharePoint Add-in': Could not find a part of the path

I am receiving the above error when trying to deploy a provider hosted add-in to the SP site. The error started appearing after the Visual studio 2017 update from ver.:15.2 to ver.:15.4. New empty app ...
1
vote
0answers
28 views

Deployment of Provider Hosted Addin

I created a Provider Hosted Addin for SharePoint Server 2016 using Visual Studio 2015. All went well. When I right click solution and chose Deploy Solution, Visual Studio only display 'Deployment ...
0
votes
1answer
159 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 ...
1
vote
0answers
63 views

Can't set Context in Provider Hosted App

I'm trying to get access to context in a provider hosted Sharepoint App, so that I can use the following to move folders via javascript: SP.MoveCopyUtil.moveFolder(context,currentFolder,...
5
votes
0answers
45 views

The Client ID submitted in your add-in package does not match the Client ID submitted via the Seller Dashboard

I have registered my Provider Hosted Add-in to Microsoft Seller Dashboard. Microsoft has send back a report with this error: The Client ID submitted in your add-in package does not match the ...
3
votes
1answer
329 views

Remote Event receiver using provider hosted app

Getting error on deploy Remote event receiver using provider hosted app solution in SharePoint online. Cannot register Services/RemoteEventReceiver1.svc on Microsoft Azure Service Bus: The remote ...
4
votes
1answer
606 views

How to implement Remote event receiver in sharepoint online?

How to implement Remote event receiver in SharePoint online using provider hosted app and how to configure service bus for debugging remote event receiver in provider hosted app?
2
votes
0answers
58 views

Is it feasible to check PDF accessibility using c#?

I need to check accessibility for uploaded pdf using any dll or any other way. Is it feasible programmatically using c#. Accessibility of pdf means pdf contain header or footer and misspelled word in ...
0
votes
1answer
301 views

SharePoint provider hosted app 403 error using REST API

I am creating a provider hosted app for SharePoint online and trying to get a list using rest API in a view but I am getting 403 error access denied error. I have already set permissions in app ...
0
votes
1answer
292 views

Get SPContext in Web Method of Provider hosted app of MVC Forms

I am developing a Provider hosted app of MVC type for SharePoint Online. I am trying to get the SharePoint Context in a Web Method in provider Hosted app of Type MVC application. I am able to get ...
0
votes
1answer
67 views

O365 Provider Hosted App: Programmatically get installed version of app in a site

Is there a way to check the version of Provider Hosted App installed in a web in SharePoint Online? App requires full control permission on the web and app only access is also true. So it is possible ...
1
vote
1answer
381 views

'Title' field initialization error in SharePoint online add-in

I'm trying to write a SharePoint add-in which has a part that has to assign the name of a selected file in "Documents" list to a string called title. protected void Page_Load(object sender, EventArgs ...
1
vote
0answers
179 views

Low trust SharePoint provider hosted app

For learning purposes I am trying to create a low trust provider hosted app on my on prem SP2013 machine on a team site collection. I have created a new project with an MVC application template. When ...
5
votes
2answers
672 views

SharePoint Add-in - Modify App Domain Name

I have come across situation where I need to change App domain name which we set in early steps of configuring environment for SharePoint add-in while creating isolated app domain. I read somewhere (...
1
vote
0answers
91 views

Publish code from visual studio 2015 to Azure

We have been hosting the provider hosted app on the Azure environment from Visual Studio 2015.But from today morning the below error is coming. Web deployment task failed. (Could not connect to the ...
3
votes
1answer
1k views

How do SharePoint-Hosted Apps authentication and authorization work?

How SharePoint-Hosted Apps Authenticate and Authorization? Is it same as Provider-Hosted Apps or different? Provider-Hosted Apps use OAuth; what about SharePoint-Hosted Apps? For cross domain ...
8
votes
1answer
451 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 ...
3
votes
0answers
64 views

How to restrict the Provider Hosted App installation on subsite?

I have created a Provider Hosted App for SharePoint On-Premises and SharePoint Online. My requirement is that this app should only installed if its a Site Collection. If it is a Site within a Site ...
0
votes
2answers
300 views

Error with permissions to a provider hosted app - 'Only Tenant admins can add/give access to app'

I am trying to deploy a Provider Hosted App to my Sharepoint o365 Dev Site. I am getting the following error - I am logged into the site as a tenant administrator The app needs to have (and ...
9
votes
1answer
325 views

How to change hosting server for SharePoint Provider Hosted Apps without disturbing the existing users?

I have created a Provider Hosted App for SharePoint Online. I used Azure hosting server to host my app business logic. Now, somehow I want to move my Hosting server from Azure to another domain. But ...
0
votes
0answers
253 views

Creating a custom List view & set Target audience for that List view web part using Client object model

I am working in a provider hosted app in O365 SP Online and I want to create a SP list view programatically. How do I do that? Edit:1 But the tricky part I have is apart from fields, I want to set ...
3
votes
0answers
375 views

Get list of Azure Active Directory Client Users in provider hosted app SharePoint online

I am trying to get Azure active directory users from provider hosted app with following code: private void bindUsers() { ActiveDirectoryClient client = AuthenticationHelper....
4
votes
1answer
778 views

Get current logged in user in provider hosted app

I have to get current logged in user in provider hosted app event receiver. I used the below code to get the current user name, but I got current user name as Sharepoint App instead of Current ...
2
votes
1answer
40 views

SharePoint Provider Hosted App stops working

I am having problem in Sharepoint provider hosted app. I have created one app with CSOM for script injection in sharepoint online and hosted in azure. I took solution from GitHub PNP script injection. ...
3
votes
0answers
335 views

Expose Internal Web Service To SharePoint Online

I have several web services that run internally that are utilised within SharePoint. We are using SharePoint 2013 On Prem but are planning a move to the cloud. I currently have a farm solution which ...
1
vote
1answer
191 views

Log errors of event receiver azure hosted office 365 apps

I have one app for Office 365 with Azure hosted. I have some code in my app event receiver. I am able to deploy my app in app catalog but not able to add it to site collection due to installation ...
0
votes
1answer
72 views

User Creation Problem in AAD

newUser.DisplayName = objUser.DisplayName; newUser.UserPrincipalName = objUser.UserPrincipalName; newUser.AccountEnabled = true; newUser.MailNickname = "...
1
vote
0answers
69 views

Provider Hosted App using DevOPs

We are using SharePoint Online, and have developed a provider hosted app. How to Deploy this provider hosted app using DevOps model?
1
vote
1answer
918 views

SharePoint 2013 Provider-Hosted App “Azure Access Control Service is unavailable”

I am currently in the middle of Provider-Hosted App hell. I have developed several test apps for my QA environment following the dev center tutorials (Create: https://goo.gl/dDis9Q , Publish: https://...
1
vote
0answers
44 views

Create high trust for SharePoint Add-ins in SharePoint on-premises

I had configured app domain for on-premises ,And I am looking for the next level to generate the Certificate for high trust . Can any one guide me how can I generate certificate for developers
1
vote
0answers
121 views

Close The Modal Dialog Of A Provider-Hosted App

I have a provider hosted app which creating a custom ECB and Ribbon action on lists in SPO which opens popup using the newcustomaAction.Url = "javascript:OpenPopUpPageWithTitle('" + Actionurl + "', ...
0
votes
1answer
118 views

Upload File on SharePoint Online through a Javascript app hosted externally

I am working on a SharePoint Site , and I have got a new requirement from a user (Office 365 User), to provide them a way of directly uploading a file from the web app instead of going to the ...
0
votes
1answer
138 views

SP Provider Hosted Add-in: HTTP Request is unauthorized while calling ItemAdded RER

I am working on SharePoint Provider hosted app for SharePoint Online. The remote web application is deployed on Azure Web App service(azurewebsites.net) and configured authentication/authorization ...
1
vote
1answer
4k views

Provider Hosted App in sharepoint online without using Azure

can we develop a Provider Hosted App in SharePoint online without using Azure? Or is it only possible only in SharePoint on-premise? If possible please provide some reference. Thanks in advance...
1
vote
1answer
567 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
1k views

Sharepoint provided hosted app client context on Web Api project

I have a visual studio solution with the folowing projects: -Provided hosted app -Asp.net MVC -Asp.net Web api Is it possible to use CSOM within Web api project? So I can consume the web api ...
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
0answers
40 views

Provider Hosted Application With Top and Left Nav

I currently have a provider-hosted SharePoint Add-In that is using the chrome control to provider navigation back to SharePoint. What are my options to make the application feel like it is more of a ...
0
votes
1answer
114 views

SharePoint online app build time

I have created a SharePoint App(SharePoint Add-in) with 70 columns 6 content types and 8 lists and I am deploying the Sharepoint app to SharePoint online. It takes around 16-18 mins to retract, ...
0
votes
1answer
147 views

How to host multiple Provider Hosted App in Single App WebApp?

The VS solutions is as below App1 App2 Web1 >>Should be associated with App1 Web1 >>Should be associated with App2 How to host multiple Provider Hosted App in Single App WebApp?
0
votes
1answer
277 views

Show provider hosted app page in modal popup

I want to show provider hosted app page in modal pop-up from host web.
0
votes
1answer
98 views

Provider hosted app throws an error when being installed via Powershell

We have a provider hosted app that is generally working. The environment is set up and prepared (client id, secret, registered). The remote site is set up as well. When I add an app package (.app) ...
2
votes
0answers
692 views

SharePointContextProvider.Current.GetSharePointContext(Context) returns null on postback from IE browser from provider hosted app

I have a provider hosted app hosted on Azure and installed in SharePoint Online (Office 365). It works fine on Google Chrome browser but fails to get SharePoint context on post back using ...