Monthly Archives: September 2017

Create Communication Site – URL Trick

Recently I wanted to create a Communication site in Office 365 but did not see the “+New” menu on the tenant SharePoint landing page.   However, I switched to another tenant and watched HTTP traffic over F12 Network tools.   Here I could see the exact URL for the APSX new Communication Site form.

Adding the URL suffix “/_layouts/15/CreateGroup.aspx” allowed me to successfully create a Communication Site on other tenants.   Hope this helps!   Cheers.  shades_smile


  1. Navigate to portal root
  2. Append URL with suffix “/_layouts/15/CreateGroup.aspx” for a complete URL such as
  3. Form to create Team or Communication Site is now visible
  4. Select “Communication
  5. Provide URL, type, and description










PowerShell Error


New-PNPTenantSite : The web template SITEPAGEPUBLISHING#0 is not available for sites on this tenant.


FIXED – RDP Requires Authentication Twice

Recently I had an issue where RDP to new Windows Server 2012 R2 machines required login – twice.   Saved credentials in RDP Manager were being passed, but the target machine required a second login.  Annoying and different than other servers I manage.


  1. Run “GPEDIT.MSC”
  2. Browse to “Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Security
  3. Modify the “Always prompt for password upon connection” setting to “Disabled
  4. Log out and log in
  5. Should accept saved credentials now




VIDEO – Populate Word DOCX with PowerShell

Recently I found a way to dynamically update Microsoft Word text placeholders with PowerShell script.  Because DOCX files are ZIP archive we can extract to a TEMP folder to update the internal XML document text.   From there, bundling to a new ZIP archive and renaming DOCX enable us to deliver the final DOCX version to users.

Below is a demo with full source code.  Cheers!  shades_smile_thumb




Source Code

What’s in that patch? Sep 2017

NOTE – PDF format updated to include both SharePoint 2013 and 2016 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.    shades_smile_thumb_thumb_thumb_thumb[2]


What’s in that patch – Sep 2017.PDF

Angular2 – Disable CORS security for smooth Chrome debug

Recently while debugging an application I needed to design REST and JSON api calls across DNS domains.   However, the client browser Chrome blocked those HTTP transactions due to CORS.    While essential to production security, this can be a roadblock to developer productivity locally.   The below steps show how to launch Chrome browser with CORS security temporarily disabled.   This can help remove complexity and security warnings to focus first on application features.

Once stable, we can add CORS support to the endpoint APIs (HTTP header Access-Control-Allow-Origin:*)  and calling JS application.

Install Steps

  1. Create empty folder C:\CHROME\
  2. Edit PowerShell profile script PS1  (notepad $profile)
  3. Add function chromecors()
  4. From CMD run “ng serve” to open local Angular hosting
  5. From CMD run “chromecors” to launch Chrome with CORS disable
  6. Enjoy debug and functional application testing without security warnings
  7. Add CORS support to endpoint APIs as needed. has great advice on configuration.


# Chrome Disable CORS
function chromecors() {
	TASKKILL /F /IM chrome.exe
	Start-Process -FilePath "c:\Program Files (x86)\Google\Chrome\Application\chrome.exe" -ArgumentList @("--disable-web-security", "--user-data-dir=""C:\Chrome""")







Return to Top ▲Return to Top ▲