So I’m drafting a script that will prompt for which plan is required, Bus Prem or Exch Online, then check to verify Active is greater than Consumed. If yes then assign plan to user specified. If not, then pause allowing admin to buy a license, then teh admin continues the script to assign the new free license.
What I’ve got so far is:
Pretty sure line 17 is formatted wrong. That’s the part I’m hung up on.