Hot answers tagged

8

Windows Azure is PaaS(Platform-as-a-Service) that allows you to install and manage your SharePoint environment on cloud like you do on premises. You will be charged based on the space and compute hours consumed by your SharePoint farm, Visual studio, TFS etc. Much VS debugging makes you pay more :-), hence development farm on Azure may be costly to maintain....


5

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 - Creates a new migration package based on source files in a local or network shared folder. Set-SPOMigrationPackageAzureSource - Creates Azure containers, upload ...


5

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 step by step procedure. Step-1: Register your app using appregnew.aspx Login to your SharePoint Online environment and navigate to the following URL for ...


4

An on-premises equivalent to timer jobs is a console application that is run via the OS's scheduler service. (An "at" job for all of us old-timers.


4

It might be worth a shot to try adding ACS as an App in Azure AD, configure it for Single Sign-On and then using the WS-Federation end point for the app to add the Identity Provider. The first part of this post has a more detailed walkthrough: http://blog.helloitsliam.com/Lists/Posts/Post.aspx?List=e10cb685-6b5c-4b6c-aaf4-e1d122d57174&ID=120


4

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 the company resided. If you're using CSOM (Client Side Object Model) from server code then you should probably place your App in the same region. But if your ...


4

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 is running at. if your SharePoint instance is running at on-premises server environment or virtual machines where you have admin access then you should be able ...


3

It's not enough to mark the SharePointContext, SharePointAcsContext and SharePointContextToken serializable. You must implement ISeralizable interface. In there are three method declaration. One constructor for the deserialization, and two for the serialization. The following link refers to a msdn article, that's about how to implement it correctly. In ...


3

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 – California East US – Virginia So if you are rolling a provider hosted app in Azure, you'd want to tie your Azure servers to the region that is closest to you.


3

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. You can select the property PersonalUrl by adding $select = PersonalUrl For more information see the User profiles REST API reference at MSDN.


3

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 Azure AD (such as customizing you Office 365 login page).


3

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 pretty sure of this). By enabling CORS support in your Azure REST API, you can circumvent this. Do be warned however, that CORS must be supported by the browser ...


3

Few points to check: In web.config add <system.diagnostics> <trace> <listeners> <add name="WebPageTraceListener" type="System.Web.WebPageTraceListener, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> &...


3

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 think they are using ClinetId (as well as user identity) in order to find the match. Your CliendId registered as Azure Ad app and thus license validation ...


3

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 supported mostly cannot be met (<1ms latency, 1Gbit bandwidth). You should always host SQL-Server and SharePoint servers as close together as possible. Moving ...


3

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-event-receivers-youre-all-doing-it-wrong/


3

"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 expanded capabilities, but many limitations, too. MSFT Search searches all Office 365 content, has an org chart, and other features, but it lacks the schema ...


3

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-based-policy-in-the-new-sharepoint-admin-center


2

The problem was related to the OU the users where in. My main OU was at DOMAIN > MainOU > SubOU - in that OU are all my SharePoint groups and users. Let's take the "SharePoint Users" group as an example in that OU. It has permissions to contribute on the SharePoint. I now had a different OU at DOMAIN > DifferentOU for test users. I gave these test ...


2

After 5+ (!) weeks investigating this with MS tech support, we finally determined that the Windows Service "Performance Logs & Alerts" was set as Disabled startup type. Changing that service to Manual startup type allowed the installer to complete. This problem was indicated nowhere in the logs or any other trace as far as I can tell. There was no ...


2

If you're developing Provider hosted apps for on-premises SharePoint you have two options: High Trust Low Trust High Trust The trust between SharePoint and the App is based on a certificate which the App uses to sign the token in it's request to SharePoint, this certificate is then added to the SharePoint farm and SharePoint will trust that the User which ...


2

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 they will genearte the token AFAIK. Provider hosted apps without an Auth Provider will only work in a Server 2 Server Trust Relationship as mentioned before by ...


2

This issue can sometimes (every time in my experience) be addressed by running the "Refresh Trusted Security Token Services Metadata feed" -- just look under "Timer Jobs" under "Monitoring" in Central Administration. This is one of those timer jobs which runs infrequently (in this case once per day, usually at midnight), so unless you kick it off explicitly ...


2

I have just had the same issue in my environment. In my case I have HTTP enabled on the workflow farm. During re-install the workflow farms HTTP endpoint disappeared (you can run the Get-WFFarm PowerShell command and check the Endpoints there). So the solution in my case was to properly configure the HTTPS endpoint and than re-register the workflow farm ...


2

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 experience with debugging a solution (since it tends to time-out...) would be nice. No idea how to quantify that to a metric though.


2

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, replace the $AzureSqlServerName variable so it contains the name of your SQL Azure database instance and run the following PowerShell script: $...


2

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=en-US&ad=US All Office 365 services address ranges are documented here: http://technet.microsoft.com/en-us/library/hh373144.aspx


2

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 you investigate and test BeforeProperties and AfterProperties behavior in these cases - be ready that it could be all broken if you use Publishing template site ...


2

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 claims based authentication, they can then leverage ADFS as an identity provider for their SharePoint 20103 Virtual Machines. is it possible to make the load ...


2

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 synchronizes user accounts to Office 365 from a local Active Directory environment, you must delete and restore those user accounts in your local Active ...


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