Skip to main content
Share Your Experience: Take the 2024 Developer Survey
10 votes
Accepted

Interview Questions on SharePoint Apps which I could not answer

Where does the code lies for Provider Hosted App? does it lie in SharePoint server? The code for provider hosted app lies in remote web. Remote web is a web application that is hosted outside ...
Vineet Desai's user avatar
9 votes
Accepted

Can't install app in AppCatalog

There is currently some issue going on at Microsoft's end(across most regions) because of which you are not able to install app in App Catalog. This is affecting both SPFx solutions as well as ...
Gautam Sheth's user avatar
  • 30.9k
7 votes
Accepted

Provider Hosted App in sharepoint online without using Azure

Q: Can we develop a Provider Hosted App in SharePoint online without using Azure? A: Yes, it is possible to develop Provider Hosted App for SharePoint Online without using Azure. How? Lets have ...
Trimantra Software Solution's user avatar
6 votes
Accepted

How to generate App Registration data in SharePoint Online through PowerShell

You'll need the MSOnline module, which you can download from here (I have 1.1.166.0, I cannot say if this will work on an older version). The following worked for me: $clientId = [System.Guid]::...
wjervis's user avatar
  • 5,738
6 votes
Accepted

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

Provider hosted apps are divided into two different categories in terms of authentication mechanism. These are low-trust apps and high-trust apps, both use OAuth for authentication. Low ...
Sergei Sergeev's user avatar
6 votes
Accepted

Angular 2 with SharePoint provider hosted app

Finally, I got the solution after lots of googling and brain-stroming. I am not able to solve the REST API - 403 error issue but I got work around for this. I have created Web APIs in MVC project for ...
Dikesh Gandhi's user avatar
5 votes
Accepted

Are there real differences in App/Add-in development inside on-premise SP 2013, compared to on-premise 2016 and office 365

A1: For the most part the process of developing apps for SharePoint 2013, 2016 and SharePoint Online is the same. The one big difference in the authentication model used by Provider-hosted apps. If ...
Rob Windsor's user avatar
  • 12.7k
5 votes
Accepted

Get custom columns from folder into document library C#

Use Folder.ListItemAllFields property to retrieve folder associated list item properties Example Folder folder = ctx.Web.GetFolderByServerRelativeUrl(folderUrl); ctx.Load(folder,f => f....
Vadim Gremyachev's user avatar
5 votes
Accepted

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

I haven't tried this practically, but I am sharing based on my understanding. Please feel free to comment if any thing is practically incorrect. Approach-1: Just configure the new domain with the old ...
Aakash Maurya's user avatar
5 votes

Remote Event receiver using provider hosted app

If you are finding it difficult to debug your remote event receiver, most probably you would be using an incorrect connection string to connect to the Microsoft Azure Service Bus. Visual Studio ...
Aakash Maurya's user avatar
5 votes
Accepted

access another site collection with client ID and client secret

If you want to use client id and secret across site collections, you should add tenant scoped permissions for your app: If you want to register the app once and use it for any site collection, it'...
Sergei Sergeev's user avatar
4 votes
Accepted

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

As explained in detail in the MSDN article "Register SharePoint Add-ins 2013" the regeneration of the ClientId is part of a feature of Microsoft Office Developer Tools for Visual Studio described as "...
urig's user avatar
  • 258
4 votes
Accepted

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

Answers of your questions: You will need FullControl permission to create group. No. You can take reference from here. No. SharePoint uses an App Only context it really doesn’t matter what rights ...
Dikesh Gandhi's user avatar
4 votes

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

Yes it is possible. I worked on a provider hosted add-in which I deployed in IIS and was used by O365. When you create the add-in, give O365 site URL and log in. After that select SP Online as ...
Garima's user avatar
  • 3,024
4 votes
Accepted

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

After a long series of reconfiguration…and reconfiguration…and reconfiguration, it would appear that the issue was directly related to the certificates in use. As mentioned in many other blog posts, ...
BJenkins's user avatar
4 votes

How to implement Remote event receiver in sharepoint online?

If you want to create Remote Event Receiver for List on Host Web, the following articles for your reference: Attaching Remote Event Receivers to Lists in the Host Web Remote Event Receiver (RER) for ...
san's user avatar
  • 1,654
3 votes

SharePoint hosted app within the Host Web

You can create Add-in Parts or Client web parts inside SharePoint hosted apps. Then it can be added to any page in your host web , just like any webpart. See this post about Add-in Parts
Unnie's user avatar
  • 8,819
3 votes
Accepted

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

The mistake you are doing is you are using List's UserCustomActions, but here your ScriptLink is the part of SPWeb or SPSite. So you code need to be like UserCustomAction Scriptaction1 = ...
Codec's user avatar
  • 1,340
3 votes

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

The following is some troubleshooting tips for remote event receivers. https://msdn.microsoft.com/en-us/library/office/dn275975.aspx#sectionSection7 In particular, if you are using SharePoint Online ...
Paul Lucas's user avatar
  • 4,246
3 votes
Accepted

SharePoint appredirect.aspx redirects with POST

If you want to use the SharePoint app model then yes, you must allow posts. SharePoint sends authorization & authentication data to your app via post. Your app needs that data to generate a ...
phil's user avatar
  • 239
3 votes

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

Sharepoint add-on is new standard and MSFT encourage all the customer to adopt that one. Main reason (there are many others)is Office 365, if your company want to move Office 365 then you have to ...
Waqas Sarwar MVP's user avatar
  • 56.8k
3 votes

Create result source with CSOM

It is possible to create a result source with CSOM. Basically what you do is: Manually create the result source in SharePoint (in the site, sitecollection or tenant level depending on your ...
Vardhaman Deshpande's user avatar
3 votes
Accepted

Provider hosted app with Sharepoint Master page

Yes , We can apply the default SharePoint Look and feel to the Provider Hosted apps by use of SharePoint Chrome control , here we need to add this chrome control in top of the page which will inherit ...
Esaki's user avatar
  • 1,272
3 votes
Accepted

How to Set Up SharePoint App development environment without configuring DNS

Yes, instead of modifying DNS settings, you can update your local hosts file located at C:\Windows\System32\drivers\etc. In this file you need to put your app host url and IP address. For example ...
Sergei Sergeev's user avatar
3 votes

Trace.Writeline() not working in Provider Hosted App

Few points to check: In web.config add <system.diagnostics> <trace> <listeners> <add name="WebPageTraceListener" type="System.Web....
Sergei Sergeev's user avatar
3 votes
Accepted

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

Yes , It can be done by following the steps we used to do with High Trusted Apps Deployment(Server to Server) in On Premises , Self signed certificate for your web app in local IIS Register app ...
Esaki's user avatar
  • 1,272
3 votes

Get current logged in user in provider hosted app

If you are using app only context in your provider hosted app then you need to do a li'l extra work and use TokenHelper to get appOnlyAccessToken. On App's page load, just run the below script: var ...
DvG's user avatar
  • 2,332
3 votes

Sharepoint App Secret Expiration

You can use my script to register app for 5 years (or more) just change New-MsolServicePrincipal command parameters. #Import-Module MSOnline [System.Reflection.Assembly]::LoadWithPartialName("...
Petr Štěpka's user avatar
2 votes

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

When you deploy the add-in to SharePoint host web using visual studio, it gets installed (if its already present, the add-in is retracted first) as a new add-in every time. As part of this process ...
Vineet Desai's user avatar
2 votes

Detailed version history for a specific version label

You can use below mentioned code to get the details version of specific item from SharePoint list using Client Object Model. using System; using System.Collections.Generic; using System.Linq; using ...
Hardik's user avatar
  • 7,733

Only top scored, non community-wiki answers of a minimum length are eligible