Forum Discussion
Develop Teams App without Microsoft 365 Developer Program sandbox subscription
Hello, I have a requirement to develop a Teams App for my company, but there is currently an issue with the Microsoft 365 Developer Program sandbox subscription and I am unable to sign up for it.
Link to the issue:
https://devblogs.microsoft.com/microsoft365dev/stay-ahead-of-the-game-with-the-latest-updates-to-the-microsoft-365-developer-program/#comments
How can I develop a Teams App without the sandbox?
An admin has turned on the settings in Teams Admin (link below) for me.
And I have logged in in Teams Toolkit but when I try and debug the app I get the following error.
[Error] - code:botAadAppCreate.HttpClientError, message: A http client error happened while performing the botAadApp/create task. The error response is: {"error":{"code":"Authorization_RequestDenied","message":"Insufficient privileges to complete the operation.","innerError":{"date":"2024-02-19T11:50:37","request-id":"cedb9c9e-51ab-4caf-a4c2-7accb633fb96","client-request-id":"cedb9c9e-51ab-4caf-a4c2-7accb633fb96"}}}
Help link: https://aka.ms/teamsfx-actions/botaadapp-create
Any help would be greatly appreciated.
Thank you.
Steev_Pierce - You can develop a Teams app without the sandbox. You can use the Teams Toolkit in Visual Studio Code to create a new app . The Teams Toolkit provides a “zero-configuration” approach to the developer experience, with integrated Identity, access to cloud storage, data from Microsoft Graph, and other services in Azure and Microsoft 365.
The error message you are encountering, "Authorization_RequestDenied - Insufficient privileges to complete the operation," indicates that the user does not have the required permissions to create an app in Azure Active Directory. Ensure that the user has either the Application Administrator or Application Developer role assigned. These roles provide the necessary permissions to create apps in Azure Active Directory.
Thanks,
Prasad Das
------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
- Prasad_Das-MSFTMicrosoft
Steev_Pierce - You can develop a Teams app without the sandbox. You can use the Teams Toolkit in Visual Studio Code to create a new app . The Teams Toolkit provides a “zero-configuration” approach to the developer experience, with integrated Identity, access to cloud storage, data from Microsoft Graph, and other services in Azure and Microsoft 365.
The error message you are encountering, "Authorization_RequestDenied - Insufficient privileges to complete the operation," indicates that the user does not have the required permissions to create an app in Azure Active Directory. Ensure that the user has either the Application Administrator or Application Developer role assigned. These roles provide the necessary permissions to create apps in Azure Active Directory.
Thanks,
Prasad Das
------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
- Steev_PierceCopper ContributorPrasad_Das-MSFT, Thank you for your reply. I will get the role assigned.
- XDeveloper29Copper ContributorSo to debug the app, we need the subscription for microsoft entra ID?
- Prasad_Das-MSFTMicrosoft
XDeveloper29 - Yes you need to have subscription for microsoft entra ID for debugging.
- hassoalbert43Copper Contributor
Power Bi @Developing a Teams app without access to the Microsoft 365 Developer Program sandbox subscription is indeed possible, though it may require a different approach. One option is to leverage the Microsoft Teams Toolkit for Visual Studio Code, which provides a set of tools and templates for building Teams apps locally. With this toolkit, developers can create, debug, and test Teams apps directly within Visual Studio Code without needing a sandbox subscription. Additionally, developers can utilize the Teams App Studio, a visual interface within Teams, to create and manage app manifests and test their apps in a development environment. While access to the sandbox subscription offers additional resources and capabilities for app development, developers can still create and deploy Teams apps using these alternative tools and methods.