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

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

Resolution

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

Screenshots

1
2
3
4
5
6
7
8

PowerShell Error

err

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

Reference

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.

Resolution

  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

Screenshot

2017-09-27_9-45-56

Reference

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

Video

Screenshot

image_thumb[4]

Source Code

© Copyright 2016
@ SPJeff

Return to Top ▲Return to Top ▲