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.

2
votes
1answer
421 views

SharePoint provider hosted App Remote Event Receiver Not Triggring For List item adding event in O365

I am creating a SharePoint provider-hosted App with event receivers to simply update an item in a SharePoint list List1 when adding new item in the list. My App installation event is firing, but no ...
4
votes
2answers
239 views

Deploy Provider Hosted App

I have tried deploy hosted app but always appear error message like "Error 1 Error occurred in deployment step 'Install app for SharePoint': The provided App differs from another App with the ...
0
votes
1answer
449 views

ClientContext is null for HOST web in AppInstalled

I'm trying to create remote event receiver that is attached to library in host web. I used azure service bus for debugging and almost everything worked out nicely. Removing of receiver did not work, ...
10
votes
2answers
296 views

Searching for pages in SharePoint online 2013

Pages are not getting filtered based on the search criteria in SharePoint Search Online 2013, Provider Hosted App. Reference for HandleBars It shows all the results. Below is the search bar and ...
2
votes
0answers
37 views

Creating Charts in 0365

I am developing a Share-point Application in O365. Will it be possible to use web-part in online premise or only app part can only be used. Following is the code I have used. I am getting the Access ...
0
votes
1answer
468 views

Develop SharePoint Provider Hosted app from remote visual studio Pc

I'm creating a development SharePoint 2013 farm for external developers to develop Provider Hosted Addins. Therefore, developers pc will not be joining our domain. Is it ok for them to use Visual ...
2
votes
0answers
60 views

Attach InfoPath to AppWeb Library in SharePoint Online

Error while adding InfoPath form to form Library created using SharePoint Hosted App which will be deployed to AppWeb. This form template is browser-compatible, but it cannot be browser-enabled on ...
4
votes
1answer
1k views

How to reference JavaScript file in custom ribbon action in SharePoint Online App?

I am trying to call JavaScript function into my Custom Ribbon command. I was able to create my Custom Ribbon Action using this answer. This perfectly worked for me in creation of Custom Ribbon Action ...
4
votes
2answers
64 views

SharePoint hosted app within the Host Web

I have created a nice little SharePoint hosted app. When I launch the app, it brings me to the app domain and a dedicated page (default.aspx). My question is, how do I embed this App within my Host ...
1
vote
0answers
28 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 ...
5
votes
3answers
447 views

How do I give permission to app using CSOM?

I have a workflow in my subsite that is available when I activate a feature. The workflow has app step and also the workflow running on my list at subsite updates a list on my root site. To do so I ...
2
votes
1answer
2k views

Remotely debug Provider Hosted App from Visual Studio 2015

I have created a SharePoint Provider hosted App on Azure. I need to debug it now. I have enabled remote debugging from the Azure Portal. But when I try to debug it from Visual Studio, I get the ...
1
vote
1answer
766 views

CSOM send email with attachment

I need to send list item attachment via email whenever someone add an item to list. I am unable to send email with attachment. using SendGrid of azure as CSOM send email utility does not support ...
1
vote
2answers
3k views

Detailed version history for a specific version label

How to perform 'View' operation for fetching all metadata values of the specific version using SharePoint client object model, for instance here version 7.1 I am working for Provider hosted app [...
0
votes
1answer
94 views

does anyone have any info about the ID in a SharePoint 2013 add-in web URL?

My security engineer asked what the lifespan of the ID in the add-in web URL was. Can anyone give me any info on this ID, is it randomly generated, used always for the add-in web, changes every time ...
0
votes
1answer
114 views

SharePoint Logic Apps

Can any one explain me that what is SharePoint logic apps and how can we use it?. I googled this but all I found is azure logic apps , which have many connector like yammer connector, SharePoint ...
1
vote
1answer
239 views

PRO / CONS of using app model vs web services

I'm trying to tally up what are the PROs and CONs of using a provider hosted app model vs implementing the same application by speaking with SHP via the webservices like Lists.asmx and Copy.asmx. Are ...
4
votes
1answer
1k views

What permissions are needed to Create Groups and Add users to Groups?

I am currently developing a SharePoint Provider-hosted-Add-In which should be run on O365. I added FullControl to the SiteCollection and Web and everything worked fine. FullControl is not allowed, ...
0
votes
0answers
644 views

Provider Host App Error The remote server returned an error: (401) Unauthorized in SharePoint Site

When I run the app from Visual Studio, I get the page where I opt to trust the app. However, I get the 401 Unauthorized error when I try to access the app from the site. Stack trace: [WebException: ...
0
votes
3answers
873 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 ...
1
vote
1answer
562 views

SharePoint appredirect.aspx redirects with POST

I have a provider-hosted app built with MVC deployed in SharePoint Online. I have a controller, Tasks, and an action, Details. If I navigate to the details page for a particular task (/Tasks/Details?...
0
votes
1answer
231 views

O365 App / Custom Ribbon Button Always Disabled

I'm trying to create a custom button on the Ribbon which appears in the Ribbon.EditingTools.CPInsert section when the user is editing content in a wiki page or content area. I'm using the OfficeDev ...
0
votes
1answer
68 views

Path of Log file

I have a provider hosted app where the exception logs are logged to a text file. The path of the text file is calculated as below : string directoryName = System.Configuration.ConfigurationManager....
0
votes
0answers
523 views

Unable to register app in /_layouts/15/AppRegNew.aspx

I receive an error when after clicking the Create button in sitename /_layouts/15/AppRegNew.aspx. Browsing the log files I see Error when create app 9071df94-8af7-4a53-8bac-44abad787b67, ...
0
votes
1answer
78 views

Forcing SharePoint login when not authenticated

I have a provider hosted Add-In which looks like that: https://myhost.com/mycontroller/myaction?SPHostUrl=https://myhost.sharepoint.com/sites/mysite&SPLanguage=en-US&SPClientTag=0&...
2
votes
0answers
609 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
1answer
287 views

SharePoint provider-hosted app filter document library CSOM

I have the following code that gets files from a document library. Works great for getting all the files. Now, however, I want to filter the files using the "title" param before passing it back to my ...
-1
votes
1answer
116 views

Get folders and files from SharePoint List

I am working on an Provider hosted app, scenario is to get all folders and files from SharePoint library and display on UI(more like a view). Need some tips to do it. I mean how to create a UI similar ...
0
votes
1answer
449 views

Render MVC views inside Sharepoint Provider hosted add-in

I have created Provider hosted add-in with MVC, in that I have some Controllers, Models and Views. I just want to render the Views inside the Sharepoint add-in, so that when I add that particular add-...
3
votes
3answers
2k views

Why does my SharePoint Add-in's Id change every time I build and debug it from Visual Studio?

In Visual Studio 2015 I have created a new solution based on the "SharePoint Add-in" template. As I have chosen to make it a provider-hosted add-in I have two projects created: sharepoint-addin and ...
0
votes
0answers
987 views

Display Template and Item Template not showing in Content Search Web Part

I am facing a weird issue. When I'm uploading custom Display Template JS file and custom Item Template JS file using an Add-In, for some reason it is not showing in the webpart properties. But when I ...
3
votes
2answers
2k views

Attaching Remote Event Receiver to host web list without using azure ACS connection string in Provider Hosted App SharePoint Online

I am trying to attach an Remote Event receiver in Provider hosted app for SharePoint online.I don't want to use azure account ACS connection string.Somehow i was able to find the solution and i ...
1
vote
1answer
39 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
352 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
1answer
239 views

Start 2010 workflow using App Only client context in 2013 app

Have a provider hosted app that connects to my SPO 2013/O365 instance via App Only authentication. When the user submits through the app it creates a list item. I have a 2010 workflow set to kick ...
6
votes
0answers
305 views

How to set HTML field security using CSOM

Is there a way to set the HTML field security using CSOM? I already found a way to use PowerShell Scripts but i wondering if there is also a way to use CSOM. PowerShell: $web.ScriptSafeDomains.Add("...
2
votes
2answers
223 views

SharePoint's controls or web parts in a full-trust provider hosted app (SharePoint 2013)

Ladies and gents I've been looking for some time but haven't found any definitive answer. Is it possible to use SharePoint UI (either controls or web parts) in a provider hosted application [MVC 5, ...
0
votes
0answers
69 views

SharePoint App - Pressing Refresh opens resend Information dialog

I'm doing a sharepoint provider hoster app. When I'm pressing refreh (F5 or in the browser) after the webapplication has loaded I'm getting a dialog for resending information. ("To display the webpage ...
3
votes
1answer
2k views

Why am i unable to debug an Provider Hosted SharePoint app?

I have a method which checks valid session which gets triggered in page load,I have placed break points in it for debugging purpose.When I run my provider hosted sharepoint app it does not hit the ...
0
votes
1answer
327 views

How to Access Provider-Hosted App programmaticly

I have a (working) provider hosted app that mainly acts as a REST-Service (MVC5). I want to unit test my Rest-Controllers but can't find out how to give the right credentials. I already got the URL ...
3
votes
0answers
861 views

{StandardTokens} token in CommandAction Url does not get replaced

I have a provider hosted add-in running on a SharePoint Online development site that has several lists as part of the solution. My goal is on when somebody clicks a Ribbon CustomAction associated ...
3
votes
0answers
125 views

Is there a unique ID for add-in instance?

I'm developing a SharePoint add-in with provider hosted app. One requirement is to uniquely identify add-in instances. The user can install add-in multiple times. Provider hosted app stores mapping ...
2
votes
0answers
591 views

Rest API calls from provider hosted apps

Here is the scenario. We have a product built on linux systems and the data is available through REST API. The web application which is built on JAVA is also hosted on the same environment. Few of ...
2
votes
0answers
180 views

Add-in web (app web) authentication using credentials from Trusted identity provider

I have set up a SharePoint web application with custom Trusted identity provider: I have built provider hosted add-in (app) and successfully deployed it to a site within aforementioned web ...
0
votes
0answers
262 views

Sharepoint Provider Hosted App with Angular JS for document retrieval

I need to create SharePoint Provider Hosted App with Angular JS & MVC for SharePoint Online. That app should perform CRUD Operations on Document Library. When I searched for this, all I got is ...
0
votes
1answer
20 views

SPOnline: Sandox event receiver inconsistent behavior

I have following 3 components: Provider hosted App having full control on web and using App only permissions (App) List-A: This custom list has a sandbox event receiver on item creation. App creates ...
0
votes
1answer
291 views

Access Denied when executing a CAML query

I am running a SharePoint Online provider-hosted app, and via CSOM, I am loading the contents of a list with the following code: var items = List.GetItems(CamlQuery.CreateAllItemsQuery()); ...
4
votes
2answers
2k views

Error while installing SharePoint Provider hosted app “”The remote event receiver callout failed."

We have developed a provider hosted app by pointing to SharePoint online which holds a simple logic in the app installed event. The remote web component of the app is deployed to an on-permises ...
4
votes
1answer
1k views

SharePointContextProvider not found when Creating a provider hosted app with VS2015

I try to create a provider hosted app (MVC) with VS2015. I use the standard template-approach like described there: http://chakkaradeep.com/index.php/building-apps-for-sharepoint-with-mvc/ (Or many ...
1
vote
0answers
55 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. ...