Microsoft Graph cmdlets Cheat sheet 1.0

The “MG Cmdlets Cheat sheet” post serves as a vital resource for administrators aiming to harness the full potential of Microsoft Graph PowerShell cmdlets. While Microsoft’s official documentation offers excellent instructions on utilizing these cmdlets, it often falls short in revealing the complete array of fields returned upon execution.

This gap can lead to missed opportunities in leveraging the data these cmdlets can provide. This cheat sheet bridges this knowledge gap by providing a comprehensive overview of the fields output by various Microsoft Graph PowerShell commands. This ensures that administrators can access a complete picture of the data at their disposal, enhancing their ability to manage and integrate Microsoft Graph services effectively within their IT environment.

Microsoft Graph Cmdlets Cheatsheet

Find Azure AD PowerShell and MSOnline cmdlets in Microsoft Graph PowerShell

To find the equivalent of Azure AD PowerShell and MSOnline cmdlets in Microsoft Graph PowerShell check the below link provided by Microsoft.

How to get all the available headers of a returned result?

Executing the listed cmdlets only displays some default fields. To reveal all available fields, append “| Select-Object *" to the cmdlet in use.

Connect-MgGraph

$allReturnedResults = Get-MgUser -UserId "0ufp9rkd-94pf-05td-85yf-oap573859fab" | select-object *

After running this one we can see all the available headers and consequently the information provided. To get only the returned headers and relevant information about them, we could use the below.

Connect-MgGraph

$allReturnedResults = (Get-MgUser -UserId "0ufp9rkd-94pf-05td-85yf-oap573859fab" | select-object *) | Get-Member

Get-MgUser

HTML TABLE
NameMemberTypeDefinition
EqualsMethodbool Equals(System.Object obj)
GetHashCodeMethodint GetHashCode()
GetTypeMethodtype GetType()
ToStringMethodstring ToString()
AboutMeNotePropertyobject AboutMe=null
AccountEnabledNotePropertyobject AccountEnabled=null
ActivitiesNotePropertyobject Activities=null
AdditionalPropertiesNotePropertyDictionary[string,Object] AdditionalProperties=System.Collections.Generic.Dictionary`2[System.String,System.Object]
AgeGroupNotePropertyobject AgeGroup=null
AgreementAcceptancesNotePropertyobject AgreementAcceptances=null
AppRoleAssignmentsNotePropertyobject AppRoleAssignments=null
AssignedLicensesNotePropertyobject AssignedLicenses=null
AssignedPlansNotePropertyobject AssignedPlans=null
AuthenticationNotePropertyMicrosoftGraphAuthentication Authentication=Microsoft.Graph.PowerShell.Models.MicrosoftGraphAuthentication
AuthorizationInfoNotePropertyMicrosoftGraphAuthorizationInfo AuthorizationInfo=Microsoft.Graph.PowerShell.Models.MicrosoftGraphAuthorizationInfo
BirthdayNotePropertyobject Birthday=null
BusinessPhonesNotePropertystring[] BusinessPhones=System.String[]
CalendarNotePropertyMicrosoftGraphCalendar Calendar=Microsoft.Graph.PowerShell.Models.MicrosoftGraphCalendar
CalendarGroupsNotePropertyobject CalendarGroups=null
CalendarsNotePropertyobject Calendars=null
CalendarViewNotePropertyobject CalendarView=null
ChatsNotePropertyobject Chats=null
CityNotePropertyobject City=null
CompanyNameNotePropertyobject CompanyName=null
ConsentProvidedForMinorNotePropertyobject ConsentProvidedForMinor=null
ContactFoldersNotePropertyobject ContactFolders=null
ContactsNotePropertyobject Contacts=null
CountryNotePropertyobject Country=null
CreatedDateTimeNotePropertyobject CreatedDateTime=null
CreatedObjectsNotePropertyobject CreatedObjects=null
CreationTypeNotePropertyobject CreationType=null
CustomSecurityAttributesNotePropertyMicrosoftGraphCustomSecurityAttributeValue CustomSecurityAttributes=Microsoft.Graph.PowerShell.Models.MicrosoftGraphCustomSecurityAttributeValue
DeletedDateTimeNotePropertyobject DeletedDateTime=null
DepartmentNotePropertyobject Department=null
DeviceEnrollmentLimitNotePropertyobject DeviceEnrollmentLimit=null
DeviceManagementTroubleshootingEventsNotePropertyobject DeviceManagementTroubleshootingEvents=null
DirectReportsNotePropertyobject DirectReports=null
DisplayNameNotePropertystring DisplayName=Miriam Graham
DriveNotePropertyMicrosoftGraphDrive Drive=Microsoft.Graph.PowerShell.Models.MicrosoftGraphDrive
DrivesNotePropertyobject Drives=null
EmployeeExperienceNotePropertyMicrosoftGraphEmployeeExperienceUser EmployeeExperience=Microsoft.Graph.PowerShell.Models.MicrosoftGraphEmployeeExperienceUser
EmployeeHireDateNotePropertyobject EmployeeHireDate=null
EmployeeIdNotePropertyobject EmployeeId=null
EmployeeLeaveDateTimeNotePropertyobject EmployeeLeaveDateTime=null
EmployeeOrgDataNotePropertyMicrosoftGraphEmployeeOrgData EmployeeOrgData=Microsoft.Graph.PowerShell.Models.MicrosoftGraphEmployeeOrgData
EmployeeTypeNotePropertyobject EmployeeType=null
EventsNotePropertyobject Events=null
ExtensionsNotePropertyobject Extensions=null
ExternalUserStateNotePropertyobject ExternalUserState=null
ExternalUserStateChangeDateTimeNotePropertyobject ExternalUserStateChangeDateTime=null
FaxNumberNotePropertyobject FaxNumber=null
FollowedSitesNotePropertyobject FollowedSites=null
GivenNameNotePropertystring GivenName=Miriam
HireDateNotePropertyobject HireDate=null
IdNotePropertystring Id=0df31708-53fa-43ad-b47a-495ec7efe904
IdentitiesNotePropertyobject Identities=null
ImAddressesNotePropertyobject ImAddresses=null
InferenceClassificationNotePropertyMicrosoftGraphInferenceClassification InferenceClassification=Microsoft.Graph.PowerShell.Models.MicrosoftGraphInferenceClassification
InsightsNotePropertyMicrosoftGraphOfficeGraphInsights Insights=Microsoft.Graph.PowerShell.Models.MicrosoftGraphOfficeGraphInsights
InterestsNotePropertyobject Interests=null
IsResourceAccountNotePropertyobject IsResourceAccount=null
JobTitleNotePropertystring JobTitle=Director
JoinedTeamsNotePropertyobject JoinedTeams=null
LastPasswordChangeDateTimeNotePropertyobject LastPasswordChangeDateTime=null
LegalAgeGroupClassificationNotePropertyobject LegalAgeGroupClassification=null
LicenseAssignmentStatesNotePropertyobject LicenseAssignmentStates=null
LicenseDetailsNotePropertyobject LicenseDetails=null
MailNotePropertystring Mail=MiriamG@pptestlab.onmicrosoft.com
MailboxSettingsNotePropertyMicrosoftGraphMailboxSettings MailboxSettings=Microsoft.Graph.PowerShell.Models.MicrosoftGraphMailboxSettings
MailFoldersNotePropertyobject MailFolders=null
MailNicknameNotePropertyobject MailNickname=null
ManagedAppRegistrationsNotePropertyobject ManagedAppRegistrations=null
ManagedDevicesNotePropertyobject ManagedDevices=null
ManagerNotePropertyMicrosoftGraphDirectoryObject Manager=Microsoft.Graph.PowerShell.Models.MicrosoftGraphDirectoryObject
MemberOfNotePropertyobject MemberOf=null
MessagesNotePropertyobject Messages=null
MobilePhoneNotePropertyobject MobilePhone=null
MySiteNotePropertyobject MySite=null
Oauth2PermissionGrantsNotePropertyobject Oauth2PermissionGrants=null
OfficeLocationNotePropertystring OfficeLocation=131/2103
OnenoteNotePropertyMicrosoftGraphOnenote Onenote=Microsoft.Graph.PowerShell.Models.MicrosoftGraphOnenote
OnlineMeetingsNotePropertyobject OnlineMeetings=null
OnPremisesDistinguishedNameNotePropertyobject OnPremisesDistinguishedName=null
OnPremisesDomainNameNotePropertyobject OnPremisesDomainName=null
OnPremisesExtensionAttributesNotePropertyMicrosoftGraphOnPremisesExtensionAttributes OnPremisesExtensionAttributes=Microsoft.Graph.PowerShell.Models.MicrosoftGraphOnPremisesExtensionAttributes
OnPremisesImmutableIdNotePropertyobject OnPremisesImmutableId=null
OnPremisesLastSyncDateTimeNotePropertyobject OnPremisesLastSyncDateTime=null
OnPremisesProvisioningErrorsNotePropertyobject OnPremisesProvisioningErrors=null
OnPremisesSamAccountNameNotePropertyobject OnPremisesSamAccountName=null
OnPremisesSecurityIdentifierNotePropertyobject OnPremisesSecurityIdentifier=null
OnPremisesSyncEnabledNotePropertyobject OnPremisesSyncEnabled=null
OnPremisesUserPrincipalNameNotePropertyobject OnPremisesUserPrincipalName=null
OtherMailsNotePropertyobject OtherMails=null
OutlookNotePropertyMicrosoftGraphOutlookUser Outlook=Microsoft.Graph.PowerShell.Models.MicrosoftGraphOutlookUser
OwnedDevicesNotePropertyobject OwnedDevices=null
OwnedObjectsNotePropertyobject OwnedObjects=null
PasswordPoliciesNotePropertyobject PasswordPolicies=null
PasswordProfileNotePropertyMicrosoftGraphPasswordProfile PasswordProfile=Microsoft.Graph.PowerShell.Models.MicrosoftGraphPasswordProfile
PastProjectsNotePropertyobject PastProjects=null
PeopleNotePropertyobject People=null
PhotoNotePropertyMicrosoftGraphProfilePhoto Photo=Microsoft.Graph.PowerShell.Models.MicrosoftGraphProfilePhoto
PhotosNotePropertyobject Photos=null
PlannerNotePropertyMicrosoftGraphPlannerUser Planner=Microsoft.Graph.PowerShell.Models.MicrosoftGraphPlannerUser
PostalCodeNotePropertyobject PostalCode=null
PreferredDataLocationNotePropertyobject PreferredDataLocation=null
PreferredLanguageNotePropertystring PreferredLanguage=en-US
PreferredNameNotePropertyobject PreferredName=null
PresenceNotePropertyMicrosoftGraphPresence Presence=Microsoft.Graph.PowerShell.Models.MicrosoftGraphPresence
PrintNotePropertyMicrosoftGraphUserPrint Print=Microsoft.Graph.PowerShell.Models.MicrosoftGraphUserPrint
ProvisionedPlansNotePropertyobject ProvisionedPlans=null
ProxyAddressesNotePropertyobject ProxyAddresses=null
RegisteredDevicesNotePropertyobject RegisteredDevices=null
ResponsibilitiesNotePropertyobject Responsibilities=null
SchoolsNotePropertyobject Schools=null
ScopedRoleMemberOfNotePropertyobject ScopedRoleMemberOf=null
SecurityIdentifierNotePropertyobject SecurityIdentifier=null
ServiceProvisioningErrorsNotePropertyobject ServiceProvisioningErrors=null
SettingsNotePropertyMicrosoftGraphUserSettings Settings=Microsoft.Graph.PowerShell.Models.MicrosoftGraphUserSettings
ShowInAddressListNotePropertyobject ShowInAddressList=null
SignInActivityNotePropertyMicrosoftGraphSignInActivity SignInActivity=Microsoft.Graph.PowerShell.Models.MicrosoftGraphSignInActivity
SignInSessionsValidFromDateTimeNotePropertyobject SignInSessionsValidFromDateTime=null
SkillsNotePropertyobject Skills=null
StateNotePropertyobject State=null
StreetAddressNotePropertyobject StreetAddress=null
SurnameNotePropertystring Surname=Graham
TeamworkNotePropertyMicrosoftGraphUserTeamwork Teamwork=Microsoft.Graph.PowerShell.Models.MicrosoftGraphUserTeamwork
TodoNotePropertyMicrosoftGraphTodo Todo=Microsoft.Graph.PowerShell.Models.MicrosoftGraphTodo
TransitiveMemberOfNotePropertyobject TransitiveMemberOf=null
UsageLocationNotePropertyobject UsageLocation=null
UserPrincipalNameNotePropertystring UserPrincipalName=MiriamG@pptestlab.onmicrosoft.com
UserTypeNotePropertyobject UserType=null

Get-MgDeviceManagementManagedDevice

HTML TABLE
NameMemberTypeDefinition
EqualsMethodbool Equals(System.Object obj)
GetHashCodeMethodint GetHashCode()
GetTypeMethodtype GetType()
ToStringMethodstring ToString()
ActivationLockBypassCodeNotePropertyobject ActivationLockBypassCode=null
AdditionalPropertiesNotePropertyDictionary[string,Object] AdditionalProperties=System.Collections.Generic.Dictionary`2[System.String,System.Object]
AndroidSecurityPatchLevelNotePropertyobject AndroidSecurityPatchLevel=null
AzureAdDeviceIdNotePropertystring AzureAdDeviceId=a3775577-d43c-4079-97cf-a2a8a828cbdf
AzureAdRegisteredNotePropertybool AzureAdRegistered=True
ComplianceGracePeriodExpirationDateTimeNotePropertydatetime ComplianceGracePeriodExpirationDateTime=12/31/9999 11:59:59 PM
ComplianceStateNotePropertyComplianceState ComplianceState=compliant
ConfigurationManagerClientEnabledFeaturesNotePropertyMicrosoftGraphConfigurationManagerClientEnabledFeatures ConfigurationManagerClientEnabledFeatures=Microsoft.Graph.PowerShell.Models.MicrosoftGraphConfigurationManagerClientEnabledFeatures
DeviceActionResultsNotePropertyIMicrosoftGraphDeviceActionResult[] DeviceActionResults=Microsoft.Graph.PowerShell.Models.IMicrosoftGraphDeviceActionResult[]
DeviceCategoryNotePropertyMicrosoftGraphDeviceCategory DeviceCategory=Microsoft.Graph.PowerShell.Models.MicrosoftGraphDeviceCategory
DeviceCategoryDisplayNameNotePropertystring DeviceCategoryDisplayName=
DeviceCompliancePolicyStatesNotePropertyobject DeviceCompliancePolicyStates=null
DeviceConfigurationStatesNotePropertyobject DeviceConfigurationStates=null
DeviceEnrollmentTypeNotePropertyDeviceEnrollmentType DeviceEnrollmentType=windowsAzureADJoin
DeviceHealthAttestationStateNotePropertyMicrosoftGraphDeviceHealthAttestationState DeviceHealthAttestationState=Microsoft.Graph.PowerShell.Models.MicrosoftGraphDeviceHealthAttestationState
DeviceNameNotePropertystring DeviceName=DESKTOP-22V7417
DeviceRegistrationStateNotePropertyDeviceRegistrationState DeviceRegistrationState=registered
EasActivatedNotePropertybool EasActivated=True
EasActivationDateTimeNotePropertydatetime EasActivationDateTime=6/3/2023 8:00:08 PM
EasDeviceIdNotePropertystring EasDeviceId=EB5B2783EB3F92F51532F69A74E25097
EmailAddressNotePropertystring EmailAddress=IsaiahL@pptestlab.onmicrosoft.com
EnrolledDateTimeNotePropertydatetime EnrolledDateTime=6/3/2023 7:56:10 PM
EthernetMacAddressNotePropertystring EthernetMacAddress=000C297887E0
ExchangeAccessStateNotePropertyDeviceManagementExchangeAccessState ExchangeAccessState=none
ExchangeAccessStateReasonNotePropertyDeviceManagementExchangeAccessStateReason ExchangeAccessStateReason=none
ExchangeLastSuccessfulSyncDateTimeNotePropertydatetime ExchangeLastSuccessfulSyncDateTime=1/1/0001 12:00:00 AM
FreeStorageSpaceInBytesNotePropertylong FreeStorageSpaceInBytes=26230128640
IccidNotePropertystring Iccid=
IdNotePropertystring Id=593b30dd-35f7-449b-aef2-4439840cbf5f
ImeiNotePropertyobject Imei=null
IsEncryptedNotePropertybool IsEncrypted=True
IsSupervisedNotePropertybool IsSupervised=False
JailBrokenNotePropertystring JailBroken=Unknown
LastSyncDateTimeNotePropertydatetime LastSyncDateTime=3/6/2024 4:46:08 PM
LogCollectionRequestsNotePropertyobject LogCollectionRequests=null
ManagedDeviceNameNotePropertystring ManagedDeviceName=IsaiahL_Windows_6/3/2023_7:58 PM
ManagedDeviceOwnerTypeNotePropertyManagedDeviceOwnerType ManagedDeviceOwnerType=company
ManagementAgentNotePropertyManagementAgentType ManagementAgent=mdm
ManagementCertificateExpirationDateNotePropertydatetime ManagementCertificateExpirationDate=2/23/2025 8:37:33 AM
ManufacturerNotePropertystring Manufacturer=VMware, Inc.
MeidNotePropertyobject Meid=null
ModelNotePropertystring Model=VMware20,1
NotesNotePropertyobject Notes=null
OperatingSystemNotePropertystring OperatingSystem=Windows
OSVersionNotePropertystring OSVersion=10.0.19045.4046
PartnerReportedThreatStateNotePropertyManagedDevicePartnerReportedHealthState PartnerReportedThreatState=unknown
PhoneNumberNotePropertyobject PhoneNumber=null
PhysicalMemoryInBytesNotePropertylong PhysicalMemoryInBytes=0
RemoteAssistanceSessionErrorDetailsNotePropertystring RemoteAssistanceSessionErrorDetails=
RemoteAssistanceSessionUrlNotePropertystring RemoteAssistanceSessionUrl=
RequireUserEnrollmentApprovalNotePropertyobject RequireUserEnrollmentApproval=null
SerialNumberNotePropertystring SerialNumber=VMware-564d60a4124b021c-672628df377887e0
SubscriberCarrierNotePropertystring SubscriberCarrier=
TotalStorageSpaceInBytesNotePropertylong TotalStorageSpaceInBytes=63742935040
UdidNotePropertystring Udid=
UserDisplayNameNotePropertystring UserDisplayName=Isaiah Langer
UserIdNotePropertystring UserId=5a4f7fbc-ff4d-4629-ae9a-eda744aa238c
UserPrincipalNameNotePropertystring UserPrincipalName=IsaiahL@pptestlab.onmicrosoft.com
UsersNotePropertyobject Users=null
WiFiMacAddressNotePropertyobject WiFiMacAddress=null
WindowsProtectionStateNotePropertyMicrosoftGraphWindowsProtectionState WindowsProtectionState=Microsoft.Graph.PowerShell.Models.MicrosoftGraphWindowsProtectionState

Get-MgDevice

HTML TABLE
NameMemberTypeDefinition
EqualsMethodbool Equals(System.Object obj)
GetHashCodeMethodint GetHashCode()
GetTypeMethodtype GetType()
ToStringMethodstring ToString()
AccountEnabledNotePropertybool AccountEnabled=True
AdditionalPropertiesNotePropertyDictionary[string,Object] AdditionalProperties=System.Collections.Generic.Dictionary`2[System.String,System.Object]
AlternativeSecurityIdsNotePropertyIMicrosoftGraphAlternativeSecurityId[] AlternativeSecurityIds=Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAlternativeSecurityId[]
ApproximateLastSignInDateTimeNotePropertydatetime ApproximateLastSignInDateTime=3/6/2024 4:22:25 PM
ComplianceExpirationDateTimeNotePropertyobject ComplianceExpirationDateTime=null
DeletedDateTimeNotePropertyobject DeletedDateTime=null
DeviceCategoryNotePropertyobject DeviceCategory=null
DeviceIdNotePropertystring DeviceId=a3775577-d43c-4079-97cf-a2a8a828cbdf
DeviceMetadataNotePropertyobject DeviceMetadata=null
DeviceOwnershipNotePropertystring DeviceOwnership=Company
DeviceVersionNotePropertyint DeviceVersion=2
DisplayNameNotePropertystring DisplayName=DESKTOP-22V7417
EnrollmentProfileNameNotePropertystring EnrollmentProfileName=Main Autopilot Profile
ExtensionsNotePropertyobject Extensions=null
IdNotePropertystring Id=ce65cf46-a133-43c5-8832-b2fad747dd9e
IsCompliantNotePropertybool IsCompliant=True
IsManagedNotePropertybool IsManaged=True
MdmAppIdNotePropertystring MdmAppId=0000000a-0000-0000-c000-000000000000
MemberOfNotePropertyobject MemberOf=null
OnPremisesLastSyncDateTimeNotePropertyobject OnPremisesLastSyncDateTime=null
OnPremisesSyncEnabledNotePropertyobject OnPremisesSyncEnabled=null
OperatingSystemNotePropertystring OperatingSystem=Windows
OperatingSystemVersionNotePropertystring OperatingSystemVersion=10.0.19045.4046
PhysicalIdsNotePropertystring[] PhysicalIds=System.String[]
ProfileTypeNotePropertystring ProfileType=RegisteredDevice
RegisteredOwnersNotePropertyobject RegisteredOwners=null
RegisteredUsersNotePropertyobject RegisteredUsers=null
RegistrationDateTimeNotePropertydatetime RegistrationDateTime=6/3/2023 7:58:20 PM
SystemLabelsNotePropertystring[] SystemLabels=System.String[]
TransitiveMemberOfNotePropertyobject TransitiveMemberOf=null
TrustTypeNotePropertystring TrustType=AzureAd

Get-MgGroup

HTML TABLE
NameMemberTypeDefinition
EqualsMethodbool Equals(System.Object obj)
GetHashCodeMethodint GetHashCode()
GetTypeMethodtype GetType()
ToStringMethodstring ToString()
AcceptedSendersNotePropertyobject AcceptedSenders=null
AdditionalPropertiesNotePropertyDictionary[string,Object] AdditionalProperties=System.Collections.Generic.Dictionary`2[System.String,System.Object]
AllowExternalSendersNotePropertyobject AllowExternalSenders=null
AppRoleAssignmentsNotePropertyobject AppRoleAssignments=null
AssignedLabelsNotePropertyobject AssignedLabels=null
AssignedLicensesNotePropertyobject AssignedLicenses=null
AutoSubscribeNewMembersNotePropertyobject AutoSubscribeNewMembers=null
CalendarNotePropertyMicrosoftGraphCalendar Calendar=Microsoft.Graph.PowerShell.Models.MicrosoftGraphCalendar
CalendarViewNotePropertyobject CalendarView=null
ClassificationNotePropertyobject Classification=null
ConversationsNotePropertyobject Conversations=null
CreatedDateTimeNotePropertydatetime CreatedDateTime=6/3/2023 3:43:13 PM
CreatedOnBehalfOfNotePropertyMicrosoftGraphDirectoryObject CreatedOnBehalfOf=Microsoft.Graph.PowerShell.Models.MicrosoftGraphDirectoryObject
DeletedDateTimeNotePropertyobject DeletedDateTime=null
DescriptionNotePropertystring Description=This is a dynamic group that contains all Windows devices
DisplayNameNotePropertystring DisplayName=All Windows devices
DriveNotePropertyMicrosoftGraphDrive Drive=Microsoft.Graph.PowerShell.Models.MicrosoftGraphDrive
DrivesNotePropertyobject Drives=null
EventsNotePropertyobject Events=null
ExpirationDateTimeNotePropertyobject ExpirationDateTime=null
ExtensionsNotePropertyobject Extensions=null
GroupLifecyclePoliciesNotePropertyobject GroupLifecyclePolicies=null
GroupTypesNotePropertystring[] GroupTypes=System.String[]
HasMembersWithLicenseErrorsNotePropertyobject HasMembersWithLicenseErrors=null
HideFromAddressListsNotePropertyobject HideFromAddressLists=null
HideFromOutlookClientsNotePropertyobject HideFromOutlookClients=null
IdNotePropertystring Id=c4753daa-cfa5-4a6f-9181-2a35d714f299
IsArchivedNotePropertyobject IsArchived=null
IsAssignableToRoleNotePropertyobject IsAssignableToRole=null
IsSubscribedByMailNotePropertyobject IsSubscribedByMail=null
LicenseProcessingStateNotePropertyMicrosoftGraphLicenseProcessingState LicenseProcessingState=Microsoft.Graph.PowerShell.Models.MicrosoftGraphLicenseProcessingState
MailNotePropertyobject Mail=null
MailEnabledNotePropertybool MailEnabled=False
MailNicknameNotePropertystring MailNickname=26d11461-2
MemberOfNotePropertyobject MemberOf=null
MembersNotePropertyobject Members=null
MembershipRuleNotePropertystring MembershipRule=(device.deviceOwnership -eq "Company") and (device.deviceOSType -startsWith "Windows") and (device.deviceOSVersion -startsWith "10.0")
MembershipRuleProcessingStateNotePropertystring MembershipRuleProcessingState=On
MembersWithLicenseErrorsNotePropertyobject MembersWithLicenseErrors=null
OnenoteNotePropertyMicrosoftGraphOnenote Onenote=Microsoft.Graph.PowerShell.Models.MicrosoftGraphOnenote
OnPremisesDomainNameNotePropertyobject OnPremisesDomainName=null
OnPremisesLastSyncDateTimeNotePropertyobject OnPremisesLastSyncDateTime=null
OnPremisesNetBiosNameNotePropertyobject OnPremisesNetBiosName=null
OnPremisesProvisioningErrorsNotePropertyIMicrosoftGraphOnPremisesProvisioningError[] OnPremisesProvisioningErrors=Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesProvisioningError[]
OnPremisesSamAccountNameNotePropertyobject OnPremisesSamAccountName=null
OnPremisesSecurityIdentifierNotePropertyobject OnPremisesSecurityIdentifier=null
OnPremisesSyncEnabledNotePropertyobject OnPremisesSyncEnabled=null
OwnersNotePropertyobject Owners=null
PermissionGrantsNotePropertyobject PermissionGrants=null
PhotoNotePropertyMicrosoftGraphProfilePhoto Photo=Microsoft.Graph.PowerShell.Models.MicrosoftGraphProfilePhoto
PhotosNotePropertyobject Photos=null
PlannerNotePropertyMicrosoftGraphPlannerGroup Planner=Microsoft.Graph.PowerShell.Models.MicrosoftGraphPlannerGroup
PreferredDataLocationNotePropertyobject PreferredDataLocation=null
PreferredLanguageNotePropertyobject PreferredLanguage=null
ProxyAddressesNotePropertystring[] ProxyAddresses=System.String[]
RejectedSendersNotePropertyobject RejectedSenders=null
RenewedDateTimeNotePropertydatetime RenewedDateTime=6/3/2023 3:43:13 PM
SecurityEnabledNotePropertybool SecurityEnabled=True
SecurityIdentifierNotePropertystring SecurityIdentifier=S-1-12-1-3296017834-1248841637-891978129-2582779095
ServiceProvisioningErrorsNotePropertyIMicrosoftGraphServiceProvisioningError[] ServiceProvisioningErrors=Microsoft.Graph.PowerShell.Models.IMicrosoftGraphServiceProvisioningError[]
SettingsNotePropertyobject Settings=null
SitesNotePropertyobject Sites=null
TeamNotePropertyMicrosoftGraphTeam Team=Microsoft.Graph.PowerShell.Models.MicrosoftGraphTeam
ThemeNotePropertyobject Theme=null
ThreadsNotePropertyobject Threads=null
TransitiveMemberOfNotePropertyobject TransitiveMemberOf=null
TransitiveMembersNotePropertyobject TransitiveMembers=null
UnseenCountNotePropertyobject UnseenCount=null
VisibilityNotePropertyobject Visibility=null

Get-AzureADAuditSignInLogs

HTML TABLE
NameMemberTypeDefinition
EqualsMethodbool Equals(System.Object obj)
GetHashCodeMethodint GetHashCode()
GetTypeMethodtype GetType()
ToStringMethodstring ToString()
ActivityDateTimeNotePropertydatetime ActivityDateTime=3/10/2024 12:16:32 AM
ActivityDisplayNameNotePropertystring ActivityDisplayName=Consent to application
AdditionalDetailsNotePropertyIMicrosoftGraphKeyValue[] AdditionalDetails=Microsoft.Graph.PowerShell.Models.IMicrosoftGraphKeyValue[]
AdditionalPropertiesNotePropertyDictionary[string,Object] AdditionalProperties=System.Collections.Generic.Dictionary`2[System.String,System.Object]
CategoryNotePropertystring Category=ApplicationManagement
CorrelationIdNotePropertystring CorrelationId=68364911-f0e5-4bef-bafe-8f108d69b8a5
IdNotePropertystring Id=Directory_68364911-f0e5-4bef-bafe-8f108d69b8a5_C954C_409642771
InitiatedByNotePropertyMicrosoftGraphAuditActivityInitiator InitiatedBy=Microsoft.Graph.PowerShell.Models.MicrosoftGraphAuditActivityInitiator
LoggedByServiceNotePropertystring LoggedByService=Core Directory
OperationTypeNotePropertystring OperationType=Assign
ResultNotePropertystring Result=success
ResultReasonNotePropertystring ResultReason=
TargetResourcesNotePropertyIMicrosoftGraphTargetResource[] TargetResources=Microsoft.Graph.PowerShell.Models.IMicrosoftGraphTargetResource[]

Get-MgApplication

HTML TABLE
NameMemberTypeDefinition
EqualsMethodbool Equals(System.Object obj)
GetHashCodeMethodint GetHashCode()
GetTypeMethodtype GetType()
ToStringMethodstring ToString()
AddInsNotePropertyIMicrosoftGraphAddIn[] AddIns=Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAddIn[]
AdditionalPropertiesNotePropertyDictionary[string,Object] AdditionalProperties=System.Collections.Generic.Dictionary`2[System.String,System.Object]
ApiNotePropertyMicrosoftGraphApiApplication Api=Microsoft.Graph.PowerShell.Models.MicrosoftGraphApiApplication
AppIdNotePropertystring AppId=158b435c-76bb-42fa-8b96-1f171c51e8b3
ApplicationTemplateIdNotePropertyobject ApplicationTemplateId=null
AppManagementPoliciesNotePropertyobject AppManagementPolicies=null
AppRolesNotePropertyIMicrosoftGraphAppRole[] AppRoles=Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAppRole[]
CertificationNotePropertyMicrosoftGraphCertification Certification=Microsoft.Graph.PowerShell.Models.MicrosoftGraphCertification
CreatedDateTimeNotePropertydatetime CreatedDateTime=2/29/2024 8:09:19 PM
CreatedOnBehalfOfNotePropertyMicrosoftGraphDirectoryObject CreatedOnBehalfOf=Microsoft.Graph.PowerShell.Models.MicrosoftGraphDirectoryObject
DefaultRedirectUriNotePropertyobject DefaultRedirectUri=null
DeletedDateTimeNotePropertyobject DeletedDateTime=null
DescriptionNotePropertyobject Description=null
DisabledByMicrosoftStatusNotePropertyobject DisabledByMicrosoftStatus=null
DisplayNameNotePropertystring DisplayName=Microsoft Graph PowerShell – High Privilege admin use only
ExtensionPropertiesNotePropertyobject ExtensionProperties=null
FederatedIdentityCredentialsNotePropertyobject FederatedIdentityCredentials=null
GroupMembershipClaimsNotePropertyobject GroupMembershipClaims=null
HomeRealmDiscoveryPoliciesNotePropertyobject HomeRealmDiscoveryPolicies=null
IdNotePropertystring Id=66878aba-a8d2-4b11-9213-4ce2c832c93d
IdentifierUrisNotePropertystring[] IdentifierUris=System.String[]
InfoNotePropertyMicrosoftGraphInformationalUrl Info=Microsoft.Graph.PowerShell.Models.MicrosoftGraphInformationalUrl
IsDeviceOnlyAuthSupportedNotePropertyobject IsDeviceOnlyAuthSupported=null
IsFallbackPublicClientNotePropertyobject IsFallbackPublicClient=null
KeyCredentialsNotePropertyIMicrosoftGraphKeyCredential[] KeyCredentials=Microsoft.Graph.PowerShell.Models.IMicrosoftGraphKeyCredential[]
LogoNotePropertyobject Logo=null
NotesNotePropertyobject Notes=null
Oauth2RequirePostResponseNotePropertyobject Oauth2RequirePostResponse=null
OptionalClaimsNotePropertyMicrosoftGraphOptionalClaims OptionalClaims=Microsoft.Graph.PowerShell.Models.MicrosoftGraphOptionalClaims
OwnersNotePropertyobject Owners=null
ParentalControlSettingsNotePropertyMicrosoftGraphParentalControlSettings ParentalControlSettings=Microsoft.Graph.PowerShell.Models.MicrosoftGraphParentalControlSettings
PasswordCredentialsNotePropertyIMicrosoftGraphPasswordCredential[] PasswordCredentials=Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPasswordCredential[]
PublicClientNotePropertyMicrosoftGraphPublicClientApplication PublicClient=Microsoft.Graph.PowerShell.Models.MicrosoftGraphPublicClientApplication
PublisherDomainNotePropertystring PublisherDomain=pptestlab.onmicrosoft.com
RequestSignatureVerificationNotePropertyMicrosoftGraphRequestSignatureVerification RequestSignatureVerification=Microsoft.Graph.PowerShell.Models.MicrosoftGraphRequestSignatureVerification
RequiredResourceAccessNotePropertyIMicrosoftGraphRequiredResourceAccess[] RequiredResourceAccess=Microsoft.Graph.PowerShell.Models.IMicrosoftGraphRequiredResourceAccess[]
SamlMetadataUrlNotePropertyobject SamlMetadataUrl=null
ServiceManagementReferenceNotePropertyobject ServiceManagementReference=null
ServicePrincipalLockConfigurationNotePropertyMicrosoftGraphServicePrincipalLockConfiguration ServicePrincipalLockConfiguration=Microsoft.Graph.PowerShell.Models.MicrosoftGraphServicePrincipalLockConfiguration
SignInAudienceNotePropertystring SignInAudience=AzureADMyOrg
SpaNotePropertyMicrosoftGraphSpaApplication Spa=Microsoft.Graph.PowerShell.Models.MicrosoftGraphSpaApplication
SynchronizationNotePropertyMicrosoftGraphSynchronization Synchronization=Microsoft.Graph.PowerShell.Models.MicrosoftGraphSynchronization
TagsNotePropertystring[] Tags=System.String[]
TokenEncryptionKeyIdNotePropertyobject TokenEncryptionKeyId=null
TokenIssuancePoliciesNotePropertyobject TokenIssuancePolicies=null
TokenLifetimePoliciesNotePropertyobject TokenLifetimePolicies=null
VerifiedPublisherNotePropertyMicrosoftGraphVerifiedPublisher VerifiedPublisher=Microsoft.Graph.PowerShell.Models.MicrosoftGraphVerifiedPublisher
WebNotePropertyMicrosoftGraphWebApplication Web=Microsoft.Graph.PowerShell.Models.MicrosoftGraphWebApplication

Get-MgDirectoryObjectById

HTML TABLE
NameMemberTypeDefinition
EqualsMethodbool Equals(System.Object obj)
GetHashCodeMethodint GetHashCode()
GetTypeMethodtype GetType()
ToStringMethodstring ToString()
AdditionalPropertiesNotePropertyDictionary[string,Object] AdditionalProperties=System.Collections.Generic.Dictionary`2[System.String,System.Object]
DeletedDateTimeNotePropertyobject DeletedDateTime=null
IdNotePropertystring Id=ce65cf46-a133-43c5-8832-b2fad747dd9e

Get-MgDomain

HTML TABLE
NameMemberTypeDefinition
EqualsMethodbool Equals(System.Object obj)
GetHashCodeMethodint GetHashCode()
GetTypeMethodtype GetType()
ToStringMethodstring ToString()
AdditionalPropertiesNotePropertyDictionary[string,Object] AdditionalProperties=System.Collections.Generic.Dictionary`2[System.String,System.Object]
AuthenticationTypeNotePropertystring AuthenticationType=Managed
AvailabilityStatusNotePropertyobject AvailabilityStatus=null
DomainNameReferencesNotePropertyobject DomainNameReferences=null
FederationConfigurationNotePropertyobject FederationConfiguration=null
IdNotePropertystring Id=pptestlab.onmicrosoft.com
IsAdminManagedNotePropertybool IsAdminManaged=True
IsDefaultNotePropertybool IsDefault=True
IsInitialNotePropertybool IsInitial=True
IsRootNotePropertybool IsRoot=True
IsVerifiedNotePropertybool IsVerified=True
ManufacturerNotePropertyobject Manufacturer=null
ModelNotePropertyobject Model=null
PasswordNotificationWindowInDaysNotePropertyint PasswordNotificationWindowInDays=14
PasswordValidityPeriodInDaysNotePropertyint PasswordValidityPeriodInDays=2147483647
ServiceConfigurationRecordsNotePropertyobject ServiceConfigurationRecords=null
StateNotePropertyMicrosoftGraphDomainState State=Microsoft.Graph.PowerShell.Models.MicrosoftGraphDomainState
SupportedServicesNotePropertystring[] SupportedServices=System.String[]
VerificationDnsRecordsNotePropertyobject VerificationDnsRecords=null

Get-MgServicePrincipal

HTML TABLE
NameMemberTypeDefinition
EqualsMethodbool Equals(System.Object obj)
GetHashCodeMethodint GetHashCode()
GetTypeMethodtype GetType()
ToStringMethodstring ToString()
AccountEnabledNotePropertybool AccountEnabled=True
AddInsNotePropertyIMicrosoftGraphAddIn[] AddIns=Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAddIn[]
AdditionalPropertiesNotePropertyDictionary[string,Object] AdditionalProperties=System.Collections.Generic.Dictionary`2[System.String,System.Object]
AlternativeNamesNotePropertystring[] AlternativeNames=System.String[]
AppDescriptionNotePropertyobject AppDescription=null
AppDisplayNameNotePropertystring AppDisplayName=Microsoft Service Trust
AppIdNotePropertystring AppId=d6fdaa33-e821-4211-83d0-cf74736489e1
ApplicationTemplateIdNotePropertyobject ApplicationTemplateId=null
AppManagementPoliciesNotePropertyobject AppManagementPolicies=null
AppOwnerOrganizationIdNotePropertystring AppOwnerOrganizationId=f8cdef31-a31e-4b4a-93e4-5f571e91255a
AppRoleAssignedToNotePropertyobject AppRoleAssignedTo=null
AppRoleAssignmentRequiredNotePropertybool AppRoleAssignmentRequired=False
AppRoleAssignmentsNotePropertyobject AppRoleAssignments=null
AppRolesNotePropertyIMicrosoftGraphAppRole[] AppRoles=Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAppRole[]
ClaimsMappingPoliciesNotePropertyobject ClaimsMappingPolicies=null
CreatedObjectsNotePropertyobject CreatedObjects=null
CustomSecurityAttributesNotePropertyMicrosoftGraphCustomSecurityAttributeValue CustomSecurityAttributes=Microsoft.Graph.PowerShell.Models.MicrosoftGraphCustomSecurityAttributeValue
DelegatedPermissionClassificationsNotePropertyobject DelegatedPermissionClassifications=null
DeletedDateTimeNotePropertyobject DeletedDateTime=null
DescriptionNotePropertyobject Description=null
DisabledByMicrosoftStatusNotePropertyobject DisabledByMicrosoftStatus=null
DisplayNameNotePropertystring DisplayName=Microsoft Service Trust
EndpointsNotePropertyobject Endpoints=null
FederatedIdentityCredentialsNotePropertyobject FederatedIdentityCredentials=null
HomepageNotePropertyobject Homepage=null
HomeRealmDiscoveryPoliciesNotePropertyobject HomeRealmDiscoveryPolicies=null
IdNotePropertystring Id=06b0d667-42ae-45ea-8950-1d70be475e67
InfoNotePropertyMicrosoftGraphInformationalUrl Info=Microsoft.Graph.PowerShell.Models.MicrosoftGraphInformationalUrl
KeyCredentialsNotePropertyIMicrosoftGraphKeyCredential[] KeyCredentials=Microsoft.Graph.PowerShell.Models.IMicrosoftGraphKeyCredential[]
LoginUrlNotePropertyobject LoginUrl=null
LogoutUrlNotePropertystring LogoutUrl=https://servicetrust.microsoft.com
MemberOfNotePropertyobject MemberOf=null
NotesNotePropertyobject Notes=null
NotificationEmailAddressesNotePropertystring[] NotificationEmailAddresses=System.String[]
Oauth2PermissionGrantsNotePropertyobject Oauth2PermissionGrants=null
Oauth2PermissionScopesNotePropertyIMicrosoftGraphPermissionScope[] Oauth2PermissionScopes=Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPermissionScope[]
OwnedObjectsNotePropertyobject OwnedObjects=null
OwnersNotePropertyobject Owners=null
PasswordCredentialsNotePropertyIMicrosoftGraphPasswordCredential[] PasswordCredentials=Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPasswordCredential[]
PreferredSingleSignOnModeNotePropertyobject PreferredSingleSignOnMode=null
PreferredTokenSigningKeyThumbprintNotePropertyobject PreferredTokenSigningKeyThumbprint=null
RemoteDesktopSecurityConfigurationNotePropertyMicrosoftGraphRemoteDesktopSecurityConfiguration RemoteDesktopSecurityConfiguration=Microsoft.Graph.PowerShell.Models.MicrosoftGraphRemoteDesktopSecurityConfiguration
ReplyUrlsNotePropertystring[] ReplyUrls=System.String[]
ResourceSpecificApplicationPermissionsNotePropertyIMicrosoftGraphResourceSpecificPermission[] ResourceSpecificApplicationPermissions=Microsoft.Graph.PowerShell.Models.IMicrosoftGraphResourceSpecificPermission[]
SamlSingleSignOnSettingsNotePropertyMicrosoftGraphSamlSingleSignOnSettings SamlSingleSignOnSettings=Microsoft.Graph.PowerShell.Models.MicrosoftGraphSamlSingleSignOnSettings
ServicePrincipalNamesNotePropertystring[] ServicePrincipalNames=System.String[]
ServicePrincipalTypeNotePropertystring ServicePrincipalType=Application
SignInAudienceNotePropertystring SignInAudience=AzureADMultipleOrgs
SynchronizationNotePropertyMicrosoftGraphSynchronization Synchronization=Microsoft.Graph.PowerShell.Models.MicrosoftGraphSynchronization
TagsNotePropertystring[] Tags=System.String[]
TokenEncryptionKeyIdNotePropertyobject TokenEncryptionKeyId=null
TokenIssuancePoliciesNotePropertyobject TokenIssuancePolicies=null
TokenLifetimePoliciesNotePropertyobject TokenLifetimePolicies=null
TransitiveMemberOfNotePropertyobject TransitiveMemberOf=null
VerifiedPublisherNotePropertyMicrosoftGraphVerifiedPublisher VerifiedPublisher=Microsoft.Graph.PowerShell.Models.MicrosoftGraphVerifiedPublisher

Get-MgGroupMember

HTML TABLE
NameMemberTypeDefinition
EqualsMethodbool Equals(System.Object obj)
GetHashCodeMethodint GetHashCode()
GetTypeMethodtype GetType()
ToStringMethodstring ToString()
AdditionalPropertiesNotePropertyDictionary[string,Object] AdditionalProperties=System.Collections.Generic.Dictionary`2[System.String,System.Object]
DeletedDateTimeNotePropertyobject DeletedDateTime=null
IdNotePropertystring Id=ce65cf46-a133-43c5-8832-b2fad747dd9e

Get-MgUserMemberOf

HTML TABLE
NameMemberTypeDefinition
EqualsMethodbool Equals(System.Object obj)
GetHashCodeMethodint GetHashCode()
GetTypeMethodtype GetType()
ToStringMethodstring ToString()
AdditionalPropertiesNotePropertyDictionary[string,Object] AdditionalProperties=System.Collections.Generic.Dictionary`2[System.String,System.Object]
DeletedDateTimeNotePropertyobject DeletedDateTime=null
IdNotePropertystring Id=51bc4bba-41b8-4f88-8e7b-f74579d1a95b

References and documentation:

Check the below posts to find out more interesting relevant topics:

Leave a Reply

Your email address will not be published. Required fields are marked *