title: Azure SaaS offer configuration return Error 500
body: <p>I hope somebody can help me to solve this issue.
  I am trying to create a SaaS on azure following this repo:</p>
  <p><a href="https://github.com/Azure/Commercial-Marketplace-SaaS-Accelerator" rel="nofollow noreferrer">https://github.com/Azure/Commercial-Marketplace-SaaS-Accelerator</a></p>
  <p>I was able to create the infra as stated in the documentation. In azure partner centre I created my marketplace offer and I am able to subscribe to the offer and create the SaaS in my subscription. When I receive the activation email and try to activate it, the portal returns the following error:</p>
  <pre><code>Error 500: Object reference not set to an instance of an object
  </code></pre>
  <p>In the admin portal I am getting the same error if I try to check all the subscriptions.</p>
  <p>I logged in the DB created, and I am seeing my user and subscription recorded correctly in the DB. I enabled the logging for the web apps but no error is showed while performing the activation.</p>
  <p>I am wondering if anyone encountered this error before and can shed some light on it and how to solve it.</p>