"Error while erasing flash memory" when updating firmware or installing certific

I found some related posts, but none recently. I've been teaching with the basic Arduino UNO board and am trying to update my curriculum so I started playing around with the MKR1000 board. In trying to do the first "Love You Pillow" tutorial (Love You Pillow | Arduino Project Hub) I got stuck on the FirmwareUpdater. The example loads successfully onto my board and the "test connection" works. However, when I try to Update Firmware or Load Certificates I get the error message "Error while erasing flash memory." I'm using the latest version of Arduino (1.8.8) Anyone know how to solve this?

What OS just in case there are any specifics you need to be aware of.
Some issues in Windows can be overcome by running the IDE as ADMINISTRATOR

You say you are in an EDU environment.
That can and has caused issues in the past for some users but I dont think your problem was amongst them.
Policy restrictions and other security measures might need tweaking.
Do you have the opportunity to try on a NON EDU computer just to rule out that aspect ?

There are a couple of examples for the firmware updater sketch and you may need to check you are using the correct one designed for the MKR1000 and not the other MKR's.