Thank you. We tried, this, but getting an error as seen in the below attachment.
I have also attached screenshots of our App configuration in the Azure Portal. It is no longer possible to use the Apps Dev Portal to create apps, since it shows the below notice -
Application registrations portal is no longer available to register and manage converged applications. We recommend that you manage your existing applications and register new applications by using the App registrations (now Generally Available) experience in the Azure portal.
We're glad to hear you were able to fix the issue. If you can share the code you used to get it working for you, we'll do what we can to make sure it's in a future release so you don't have to manually make those changes again as you update.