12Knocksinna / Office365itpros

Office 365 for IT Pros PowerShell examples
MIT License
1.24k stars 559 forks source link

AssignedLicenses and -SignInActivity not working #85

Closed DP3103 closed 1 year ago

DP3103 commented 1 year ago

I see the "AssignedLicenses" attribute does not contains any values in my tenant and also the signInActivity is not accessible through $user.Signinactivity rather it has moved to the additionalproperties. Please update the script if it is a change at the Get-MgUser command level.

DP3103 commented 1 year ago

Thanks Tony for the great script. It seems to be working fine now. I think the issue was with Scopes or Mg profile i was using in Powershell 7 vs Powershell ISE