Document Conditional Access policies in Excel

/ Conditional Access, Intune/ 0 comments

This PowerShell script adapts functionality from the Modern Workplace Concierge and documents your Conditional Access Policies. The script exports all the data as a csv file which can be pretty formatted as excel workbook.

  1. Install this script from the PowerShell gallery (dependent modules are automatically installed):

Script is saved to the user’s default script lcoation: “C:\Users\%USERNAME%\Documents\WindowsPowerShell\Scripts”

  1. Connect to Microsoft Graph

Afterwards: 

  1. Run script via PowerShell dot sourcing
  1. Pretty format the csv with excel & save it as excel workbook

Excel gimmicks

The following steps might help you to format the documentation.

  1. Copy the CSV data to the clipboard 
  2. Create a new excel workbook
  3. Right click & paste the csv data with the transpose option
  4. Expand the rows and columns and ensure text wrap is turned on

Share this Post

Leave a Comment

Your email address will not be published. Required fields are marked *

*
*