azure-docs
azure-docs copied to clipboard
AzureADPreview doesn't mention platform compatibility
Just ran on Darwin based system, and it seems to import Windows.Forms 😢
Import-Module AzureADPreview
Import-Module:
Line |
5 | Import-Module AzureADPreview
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.
This would be a good caveat in the article that this currently is limited to running on Windows. I'll check the module repo as well to see about opening an issue on this if it fits.
I verified the module documentation shows this limitation here: AzureADPreview.md
Something similar to this would be great to avoid going down this path and wasting time if not on Windows.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 51dbe039-2ab8-b9a3-531d-71de3082cf2c
- Version Independent ID: 020b443d-d664-9bad-bbc9-74dbe35c8ae2
- Content: PowerShell for Azure AD roles in PIM - Azure AD - Microsoft Entra
- Content Source: articles/active-directory/privileged-identity-management/powershell-for-azure-ad-roles.md
- Service: active-directory
- Sub-service: pim
- GitHub Login: @amsliu
- Microsoft Alias: amsliu
@sheldonhull Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.
@sheldonhull Thank you for your feedback. I am double checking this with our product team.
#reassign @rkarim-ms
@JamesTran-MSFT could you please re-assign this issue to the PM @rkarim-ms? We are pending clarification from the product side. Thanks!