Forum Discussion

Steev_Pierce's avatar
Steev_Pierce
Copper Contributor
Feb 19, 2024

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.

 

https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/prepare-your-o365-tenant#enable-custom-teams-apps-and-turn-on-custom-app-uploading

 

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. 

  • 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. 

  • XDeveloper29's avatar
    XDeveloper29
    Copper Contributor
    So to debug the app, we need the subscription for microsoft entra ID?
  • hassoalbert43's avatar
    hassoalbert43
    Copper 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.

     
     
     
     
     

Resources