Hot answers tagged

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 ...
5 votes
Accepted

SharePoint Migration API

ConvertTo-SPOMigrationTargetedPackage - Re-maps a previously created file share based package or exported SharePoint package to accurately describe objects in a target web. New-SPOMigrationPackage - ...
  • 28.2k
4 votes

Problem storing SharePoint context in Provider hosted app hosted in a azure website

It's not enough to mark the SharePointContext, SharePointAcsContext and SharePointContextToken serializable. You must implement ISeralizable interface. In there are three method declaration. One ...
4 votes
Accepted

What Azure region is best for Provider Hosted Apps in SharePoint Online?

You can get an idea about where your Office 365 data is stored at Microsoft Online Services - Where is my data? According to that your data is probably in the region closest to where the admin stated ...
  • 32.4k
4 votes

Azure Application Insights With SharePoint Online

Azure insights doesn't provide any SharePoint Online based server response time and requests because you dont have the access to configure those settings in the infrastructure that SharePoint online ...
  • 2,176
4 votes
Accepted

How to connect react web part to azure sql database?

You need to remember that anything that runs client side is able to be sniffed out by the end user, so any front end code connecting to a database would necessarily expose the connection details back ...
  • 7,818
3 votes

How do we fetch data through REST service which hosted in azure from SharePoint site which in office 365?

You need to allow CORS to be able to do this. The problem is that javascript doesn't allow cross domain calls, and the Azure service can't have the same domain name as your Office 365 (At least I'm ...
3 votes

Sharepoint Online: Retrieving PersonalURL for a user through the REST API?

You can use this REST endpoint: https://<server>/_api/sp.userprofiles.peoplemanager/getPropertiesFor(@v)?@v='domain\LoginName' This retrieves all profile information for the given LoginName. ...
  • 748
3 votes
Accepted

Office 365 & Azure AD

An Azure AD instance is already setup in the background for each Office 365 tenant. Essentially what's meant with Signing Up is getting an Azure account so that you can access to further settings of ...
  • 475
3 votes
Accepted

Remote Events -- ItemEventProperties.BeforeProperties is always empty?

You can remember that BeforeProperties and AfterProperties are different for Sync. and Async. events BeforeProperties and AfterProperties behavior is different for List Items and Library Items If ...
  • 1,591
3 votes

What Azure region is best for Provider Hosted Apps in SharePoint Online?

The best region would be whatever is closest to you. As far as I know, these are the general locations of the Azure data centers: North Central US – Chicago South Central US – San Antonio West US – ...
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....
3 votes
Accepted

SharePoint Online with Azure AD Authentication: access denied during querying licenses of given Product ID

From my understanding it's not possible. Let me explain why. Access token holds also Id of the app, i.e. ClientId. In order to get licensing info, they are (MS) checking some internal database. I ...
3 votes

SharePoint 2013 on Azure with On-Premise SQL Server

Microsoft calls it Stretched Farm if you host the server components of a SharePoint-Farm in different Datacenters. Yes, it is doable but.. ... it is not really recommended. The requirements to be ...
  • 5,063
3 votes
Accepted

SharePoint Online Remote Event Receiver and Service Bus issue

Two options: Use the cloud explorer in Visual Studio and "attach debugger" Use a proxy like ngrok. I have a blog post that shows how to do that: https://derekgusoff.wordpress.com/2017/11/08/remote-...
  • 7,818
3 votes
Accepted

Modern Search Vs Microsoft Search

"Modern" search refers to SharePoint search. It is just the modern UI on top of the classic SharePoint search we've used for many years. Microsoft Search is a super-set of SharePoint search with ...
  • 28.9k
3 votes

Can we restrict Users from accessing Office 365 from certain IP address

Check Set a location-based policy in the new SharePoint admin center in office guideline below. https://docs.microsoft.com/en-us/sharepoint/control-access-based-on-network-location#set-a-location-...
  • 4,221
3 votes

Azure Runbooks attempts 3 times but no error

I had same issue when executing Add-PnPListItem and Add-PnPFile on Azure Runbook. I googled answers and finally found the following threads: https://github.com/SharePoint/PnP-PowerShell/issues/1541 ...
  • 43
3 votes

How to restrict App Only permissions to one site

This is indeed not possible yet (still not, 7 months after you posted this). Here is proof: https://github.com/SharePoint/sp-dev-docs/issues/5730 Microsoft did however announce they will solve this ...
  • 131
2 votes

Metrics to check and compare the development experience (for developers) of SharePoint installation on local servers versus Azure

For me: Recycle time (time from recycle or IISRESET until we actually get a SharePoint page). That is the biggest culprit with developing for SP 2013 for me personally. Also, the perceived ...
2 votes

SharePoint Online BCS list from Azure SQL - to whom do I open the firewall?

I've created a PowerShell script to add all the 59 IP ranges mentioned in the SharePoint Online URLs and IP Addresses document as Jim pointed out. Connect to your Azure subscription using PowerShell, ...
2 votes
Accepted

SharePoint Online BCS list from Azure SQL - to whom do I open the firewall?

You can limit to the SharePoint online services IP address ranges: https://support.office.com/en-US/Article/SharePoint-Online-URLs-and-IP-Addresses-99b11563-c42d-4c20-87d2-502e66d62164?ui=en-US&rs=...
2 votes
Accepted

SharePoint 2013 on premise in Azure

Is it possible to use existing on premise AD with Azure/AWS hosted SharePoint 2013?: You can extend their on premise AD with Active Directory Federation Services (ADFS). Since SharePoint 2013 supports ...
  • 56.8k
2 votes

Remove a user from user profiles

When you delete a user account, the account becomes inactive. However, for approximately 30 days after you have deleted it, you can restore the account and the associated data. If your organization ...
  • 25.4k
2 votes

SPAppToken (context token) is null

Yes, actually it is not so easy to accomplish this. to put it in a nutshell your app and your SharePoint both need to trust the same Authentication Provider. Like Azure Access Control or ADFS. Because ...
2 votes
Accepted

Remotely debug Provider Hosted App from Visual Studio 2015

[...]the following ports needs to be opened to be able to remote debug a Azure App Service: Ports Incoming/Outgoing Protocol Description 3702 Outgoing UDP Remote debugger ...
2 votes

How do we fetch data through WebAPI/WCF Restfull service which hosted in azure, from SharePoint online site by using c# coding(httpwebrequest)?

If you're doing calls from SharePoint online, the best way to do it is JavaScript. Making an app for c# means you're creating another azure cloud website that talks to sp and then talks to the rest ...
2 votes
Accepted

Some Users are missing in People from Active Directory

"People" will show only those users who have been assigned "Exchange Online" license. It is possible to add Users to your Office 365 without giving them any of the Office 365 subscription, except "...
2 votes
Accepted

How to configure SharePoint 2013 in Azure

It's giving you an error regarding the database itself, not the credentials, make sure that the name of the database server is correct, if you have an instance, you need to provide the instance name. ...
2 votes
Accepted

How much do production Azure hosted add-ins cost?

It's depends how you want to host your App. price range is from free to upto hundreds of $$$. You have to choose one of the following options FREE (Try for Free) SHARED(Host Basic Apps) BASIC (More ...
  • 56.8k

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