The Azure AD PowerShell module is being deprecated. You can use Microsoft Graph cmdlets as an alternative. For instance, to retrieve all Conditional Access (CA) policies, you can use the Get-MgIdentityConditionalAccessPolicy
cmdlet:
Get-MgIdentityConditionalAccessPolicy -All | select DisplayName,Description,State,CreatedDateTime
To get more details,
Get-MgIdentityConditionalAccessPolicy -All | select *
However, most properties will be displayed as IDs instead of user-friendly names. In such cases, you can use the Get-MgDirectoryObject
cmdlet to convert IDs into readable names.
For a more comprehensive approach, you can try this PowerShell script to export all CA policies to a CSV file, including 30+ properties like included/excluded users, groups, roles, device platforms, apps, and more: https://o365reports.com/2024/02/20/export-conditional-access-policies-to-excel-using-powershell/