Symptoms

autoconf.py scripts fails with the error:

2017-03-31 08:50:55.275 [INFO] Parameter 'o365_based_on_email' added to service template
Traceback (most recent call last):
  File "autoconf.py", line 1070, in <module> 
    sys.exit(main())
  File "autoconf.py", line 1062, in main
    autoconf.createSPs(options.stubPlanId)
  File "autoconf.py", line 499, in createSPs
    raise Exception("Unable to find the stub plan by id %s " % stubPlanId)
Exception: Unable to find the stub plan by id 6 

Cause

The main O365 service plan (ID 6 in the example above) is not published.

Resolution

Publish the stub O365 service plan.

Internal content