How to generate a sample data test file using PowerShell

5gb sharepoint drag and drop

Using PowerShell, you can quickly create a test file on your computer. I use these for testing SharePoint attachment upload sizes. You can generate files in mb, gb, etc. easily. This example generates a 5gb test file in  C:\Users\MyUserName\AppData\Local\Temp called testfile.txt $path = "$env:temp\testfile.txt" $file = [io.file]::Create($path) $file.SetLength(5gb) $file.Close() Get-Item $path Example of the above … Continue reading How to generate a sample data test file using PowerShell

Purchasing a Logitech web cam in 2020- Most out there are old 2016 models

During the 2020 safer at home order, a lot of people have been purchasing web cams and recording hardware, leaving many suppliers out of stock or back ordered until July 2020. I have been tracking availability and noticed Best Buy has been getting shipments in recently, and back-ordered products ship in a week. After researching … Continue reading Purchasing a Logitech web cam in 2020- Most out there are old 2016 models

SharePoint Online- Bad service principal breaks SharePoint Admin API Access “Global Service Principal ID Error: Error: {}” Resolved

Could not retrieve Global Service Principal ID Error

We recently ran into an issue when creating SPFX Azure Active Directory App registrations using an O-Auth Implicit flow that our SharePoint Admin Center API Access page then gave an error: Could not retrieve Global Service Principal ID Error: Error: {} And when using O365 CLI, I was getting the same error trying to add … Continue reading SharePoint Online- Bad service principal breaks SharePoint Admin API Access “Global Service Principal ID Error: Error: {}” Resolved

List View Threshold with On-Premises Environments Troubleshooting- Resolved

Our team has been working on converting legacy SharePoint applications written in server side code to client side code on a newer version of SharePoint. The old environment lifted the List View Threshold to a non-default range, which the new environment did not have/support. Our goal was to have these applications respect the list view … Continue reading List View Threshold with On-Premises Environments Troubleshooting- Resolved

SharePoint Online- Create a new Home Site in an existing tenant. Spoiler- its not available yet.

This week at #MSIgnite, there has been a lot of talk about Home Sites. This was released a few months back as a PowerShell command to transform any modern communication site collection into the O365 SharePoint Online landing page for your organization. More can be read here: https://techcommunity.microsoft.com/t5/Microsoft-SharePoint-Blog/SharePoint-home-sites-a-landing-for-your-organization-on-the/ba-p/621933 SharePoint home sites are the landing sites … Continue reading SharePoint Online- Create a new Home Site in an existing tenant. Spoiler- its not available yet.