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
2
votes
1answer
49 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
463 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
288 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
83 views

User Creation Problem in AAD

newUser.DisplayName = objUser.DisplayName; newUser.UserPrincipalName = objUser.UserPrincipalName; newUser.AccountEnabled = true; newUser.MailNickname = "...
1
vote
0answers
78 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
2k 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
59 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
139 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
187 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 ...
1
vote
1answer
223 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 ...
3
votes
1answer
6k 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
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
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
42 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
120 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
155 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
335 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
136 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) to ...
2
votes
0answers
933 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 ...
0
votes
1answer
49 views

Adding Permissions for App to List

I created a list using a provider hosted app. I changed the permissions to that list for a specific usergroup: private void CreateList(string ListName) { Web web = clientContext.Web; ...
0
votes
0answers
587 views

Debug SharePoint Hosted and Provider hosted app

I am fighting with issues on apps ( SharePoint Provider & Hosted)models .Can any one guide me in knowing how do debug the apps.And what should i need to install if pre-requisite exists for ...
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: [...
-1
votes
1answer
9k views

How to call code behind function from a html button click?

I am fighting with MVC in Provider hosted app and trying to implement code behind function for html input button. Below is the input button in .aspx page: <input type="button" runat="server" id="...
1
vote
1answer
528 views

SP.ClientContext is appearing undefined

I have below jquery code which in a sharepoint 2013 provider hosted app. // variable used for cross site CSOM calls var context; //Wait for the page to load $(document).ready(function () { //Get ...
0
votes
1answer
23 views

Create Website in Windows Azure

We had developed SharePoint Hosted app and as we knew the next step is to create site in Windows Azure for Appdomain. Due to it's new UI it's very hard to catch the website option . Can anyone help me ...
1
vote
2answers
643 views

How to Enable Custom Actions for all sub sites Document Libraries

I am developing a Custom Menu Item Action using provider hosted app for copying documents across sites collection for each listitem of Document Library Type. I need to enable the same custom action ...
1
vote
1answer
657 views

How to Access another Site Collection in Provider Hosted Apps

Iam developing a Custom MenuItemAction action so that each listitem in the Copy list of site collection (dev) will get an option for copying the documents to another list (Paste) in site collection(...
2
votes
2answers
302 views

Is it possible to Host Provider Hosted APP in Dedicated Server IIS and Consume in Office 365?

We need to setup provider hosted app in dedicated server and consume in Office 365. Is it possible? If yes, then how we can take "ClientContext" to read/write operation to Office 365 Web list?
1
vote
0answers
29 views

Hosting Provider Hosted App on SharePoint Application Server in a 3 tier farm

We are planning to host a provider hosted app on a SharePoint Application server in a 3 tier architecture. Assuming that my host web would be in SharePoint web server and app web would be in ...
2
votes
1answer
57 views

Security Issues with App-only policy

I have been working on a lot of applications with app-only policy and just wanted to make sure that I am not overlooking any security vulnerability. Below is a sample scenario for discussion: ...
2
votes
0answers
537 views

Is the OAuth implicit grant type supported for provider-hosted add-ins?

The provider of my provider-hosted add-in needs to ask for SharePoint (Online) permissions on the fly. OAuth can be used to achieve this, as documented here in MSDN. The authorization is low-trust ...
3
votes
2answers
393 views

Trace.Writeline() not working in Provider Hosted App

I have a created a SharePoint Provider Hosted Add-In and deployed the code on Azure. Trace.Writeline() doesnt seem to be working as I cant see anything in .../azurewebsite/trace.axd I am able to see ...
2
votes
3answers
1k views

Sometimes I got this error in my app part: The remote server returned an error (401) Unauthorized

I created an provider hosted app and use SP2013 on-prem and ADFS authentication. I have an app part with some form. This app part is added to a page in a webpart zone. Initial this app part is working....
3
votes
1answer
1k views

Provider Hosted APP with Azure & On-Premise Deployment Not able to take ClientContext

I am creating Provider Hosted APP and Deploying in Azure and Consuming in my SharePoint 2013 - On Premise. When I am using: var spContext = SharePointContextProvider.Current.GetSharePointContext(...
3
votes
1answer
217 views

How much do production Azure hosted add-ins cost?

After the add-in model has been in broad use for awhile, provider hosted seems to be the model of choice for SharePoint add-ins. I've never hosted one in Azure before. What are real world average ...
1
vote
0answers
47 views

FxCop Code analysis error for Provider Hosted App

I am running FxCop tool on my provider hosted app. But it is giving an error in web.config file like CA3116 DenyUnauthorizedUsers You are explicitly allowing all authenticated users for whom no ...
3
votes
1answer
486 views

How to Set Up SharePoint App development environment without configuring DNS

I set up SharePoint Stand-alone farm in a machine within organisation where DNS configuration is not control by us. So is there anyway we can skip this DNS or any workaround in SharePoint APP ...
2
votes
2answers
713 views

Provider Hosted APP with ADFS – Created By Issue

I have created one provider hosted app and have done ADFS configuration for SSO to SharePoint Site to SharePoint APP Site. But when I adding/updating list item created by user is “i:0i.t|00000003-...
1
vote
0answers
452 views

Provider hosted high trust add-in authentication with CNG key storage provider | Invalid provider type specified

I have the same problem as here, so I get the error: "Invalid provider type specified". However .NET 4.6 added support for CNG certificate handling so no need for additional libraries. What changes ...
8
votes
1answer
6k views

Interview Questions on SharePoint Apps which I could not answer [closed]

Question was : Where does the code lies for Provider Hosted App? does it lie in SharePoint server? if not can we make them lie in SharePoint server. How should we call the web services for Provider ...
1
vote
2answers
350 views

Provider host app getting windows logon prompt

I have converted my existing ASP.NET web application as a "Provider hosted app" as per the MSFT documentation and installed on my Sharepoint 2013 site. The moment I navigate from Sharepoint site to ...
0
votes
1answer
513 views

Provider hosted app with Sharepoint Master page

I have a ASP.NET Web application which I would like convert as a Provider hosted app and integrate with our corporate Sharepoint 2013 portal. Layout of ASP.NET Web Applications and Sharepoint Portal ...
4
votes
1answer
436 views

Create result source with CSOM

I am looking for a way to actually create a result source with C# CSOM. I only find examples where I specify an existing result source like this answer. I am developing a SharePoint provider hosted ...
4
votes
0answers
195 views

Get current page URL and Title from a Provider Hosted add-in Part?

I'm looking to see if there is a way to grab the current URL and title of the page that the add-in part is residing on. The add-in part is a Provider Hosted add-in with the main piece living outside ...
0
votes
1answer
483 views

Can I call Word Automation Service from Provider Hosted App - SharePoint 2013 On-Premises

I want to create Provider Hosted App for Convert Word document into PDF document. I have Created Provider Hosted App in SharePoint 2013 On-premises and it is hosted on Azure Hosting environment. Can I ...
2
votes
1answer
3k views

Provider Hosted App SharePoint 2013 On Premises - “You can't add this app here”

I have created a provider Hosted App for SharePoint 2013 On Premises. I have hosted my provider hosted app on Azure Server. And Add an app in App Catalog site. But I am not able add it on my site. I ...
2
votes
0answers
125 views

Provider Host App- App Domain

I am new to Provider Hosted App developement. I am planning to create a provider host app and while I was reading many articles , I got confused some terminologies like App-domain and Forward lookup ...
2
votes
0answers
1k views

How to perform a search query on behalf of a user from an app-only ACS context

We have a client requirement where we have a scheduled process that needs to perform a collection of search queries towards Office365/SharePoint Online on behalf of various users to ensuring that the ...
5
votes
3answers
263 views

Is it totally wrong or should be avoided to create farm solutions inside sharepoint 2013 on-premise

I started a new sharepoint 2013 enterprise server on-premise project for a customer, and on the first phase I want to do the following which requires me to create 2 farm solutions:- I need to add ...

1 2
3
4 5
9