This repository houses the infrastructure as code (IaC) and workflow logic to streamline and automate the onboarding process for new employees into Azure AD, while ensuring access to necessary Azure resources. This comprehensive guide will help you understand the project's structure, components, and deployment process.
- Introduction
- Prerequisites
- Repository Structure
- Workflow Overview
- Getting Started
- Deployment
- Monitoring and Troubleshooting
- Contributing
- License
The AzureHROnboardingLogic project aims to automate and optimize the onboarding of new employees into Azure AD, following industry best practices for DevOps and Azure administration. Leveraging Azure services like Logic Apps, Azure AD, and Azure Resource Manager, this project ensures efficient user provisioning, role assignment, and resource allocation while enhancing security and scalability.
Before you begin, ensure you have the following in place:
- Azure subscription
- Azure AD instance set up
- Familiarity with Azure Logic Apps, Azure Resource Manager, and Azure AD
The repository is organized as follows:
infrastructure/
: Contains the IaC code for provisioning Azure resources using Terraform/ARM templates.workflow/
: Holds the Logic App workflow design and configuration.scripts/
: Includes any necessary scripts for deployment or automation.
The Logic App workflow follows these key steps:
- Trigger: The workflow is triggered by specific events like a new entry in a SharePoint list or an email.
- Azure AD User Creation: Utilizing the Azure AD connector, a new user is automatically created based on trigger details.
- Role and Group Assignment: Predefined roles and groups are assigned to the user based on job position or department.
- Resource Provisioning: Azure resources are provisioned using the Azure Resource Manager connector.
- Welcome Email: A welcome email with access details is sent to the new hire via the Email connector.
- Monitoring and Review: The process is monitored through Logic Apps runs history and Azure AD logs.
To get started with this project, follow these steps:
- Clone this repository:
https://github.com/AnthonyByansi/Azure-HR_Onboarding-Logic.git
- Navigate to the appropriate directories for infrastructure and workflow.
- Configure the Logic App workflow and update IaC templates with your specific requirements.
- Deploy the IaC templates using Terraform or ARM templates located in the
infrastructure/
directory. - Deploy the Logic App workflow through the Azure portal, connecting the necessary connectors and configuring triggers.
- Monitor the Logic App's run history in the Azure portal.
- Review Azure AD logs for user creation and role assignments.
Contributions to this project are welcome! Feel free to open issues or pull requests for enhancements, bug fixes, or new features.
This project is licensed under the MIT License.
Byansi Anthony