User Profile
JohannesJ
Copper Contributor
Joined 6 years ago
User Widgets
Recent Discussions
Re: See the assignment date of a license
VasilMichev Hi there! I hope "reopening" this topic is okay! The provided solution is exactly what I'm looking for, however, it does not work for me. The "AssignedPlans" parameter is not available. If I try to apply it to a user object, it returns just an empty line. Example: PS C:\Users> (Get-AzADUser -UserPrincipalName fname.lname@domain.com).AssignedPlans PS C:\Users> If I run the following command, I get all assigned licenses for the same user, so the command above should return at least something. The .Licenses parameter is useful, but it does not solve my problem regarding the timestamp of the assignment. PS C:\Users> (Get-MsolUser -UserPrincipalName fname.lname@domain.com).Licenses ExtensionData: ... AccountSku: ... AccountSkuId: ... GroupsAssigningLicense: ... ServiceStatus: ... Is the ".AssignedPlans" parameter possibly superseded or are my Azure AD rights not sufficient for displaying the data? Is there another way to get the timestamp of license assignments except for checking the audit logs (since some assignments are older than 30 days). Some additional PowerShell information: Version: 5.1.18362.752 Script 1.8.1 Az.Accounts Script 2.1.0 Az.Resources Script 1.0.0.0 ISE Manifest 3.1.0.0 Microsoft.PowerShell.Management Manifest 3.0.0.0 Microsoft.PowerShell.Security Manifest 3.1.0.0 Microsoft.PowerShell.Utility Manifest 3.0.0.0 Microsoft.WSMan.Management Manifest 1.1.183.57 MSOnline Many thanks in advance! Best regards Johannes63KViews0likes2Comments
Recent Blog Articles
No content to show