Microdoft graph api

Chethanraj M 21 Reputation points
2022-09-21T09:24:07.137+00:00

Hi these are the output which i get it from power shell commands can you tell me is it possible to get these outputs from graph API

{
"PSComputerName": "outlook.office365.com",
"RunspaceId": "8feada25-ae81-4496-a59e-1c71eb1b7ef2",
"PSShowComputerName": false,
"Database": "INDPR01DG126-db124",
"DatabaseGuid": "00000000-0000-0000-0000-000000000000",
"MailboxProvisioningConstraint": null,
"IsMonitoringMailbox": false,
"MailboxRegion": null,
"MailboxRegionLastUpdateTime": null,
"MailboxRegionSuffix": "None",
"MessageRecallProcessingEnabled": true,
"MessageCopyForSentAsEnabled": false,
"MessageCopyForSendOnBehalfEnabled": false,
"MailboxProvisioningPreferences": [

                                   ],  
"UseDatabaseRetentionDefaults":  false,  
"RetainDeletedItemsUntilBackup":  false,  
"DeliverToMailboxAndForward":  false,  
"IsExcludedFromServingHierarchy":  false,  
"IsHierarchyReady":  true,  
"IsHierarchySyncEnabled":  true,  
"IsPublicFolderSystemMailbox":  false,  
"HasSnackyAppData":  false,  
"LitigationHoldEnabled":  false,  
"SingleItemRecoveryEnabled":  true,  
"RetentionHoldEnabled":  false,  
"EndDateForRetentionHold":  null,  
"StartDateForRetentionHold":  null,  
"RetentionComment":  "",  
"RetentionUrl":  "",  
"LitigationHoldDate":  null,  
"LitigationHoldOwner":  "",  
"ElcProcessingDisabled":  false,  
"ComplianceTagHoldApplied":  false,  
"WasInactiveMailbox":  false,  
"DelayHoldApplied":  false,  
"DelayReleaseHoldApplied":  false,  
"PitrEnabled":  false,  
"PitrCopyIntervalInSeconds":  0,  
"InactiveMailboxRetireTime":  null,  
"OrphanSoftDeleteTrackingTime":  null,  
"LitigationHoldDuration":  "Unlimited",  
"ManagedFolderMailboxPolicy":  null,  
"RetentionPolicy":  "Default MRM Policy",  
"AddressBookPolicy":  null,  
"CalendarRepairDisabled":  false,  
"ExchangeGuid":  "b84d2951-96f5-4ede-958d-c39c9a609109",  
"MailboxContainerGuid":  null,  
"UnifiedMailbox":  null,  
"MailboxLocations":  [  
                         "1;b84d2951-96f5-4ede-958d-c39c9a609109;Primary;INDPRD01.PROD.OUTLOOK.COM;bbc8869d-d830-4  

106-8f39-b4695a7d2b08",
"1;cbab2504-da7f-432a-8999-b5443071f1b0;MainArchive;INDPRD01.PROD.OUTLOOK.COM;bb5c7202-d9
97-4958-9633-be1845f72709"
],
"AggregatedMailboxGuids": [

                           ],  
"ExchangeSecurityDescriptor":  "System.Security.AccessControl.RawSecurityDescriptor",  
"ExchangeUserAccountControl":  "None",  
"AdminDisplayVersion":  null,  
"MessageTrackingReadStatusEnabled":  true,  
"ExternalOofOptions":  "External",  
"ForwardingAddress":  null,  
"ForwardingSmtpAddress":  null,  
"RetainDeletedItemsFor":  "14.00:00:00",  
"IsMailboxEnabled":  true,  
"Languages":  [  

              ],  
"OfflineAddressBook":  null,  
"ProhibitSendQuota":  "99 GB (106,300,440,576 bytes)",  
"ProhibitSendReceiveQuota":  "100 GB (107,374,182,400 bytes)",  
"RecoverableItemsQuota":  "30 GB (32,212,254,720 bytes)",  
"RecoverableItemsWarningQuota":  "20 GB (21,474,836,480 bytes)",  
"CalendarLoggingQuota":  "Unlimited",  
"DowngradeHighPriorityMessagesEnabled":  false,  
"ProtocolSettings":  [  
                         "RemotePowerShell禮1",  
                         "MAPI禮1禮0禮禮禮0禮禮禮禮禮0",  
                         "PublicFolderClientAccess禮0",  
                         "IMAP4禮1禮禮禮禮禮禮禮禮禮禮禮禮",  
                         "POP3禮1禮禮禮禮禮禮禮禮禮禮禮禮1",  
                         "ECP禮1",  
                         "HTTP禮1禮1禮禮禮禮禮禮",  
                         "OWA禮1"  
                     ],  
"RecipientLimits":  "100",  
"ImListMigrationCompleted":  false,  
"SiloName":  null,  
"IsResource":  false,  
"IsLinked":  false,  
"IsShared":  false,  
"IsRootPublicFolderMailbox":  false,  
"LinkedMasterAccount":  "",  
"ResetPasswordOnNextLogon":  false,  
"ResourceCapacity":  null,  
"ResourceCustom":  [  

                   ],  
"ResourceType":  null,  
"RoomMailboxAccountEnabled":  null,  
"SamAccountName":  "$9DEJ70-ISOJM6LD85OH",  
"SCLDeleteThreshold":  null,  
"SCLDeleteEnabled":  null,  
"SCLRejectThreshold":  null,  
"SCLRejectEnabled":  null,  
"SCLQuarantineThreshold":  null,  
"SCLQuarantineEnabled":  null,  
"SCLJunkThreshold":  null,  
"SCLJunkEnabled":  null,  
"AntispamBypassEnabled":  false,  
"ServerLegacyDN":  "/o=ExchangeLabs/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers  

/cn=PN1PR0101MB2016",
"ServerName": "pn1pr0101mb2016",
"UseDatabaseQuotaDefaults": false,
"IssueWarningQuota": "98 GB (105,226,698,752 bytes)",
"RulesQuota": "256 KB (262,144 bytes)",
"Office": "Trivandrum - Local Onsite",
"UserPrincipalName": "mail_ID@keyman ",
"UMEnabled": false,
"MaxSafeSenders": null,
"MaxBlockedSenders": null,
"NetID": "100320022C1A01D4",
"ReconciliationId": null,
"WindowsLiveID": "mail_ID@keyman ",
"MicrosoftOnlineServicesID": "mail_ID@keyman ",
"ThrottlingPolicy": null,
"RoleAssignmentPolicy": "Default Role Assignment Policy",
"DefaultPublicFolderMailbox": null,
"EffectivePublicFolderMailbox": null,
"SharingPolicy": null,
"RemoteAccountPolicy": null,
"MailboxPlan": "ExchangeOnlineEnterprise-92ae24f6-09ab-4e73-808c-d4df517b7138",
"ArchiveDatabase": "INDPR01DG350-db072",
"ArchiveDatabaseGuid": "00000000-0000-0000-0000-000000000000",
"ArchiveGuid": "cbab2504-da7f-432a-8999-b5443071f1b0",
"ArchiveName": [
"In-Place Archive -******"
],
"JournalArchiveAddress": "",
"ArchiveQuota": "100 GB (107,374,182,400 bytes)",
"ArchiveWarningQuota": "90 GB (96,636,764,160 bytes)",
"ArchiveDomain": null,
"ArchiveStatus": "Active",
"ArchiveState": "Local",
"AutoExpandingArchiveEnabled": false,
"DisabledMailboxLocations": false,
"RemoteRecipientType": "None",
"DisabledArchiveDatabase": null,
"DisabledArchiveGuid": "00000000-0000-0000-0000-000000000000",
"QueryBaseDN": null,
"QueryBaseDNRestrictionEnabled": false,
"MailboxMoveTargetMDB": null,
"MailboxMoveSourceMDB": null,
"MailboxMoveFlags": "None",
"MailboxMoveRemoteHostName": "",
"MailboxMoveBatchName": "",
"MailboxMoveStatus": "None",
"MailboxRelease": "",
"ArchiveRelease": "",
"IsPersonToPersonTextMessagingEnabled": false,
"IsMachineToPersonTextMessagingEnabled": false,
"UserSMimeCertificate": [

                         ],  
"UserCertificate":  [  

                    ],  
"CalendarVersionStoreDisabled":  false,  
"ImmutableId":  "",  
"PersistedCapabilities":  [  
                              "BPOS_S_BookingsAddOn",  
                              "MYANALYTICSP2",  
                              "BPOS_S_Enterprise"  
                          ],  
"SKUAssigned":  true,  
"AuditEnabled":  false,  
"AuditLogAgeLimit":  "90.00:00:00",  
"AuditAdmin":  [  
                   "Update",  
                   "MoveToDeletedItems",  
                   "SoftDelete",  
                   "HardDelete",  
                   "SendAs",  
                   "SendOnBehalf",  
                   "Create",  
                   "UpdateFolderPermissions",  
                   "UpdateInboxRules",  
                   "UpdateCalendarDelegation",  
                   "ApplyRecord",  
                   "MailItemsAccessed",  
                   "Send"  
               ],  
"AuditDelegate":  [  
                      "Update",  
                      "MoveToDeletedItems",  
                      "SoftDelete",  
                      "HardDelete",  
                      "SendAs",  
                      "SendOnBehalf",  
                      "Create",  
                      "UpdateFolderPermissions",  
                      "UpdateInboxRules",  
                      "ApplyRecord",  
                      "MailItemsAccessed"  
                  ],  
"AuditOwner":  [  
                   "Update",  
                   "MoveToDeletedItems",  
                   "SoftDelete",  
                   "HardDelete",  
                   "Create",  
                   "UpdateFolderPermissions",  
                   "UpdateInboxRules",  
                   "UpdateCalendarDelegation",  
                   "ApplyRecord",  
                   "MailItemsAccessed",  
                   "Send"  
               ],  
"DefaultAuditSet":  [  

                    ],  
"WhenMailboxCreated":  "\/Date(1662651716000)\/",  
"SourceAnchor":  "",  
"UsageLocation":  "India",  
"IsSoftDeletedByRemove":  false,  
"IsSoftDeletedByDisable":  false,  
"IsInactiveMailbox":  false,  
"IncludeInGarbageCollection":  false,  
"WhenSoftDeleted":  null,  
"InPlaceHolds":  [  

                 ],  
"GeneratedOfflineAddressBooks":  [  

                                 ],  
"AccountDisabled":  false,  
"StsRefreshTokensValidFrom":  "\/Date(1662651422000)\/",  
"NonCompliantDevices":  [  

                        ],  
"EnforcedTimestamps":  "",  
"DataEncryptionPolicy":  null,  
"MessageCopyForSMTPClientSubmissionEnabled":  true,  
"RecipientThrottlingThreshold":  "Standard",  
"SharedEmailDomainTenant":  "",  
"SharedEmailDomainState":  "None",  
"SharedWithTargetSmtpAddress":  "",  
"SharedEmailDomainStateLastModified":  null,  
"Extensions":  [  

               ],  
"HasPicture":  false,  
"HasSpokenName":  false,  
"IsDirSynced":  false,  
"AcceptMessagesOnlyFrom":  [  

                           ],  
"AcceptMessagesOnlyFromDLMembers":  [  

                                    ],  
"AcceptMessagesOnlyFromSendersOrMembers":  [  

                                           ],  
"AddressListMembership":  [  
                              "\\Mailboxes(VLV)",  
                              "\\All Mailboxes(VLV)",  
                              "\\All Recipients(VLV)",  
                              "\\Default Global Address List",  
                              "\\Offline Global Address List",  
                              "\\All Users"  
                          ],  
"AdministrativeUnits":  [  

                        ],  
"Alias":  "xxxxx",  
"ArbitrationMailbox":  null,  
"BypassModerationFromSendersOrMembers":  [  

                                         ],  
"OrganizationalUnit":  "nampr13a900.prod.outlook.com/Microsoft Exchange Hosted Organizations/domain.onmicrosoft  

.com",
"CustomAttribute1": "Female",
"CustomAttribute10": "",
"CustomAttribute11": "",
"CustomAttribute12": "",
"CustomAttribute13": "",
"CustomAttribute14": "",
"CustomAttribute15": "Lic-Tel-P1",
"CustomAttribute2": "05-05-2020",
"CustomAttribute3": "26-01-1980",
"CustomAttribute4": "",
"CustomAttribute5": "",
"CustomAttribute6": "",
"CustomAttribute7": "",
"CustomAttribute8": "",
"CustomAttribute9": "",
"ExtensionCustomAttribute1": [

                              ],  
"ExtensionCustomAttribute2":  [  

                              ],  
"ExtensionCustomAttribute3":  [  

                              ],  
"ExtensionCustomAttribute4":  [  

                              ],  
"ExtensionCustomAttribute5":  [  

                              ],  
"DisplayName":  "xxxxx",  
"EmailAddresses":  [  
                       "SIP:mail_ID@domain",  
                       "SMTP:mail_ID@domain",  
                       "smtp:mail_ID@domain.onmicrosoft.com"  
                   ],  
"GrantSendOnBehalfTo":  [  

                        ],  
"ExternalDirectoryObjectId":  "d202cc0d-0e2b-4cbe-9cfe-aa6e1d377196",  
"HiddenFromAddressListsEnabled":  false,  
"LastExchangeChangedTime":  null,  
"LegacyExchangeDN":  "/o=ExchangeLabs/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=757dfab2  

0c744f7f8bb8879e9b21ff1a-*****",
"MaxSendSize": "36 MB (37,748,736 bytes)",
"MaxReceiveSize": "36 MB (37,748,736 bytes)",
"ModeratedBy": [

                ],  
"ModerationEnabled":  false,  
"PoliciesIncluded":  [  

                     ],  
"PoliciesExcluded":  [  
                         "{26491cfc-9e50-4857-861b-0cb8df22b5d7}"  
                     ],  
"EmailAddressPolicyEnabled":  false,  
"PrimarySmtpAddress":  "mail_ID@domain",  
"RecipientType":  "UserMailbox",  
"RecipientTypeDetails":  "UserMailbox",  
"RejectMessagesFrom":  [  

                       ],  
"RejectMessagesFromDLMembers":  [  

                                ],  
"RejectMessagesFromSendersOrMembers":  [  

                                       ],  
"RequireSenderAuthenticationEnabled":  false,  
"SimpleDisplayName":  "",  
"SendModerationNotifications":  "Always",  
"UMDtmfMap":  [  
                  "reversedPhone:6505424744919+",  
                  "emailAddress:84746824",  
                  "lastNameFirstName:26263847468",  
                  "firstNameLastName:84746826263"  
              ],  
"WindowsEmailAddress":  "mail_ID@domain",  
"MailTip":  null,  
"MailTipTranslations":  [  

                        ],  
"Identity":  "xxxxx",  
"Id":  "xxxxx",  
"IsValid":  true,  
"ExchangeVersion":  "0.20 (15.0.0.0)",  
"Name":  "xxxxx",  
"DistinguishedName":  "CN=xxxxx,OU=domain.onmicrosoft.com,OU=Microsoft Exchange Hosted Organizations,DC=  

NAMPR13A900,DC=PROD,DC=OUTLOOK,DC=COM",
"ObjectCategory": "NAMPR13A900.PROD.OUTLOOK.COM/Configuration/Schema/Person",
"ObjectClass": [
"top",
"person",
"organizationalPerson",
"user"
],
"WhenChanged": "/Date(1662655103000)/",
"WhenCreated": "/Date(1662651721000)/",
"WhenChangedUTC": "/Date(1662655103000)/",
"WhenCreatedUTC": "/Date(1662651721000)/",
"ExchangeObjectId": "9c5c2381-95f6-4f49-a4fe-989433e3918a",
"OrganizationalUnitRoot": "domain.onmicrosoft.com",
"OrganizationId": "NAMPR13A900.PROD.OUTLOOK.COM/Microsoft Exchange Hosted Organizations/domain.onmicrosoft.com

  • NAMPR13A900.PROD.OUTLOOK.COM/ConfigurationUnits/domain.onmicrosoft.com/Configuration",
    "Guid": "9c5c2381-95f6-4f49-a4fe-989433e3918a",
    "OriginatingServer": "TY0PR13A00DC003.NAMPR13A900.PROD.OUTLOOK.COM",
    "ObjectState": "Unchanged"
    }
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,488 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.