microsoft / EntraExporter

PowerShell module to export a local copy of an Entra (Azure AD) tenant configuration.
https://aka.ms/EntraExporter
MIT License
572 stars 92 forks source link

Azure DevOps pipeline example #58

Closed ztrhgf closed 10 months ago

ztrhgf commented 1 year ago

Example of the Azure DevOps pipeline.

Authentication is made via enterprise application (defined by CLIENT_ID, CLIENT_SECRET). Such an application needs to be "global reader" plus have all required graph permissions granted.

It is worth mentioning that the variables below need to be defined in the pipeline too:

PS: I am using Windows host because of https://github.com/microsoft/EntraExporter/issues/57 issue

ztrhgf commented 1 year ago

@microsoft-github-policy-service agree

ztrhgf commented 10 months ago

I have created even better pipeline that saves authors of the changes to the commit too.

You can check it at https://doitpsway.com/how-to-easily-backup-your-azure-environment-using-entraexporter-and-azure-devops-pipeline

merill commented 10 months ago

Awesome! Thanks. I have added a link in the readme to this blog post.