Skip to content

Export Automations report

Go to Automation

View in GitLab

Description

This playbook automates the extraction of remediation scripts from Microsoft Intune using the Microsoft Graph API. It retrieves credentials and certificates securely from PasswordState and connects to Microsoft Graph.
The playbook fetches all device health scripts, including their assignments and run summaries, and exports the data into a formatted Excel file using the ImportExcel module. The resulting file is then copied to a designated network share.

Credentials

  • sys_ansible_aapwin
  • sys_ansible_intune

Input

Variable Description
domain_user Domain user for privilege escalation
domain_password Password for the domain user

Output

Variable Description
Excel file Remediation scripts exported to network share

Dependencies