DanielChronlund / DCToolbox

Tools for Microsoft cloud fans
309 stars 52 forks source link

How to exclude CAP for Azure roles? #10

Open TCM69 opened 3 years ago

TCM69 commented 3 years ago

Hi. Since script is currently not supporting CAP for Azure roles, how to exclude these to complete the report? Obviously it would be better to have the script also work for Azure roles CAPs....

When script process an Azure roles CAP for 'Getting including roles for policy...'

Invoke-RestMethod : The remote server returned an error: (404) Not Found. At C:\Program Files\WindowsPowerShell\Modules\DCToolbox\1.0.18\DCToolbox.psm1:895 char:29