Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Hi Pranit,
Thank you for posting your question in the Microsoft Q&A forum.
From your description, it seems you're encountering critical blockers while trying to test your Teams app directly in the Teams client, particularly because key features like Salesforce live notifications don’t execute properly in the Microsoft 365 Developer Playground. To overcome this, you attempted to upload and test the app in Teams using your enterprise account, but ran into several issues. I’ve reviewed your case and done some research to provide a few insights that may help:
Issue 1: AADSTS50020 Error
This error typically occurs when the user account you're using belongs to a different Azure AD tenant than the one where the app is registered. Microsoft has a support article that explains this in detail. You may need to ensure that the account is added as a guest user in the correct tenant or switch to an account that belongs to the tenant where the app is registered.
Issue 2: “You don’t have the required permissions to access this org. Talk to your IT admin for more info or switch to another account.”
Even though account B has been granted admin roles, this error may still occur due to network restrictions or conditional access policies. I found a related thread where users resolved this by switching networks—suggesting that internal firewalls or proxies might be interfering with access.
Issue 3: “App not found” when uploading manually
This could be related to issues in your manifest.json file. I recommend validating the schema and ensuring all required fields are correctly filled. You can also follow this Microsoft guide on uploading custom apps to ensure all prerequisites are met.
Issue 4: “Custom App Upload Check Failed” in VS Code
Unfortunately, I couldn't find any official article for this error at this time. However, I suggest asking your Teams admin to double-check the custom app upload settings in the Teams admin center. This article outlines the necessary policies and permissions.
Since this is a go-live critical blocker, I highly recommend raising a support ticket with Microsoft via your admin portal. Microsoft support agents have access to diagnostic tools that can provide deeper insights and help resolve tenant-specific issues more effectively.
I hope these insights help move things forward. Let me know if you have any further questions.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread