1 Introduction | 2 Features | 3 Requirements | 4 Preparations | 5 Usage | 6 Examples
4 Preparations
4.1 Execution
- For local execution
- Install required modules
- Install this module
- Generate or request certificate
- For Azure execution
- Create Azure automation account
- Add required modules
- Add this module
- Enable system-assigned managed identity
- Create Azure key vault
- Generate, request or import certificate
- Grant role Key Vault Secrets User to automation account’s managed identity
- Create Azure automation account
4.2 Authentication
- Register Azure AD application
- Add required permissions
- Upload certificate
4.3 Permissions
- (optional, recommended) Create Exchange Online application access policy to restrict Azure AD application’s Mail.Send permission to intended sender mailbox
HINT: Most of the preparations for advanced Azure execution mentioned above can be deployed by using the Terraform module available in the GitHub repository, the exception being an Exchange Online application access policy.