Forum Discussion
codemainan123
Feb 06, 2025Copper Contributor
What is the best practice for automating App-Creation?
1.)
i am trying to rollout a CalendarSync to several different organizations, in an effort to reduce work by the organization admins.
So to say I am looking for ways to automate the microsoft entra stuff:
- like first time App-Creation
- Manifest Editing (precisely: add permissions, change callback uris, ...)
3.) I have a working Authorization which needs TenantId + ClientId, BUT when rolling out the program to other organizations, they have not any ClientId for authorization. They have to create firstly an app manually and only than they can log in ... is there any way for first time organizations, to not manually loginto microsoft entra and create an application?
2.)
What is the best practice to go about this? I would like to automate as much as possible with my c# code?
- sofyanCopper Contributor
<p>Automating app creation in Microsoft Entra can save time during CalendarSync rollouts. Using Microsoft Graph API or PowerShell scripts for app registration and permissions can simplify the process. I automated a similar setup for an reducing manual work and errors. Have you considered using Entra templates or ARM templates for first-time app creation?</p>
- alexadam2Copper Contributor
<p><strong>Response:</strong></p> <p>When it comes to automating app creation, the best practice typically revolves around a few key steps:</p> <ol> <li><strong>Use DevOps Tools and CI/CD Pipelines:</strong><br> Automating the entire application creation process requires setting up a continuous integration and continuous deployment (CI/CD) pipeline. This allows you to build, test, and deploy apps efficiently. Tools like Jenkins, Azure DevOps, and GitHub Actions are commonly used in this process.</li> <li><strong>Infrastructure as Code (IaC):</strong><br> Using tools like Terraform or AWS CloudFormation allows you to manage your infrastructure as code. This makes it easy to replicate and automate app environments, ensuring consistency across various stages of development and deployment.</li> <li><strong>Containerization:</strong><br> Docker and Kubernetes are also critical in automating the process. Containerizing your application helps in managing dependencies and ensuring consistency across different environments, speeding up the app creation process.</li> <li><strong>Use Platform-Specific Automation Tools:</strong><br> Platforms like <a href="https://streameast.buzz/en" target="_blank"><strong>streameast</strong></a> automate certain aspects of live streaming and app management for events, so if you're developing an app that integrates with live content, you can use services that already provide automated streaming solutions.</li> </ol> <p>By using these best practices, you'll be able to create scalable, consistent, and fast app development processes.</p>