Microsoft cloud engineer - SharePoint, Office 365, Azure, DotNet, Angular, JavaScript.
Microsoft cloud engineer - SharePoint, Office 365, Azure, DotNet, Angular, JavaScript.


Top 6 Reasons to Run Visual Studio Code on Servers

Many developers today author code locally on laptops with text file emphasis (JS/HTML/CSS/PS1).   Running the same tools on Server O/S comes brings many benefits, listed below.  Cheers. 



  1. High performance – Faster CPU, higher RAM, and low latency network connections within the data center offer premium speed for any heavy operations.   Even with a cloud remote API world, leverage those network connections bring faster execution time than any local laptop script could offer.
  2. Long running operations – Execution of large PowerShell scripts, inventory of cloud hosting systems, can run for many hours.   Having a stable location to host those scripts provides continued uptime.   Laptops can disconnect wifi, sleep, or shutdown.   Find a stable home for large script runs.
  3. Debug server side code – With SharePoint Server on-premise, for example, you can access site collections locally.   Having VS Code available on the server provides familiar rich debug experience for productivity on both frontend (and classic back end) development. 
  4. Share work with peers – Ability to disconnect remote desktop RDP sessions and “pass the ball” to co-workers provide higher coverage.   VS Code is a great location to not just code but also execute scripts.   Leaving remote desktop open with a service account gives higher staff cross training where peers can resume each other’s work seamlessly.    No need to even remember folder paths, just connect and begin.
  5. Training consistency – Same mechanics for local laptop coding can be employed on server side.  No need to “flip modes” and fall back to PowerShell ISE, Notepad, or old editors.  
  6. Extensions – Productivity gains from time saving and error checking third party extensions.   Not just for local laptops.   Same benefits can be realized when we’re working server side too.


Top 6 Reasons to Run Visual Studio Code on Servers from Jeff Jones on Vimeo.


Image result for vs code

VIDEO – Attempt to build Angular CLI with PNP JS

Recently attempted to create a command line interface (CLI) project with Angular 6 and SP-PNP-JS library for data access.  Followed tutorial by @arustacean at but with using the latest version of each library.

GitHub source code available at

However, received strange errors on the web pack TypeScript build process.   Attached video shows the troubleshooting process.  Cheers! 




ERROR – Initializers are not allowed in ambient contexts.



What’s in that patch? Jan 2019

NOTE – PDF format updated to include both SharePoint 2013, 2016, and 2019 notes.

Ever wondered what fixes are inside of a given CU?   Please see attached PDF with full detail. I wanted a new format for easy reading.   Show management and make the business case for why downtime should be taken to apply CUs.  Also posted at

If you found this helpful, please leave a comment.   



What’s in that patch – Jan 2019.PDF

FIXED – SharePoint Designer login with MFA (Multi Factor Auth)

Quick demonstration of how to login to to SharePoint Designer with MFA  (Multi Factor Auth).

We first establish a web browser session (with MFA push code) and view the “/_api/web” REST endpoint.

We copy the “FedAuth” and “RtFa” authentication cookies to append on all outbound Fiddler HTTP traffic.  From there, SPD will login without any prompt.





© Copyright 2016
@ SPJeff

Return to Top ▲Return to Top ▲