Currently trying to debug an MS Teams application by pressing 'Preview in Teams'. I've loaded the web browser version of MS Teams and an error shows stating: 'The app you want to add doesn’t exist in this org or you don’t have permission to access it'. I've tried adding a new app through Developer Portal with similar configurations, importing the app which was extracted from MS Teams' App Studio, and using the existing App Studio application where all of the three has shown the same error.
I've noticed that when I ran the 'Test & Distribute' of the application through App Studio (where it successfully loads up the application) and then trying to debug with 'Preview in Teams' through Developer Portal, the application successfully loads up, but the configurations I've made in Developer Portal after saving was not applied.
The question is how can I run an MS Teams application through Developer Portal without the error showing up?