Upgrading broke the installed Online License Key

Product: PowerShell Universal
Version: 3.3.6

I upgraded from PSU 3.2.5 to 3.3.6 and my Online License failed to activate:

Failed to activate license
Sequence contains no elements

I downloaded a new Online Key from https://www.ironmansoftware.com/Account/Details, uploaded it to the PSU instance and deleted the old key, that appeared to restore functionality.

Interestingly, the Start Date of the broken broken license was 12 months and 2 weeks ago and this was the first update since that 12 month mark, I wonder if there is some broken logic somewhere? Or maybe the license format had changed.

I didn’t test it but I worry about license failures in production as a number of security features are licensed-only, does it fail safe or fail unsafe (open all access)?

@adam

We have activation logic that stores activation state in the database once the online key has activated. It will attempt to reactivate once the subscription period has expired. I wonder if our logic is invalid there.

Offline licenses are just local and don’t require any activation so if you are going to install a license once a year anyways, I would suggest using that.

All that said, it fails unsafe. I’ve opened an issue for this because, I agree, it shouldn’t work this way.