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.

203 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
28 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 ...
1
vote
0answers
204 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 ...
1
vote
0answers
106 views

Unauthorized error on GetProvisioningTemplate

I have Provider Hosted Add-In and everything is working as expected but fails on 'web.GetProvisioningTemplate(creationInfo)'. it gives me below error The remote server returned an error: (401) ...
1
vote
0answers
99 views

Cannot debug Provider-Hosted Add-In: VS2017 hangs opening Chrome (resolved)

Update: Resolved (hope so). Maybe this is a bug and upgrade VS2017 to to 15.7.6 helps. I close my Chrome every time before f5 -- Every How-to for beginners in the net say "Hit F5 and voila!" - but ...
1
vote
0answers
408 views

UserProfileProperties: You do not have permission to perform this action or access this resource

C#: PeopleManager peopleManager = new PeopleManager(clientContext); PersonProperties personProperties = peopleManager.GetMyProperties(); try { clientContext.Load(personProperties, p => p....
1
vote
0answers
101 views

Visual Studio get stuck at “Communicating with SharePoint” when deploying

I am trying to deploy a provider-hosted sharePoint add in visual studio 2017 and sharePoint 2016. I have successfully created a Publish Profile using the clientID and secretID. The connection to the ...
1
vote
1answer
103 views

How to add .app (app part) into a share point page using powershell?

I have an App which is already deployed into SharePoint site. I want to add that .app file into a SharePoint page using powershell script. Thanks in advance.
1
vote
0answers
52 views

How to get popular Tags using Popular Items' web-part in SharePoint online?

I want to show popular tags used across my site collection. I have tried 'Tag cloud web part' but it has been retired from SharePoint Online. To achieve this I have used 'Popular Items' web part by ...
1
vote
0answers
508 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 ...
1
vote
1answer
96 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 ...
1
vote
0answers
32 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 ...
1
vote
0answers
86 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,...
1
vote
0answers
268 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 ...
1
vote
0answers
111 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 ...
1
vote
1answer
292 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 ...
1
vote
0answers
79 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
0answers
60 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 + "', ...
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'...
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 ...
1
vote
1answer
531 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 ...
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 ...
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 ...
1
vote
0answers
455 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 ...
1
vote
2answers
365 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 ...
1
vote
0answers
81 views

How to stop Authentication for Provider Hosted APP when its host to different domain IIS

I have hosted my Provider Hosted APP website to "Dedicated server domain IIS" and installed APP to SharePoint Site which is in different domain. Now when I open the APP, its promoting for the ...
1
vote
2answers
345 views

How to get SPContext in my custom class in my app

I created an provider hosted app in vs. In the app I have a mvc web project. In the controller I have the SPContext and can do SP logic. I created some helper class. In this helper class I would also ...
1
vote
0answers
196 views

provider hosted App that is hosted in local IIS websites and linked to SharePoint Online?

How to develop a provider hosted App that is hosted in local IIS websites and linked to Office 365 / SharePoint Online? can anybody provide me helpful links Any help would be appreciated, Thanks
1
vote
0answers
305 views

Deploy and host custom asp.net mvc applications in sharepoint 2016 intranet portal

we have developed some applications in asp.net mvc and trying to access these applicatons as from one sharepoint intranet portal that is for our organization - How can we deploye these applicaton in ...
1
vote
0answers
175 views

Update value in custom list that exists on SPHost for the SharePoint Provider hosted App

I have a Provider Hosted App from where I need to update a list item in the SPHost i.e the site where I have added this App. I have written my code in the JavaScript file but when I try executing it, ...
1
vote
0answers
29 views

Deleting Test-licenses from Office365

I have written a method that installs a test-license to my O365-SharePoint. It uses the following method: Microsoft.SharePoint.Client.Utilities.Utility.ImportAppLicense() This works fine, but now I ...
1
vote
1answer
40 views

Making sure nobody (but the add-in) can access a list

I create Lists inside the app-web of a provider-hosted-app(-addin) using CSOM: All access to that lists should only be done by the addin itself and not by the user. So I want to make sure nobody can ...
1
vote
0answers
405 views

Sharepoint app using client secret without Azure ACS

I'm having trouble wrapping my head around my current situation. My client is giving me as a configuration a Client ID and a Client Secret to configure a sharepoint add-in that is installed on premise....
1
vote
0answers
56 views

Can I use Microsoft.SharePoint.Client.User.LoginName as login for custom Identity authentication?

As the title suggests, I am doing a SharePoint Provider-hosted app that will be deployed to Microsoft Azure. I implemented security with custom Authentication class which references Owin namespaces. ...
1
vote
0answers
34 views

Getting User Information with Add-In-Only-Authentication

I need to write a SharePoint Add-In (provider-hosted, CSOM) that has the permission to write entries in the hosts' SharePoint-List even if the user has no permission to do that. That's why I want to ...
1
vote
0answers
79 views

How to know if Sharepoint 2013 List is registered to Remote Event Receiver in Provider Hosted App?

I have multiple list in SharePoint 2013 and some of the lists are attached to ListEvent.svc service. I would like to know which specific lists are registered to that particular Remote Event Receiver? ...
1
vote
1answer
267 views

Where is the certificate location to be stored?

I created a sample provider hosted app as per microsoft's tutorial using my local box as the remote web server. I am now trying to deploy this project to our staging web server and keep getting the "...
1
vote
2answers
388 views

Font issue with Sharepoint add-in part

I am developing a provider hosted SharePoint add-in part. I am using the SharePoint site's stylesheet in the add-in part to make it look similar to the site. I have followed the example provided in ...
1
vote
1answer
52 views

Provider hosted app and another server

I have a task: Do a Sharepoint Provider-hosted app. I work/develop locally, on a single machine. From MSDN : Provider-hosted SharePoint Add-ins include components that are deployed and hosted ...
1
vote
0answers
354 views

SharePoint provider hosted app and form based authentication: the resource cannot be found

I followed the following article, to change the web.config to use provider hosted apps in combination with fba. http://www.sharepointpals.com/post/How-to-create-a-Provider-Hosted-Application-on-Form-...
1
vote
1answer
683 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
714 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
658 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. ...
1
vote
1answer
218 views

ADAL JS for AWS

Can ADAL JS be used to resolve CORS issue for the provider hosted app hosted in AWS and installed in SharePoint online? Is it possible to authenticate to SharePoint without using the server-side code ...
1
vote
0answers
737 views

Authenticate users in high-trust provider hosted app

I have this provider hosted app/addin with STS, high trust scheme. My question is, how can I authenticate a user from my provider hosted against an on-premise SharePoint ? I want this because my app ...
1
vote
1answer
553 views

Provider Hosted App deployment

I'm in the process of deploying a Provider Hosted App in SharePoint online, the app is hosted in my Azure website, and added to my app catalog, I have made sure to sync the ClientID and ClientSecret ...
1
vote
0answers
545 views

Add user to owner group from High Trust App (user + app policy)

I have an High Trust Provider Hosted App, which is using App + User policy [User - ManageWeb/Owner and App - Full Control] Web oWebsite = clientContext.Web; clientContext.Load(...
1
vote
1answer
682 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(...
1
vote
0answers
366 views

Add a calendar view as App part programmatically

I want to add a calendar view to a page, in the XML I have ViewGuid but it does not work. How can I achieve this goal? XML <?xml version="1.0" encoding="utf-8"?> <WebPart xmlns:xsd="http://...
1
vote
0answers
454 views

Sending E-Mails in On-Premises environments? (CSOM)

I'm working on an E-Mail function for a SharePoint 2013 provider-hosted App. The code I'm currently using: // Prepare the E-Mail parameters EmailProperties properties = new EmailProperties(); ...