Azure Active Directory Identity And Access
Microsoft Graph Identity and Access Pack.#
This Integration is part of theUse the Azure Active Directory Identity And Access integration to manage roles and members.
#
Configure Azure Active Directory Identity and Access on Cortex XSOARNavigate to Settings > Integrations > Servers & Services.
Search for Azure Active Directory Identity and Access.
Click Add instance to create and configure a new integration instance.
Parameter Required Application ID False Private Key False Certificate Thumbprint False Use Azure Managed Identities False Azure Managed Identities Client ID False Azure AD endpoint False Trust any certificate (not secure) False Use system proxy settings False Click Test to validate the URLs, token, and connection.
#
Required PermissionsTo use this integration, the following permissions are required on the Azure app.
IdentityRiskEvent.Read.All
IdentityRiskyUser.ReadWrite.All
RoleManagement.ReadWrite.Directory
Policy.ReadWrite.ConditionalAccess
Policy.Read.All
#
CommandsYou can execute these commands from the Cortex XSOAR CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.
#
msgraph-identity-auth-startRun this command to start the authorization process and follow the instructions in the command results.
#
msgraph-identity-auth-completeRun this command to complete the authorization process. Should be used after running the msgraph-identity-auth-start command.
#
msgraph-identity-auth-resetRun this command if for some reason you need to rerun the authentication process.
#
msgraph-identity-auth-testTests connectivity to Microsoft.
#
msgraph-identity-directory-roles-listLists the roles in the directory.
#
Base Commandmsgraph-identity-directory-roles-list
#
InputArgument Name | Description | Required |
---|---|---|
limit | Maximum number of results to fetch. Default is 10. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
MSGraphIdentity.Role.deletedDateTime | Date | The time when a role was deleted. Displays only if a role was deleted. |
MSGraphIdentity.Role.description | String | The description of the directory role. |
MSGraphIdentity.Role.displayName | String | The display name of the directory role. |
MSGraphIdentity.Role.id | String | The unique identifier of the directory role. |
MSGraphIdentity.Role.roleTemplateId | String | The ID of the directory role template on which the role is based. |
#
Command Example!msgraph-identity-directory-roles-list limit=1
#
Context Example#
Human Readable Output#
Directory roles:
id displayName description roleTemplateId id Application Administrator Can create and manage all aspects of app registrations and enterprise apps. role-template-id
#
msgraph-identity-directory-role-activateActivates a role by its template ID.
#
Base Commandmsgraph-identity-directory-role-activate
#
InputArgument Name | Description | Required |
---|---|---|
role_template_id | ID of the role template to activate. Can be retrieved using the msgraph-identity-directory-roles-list command. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
MSGraphIdentity.Role.deletedDateTime | Date | The time when the role was deleted. Displays only if the role was deleted. |
MSGraphIdentity.Role.description | String | The description of the directory role. |
MSGraphIdentity.Role.displayName | String | The display name of the directory role. |
MSGraphIdentity.Role.id | String | The unique identifier of the directory role. |
MSGraphIdentity.Role.roleTemplateId | String | The ID of the directory role template on which this role is based. |
#
Command Example!msgraph-identity-directory-role-activate role_template_id=role-template-id
#
Context Example#
Human Readable Output#
Role has been activated
id roleTemplateId displayName description deletedDateTime id role-template-id Application Administrator Can create and manage all aspects of app registrations and enterprise apps.
#
msgraph-identity-directory-role-members-listGets all members in a role ID.
#
Base Commandmsgraph-identity-directory-role-members-list
#
InputArgument Name | Description | Required |
---|---|---|
role_id | The ID of the application for which to get its role members list. Can be retrieved using the msgraph-identity-directory-roles-list command. | Required |
limit | The maximum number of members to fetch. Default is 10. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
MSGraphIdentity.RoleMember.user_id | String | The unique identifier of the user in the role. |
MSGraphIdentity.RoleMember.role_id | String | The unique identifier of the role specified in the input. |
#
Command Example!msgraph-identity-directory-role-members-list role_id=:role:
#
Context Example#
Human Readable Output#
Role ':role:' members:
role_id user_id :role: 70585180-517a-43ea-9403-2d80b97ab19d,
5d9ed8e5-be5c-4aaf-86f8-c133c5cd19de,
"id",
a7cedb37-c4e5-4cfb-a327-7bafb34a1f49
#
msgraph-identity-directory-role-member-addAdds a user to a role.
#
Base Commandmsgraph-identity-directory-role-member-add
#
InputArgument Name | Description | Required |
---|---|---|
role_id | The ID of the role to add the user to. Can be retrieved using the msgraph-identity-directory-roles-list command. | Required |
user_id | The ID of the user to add to the role. Can be retrieved using the msgraph-identity-directory-role-members-list command. | Required |
#
Context OutputThere is no context output for this command.
#
Command Example!msgraph-identity-directory-role-member-add role_id=:role: user_id=:id:
#
Human Readable OutputUser ID ๐ has been added to role :role:
#
msgraph-identity-directory-role-member-removeRemoves a user from a role.
#
Base Commandmsgraph-identity-directory-role-member-remove
#
InputArgument Name | Description | Required |
---|---|---|
role_id | ID of the role from which to remove the user. Can be retrieved using the msgraph-identity-directory-roles-list command. | Required |
user_id | ID of the user to remove from the role. Can be retrieved using the msgraph-identity-directory-role-members-list command. | Required |
#
Context OutputThere is no context output for this command.
#
Command Example!msgraph-identity-directory-role-member-remove role_id=:role: user_id=:id:
#
Human Readable OutputUser ID ๐ has been removed from role :role:
#
msgraph-identity-ip-named-locations-createCreates an ip named location.
#
Base Commandmsgraph-identity-ip-named-locations-create
#
InputArgument Name | Description | Required |
---|---|---|
display_name | The display name for the ip named location. | Required |
is_trusted | A boolean to show if the ip named location is trusted. | Required |
ips | The ip ranges for the ip named location. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
MSGraph.conditionalAccess.namedIpLocations.time_created | Date | The time of the ip named location creation. |
MSGraph.conditionalAccess.namedIpLocations.time_modified | Date | The time the ip named location was last modified. |
MSGraph.conditionalAccess.namedIpLocations.display_name | String | The ip named location display name. |
MSGraph.conditionalAccess.namedIpLocations.id | String | The unique identifier of the ip named location. |
MSGraph.conditionalAccess.namedIpLocations.is_trusted | String | The ip named location trust status. |
MSGraph.conditionalAccess.namedIpLocations.ip_ranges | Array | The ip named location ip ranges. |
#
Command Example!msgraph-identity-ip-named-locations-create ips=12.34.221.11/22,2001:0:9d38:90d6:0:0:0:0/63 display_name=test is_trusted=True:
#
Human Readable Outputcreated Ip named location 'ID': :ipNamedLocation:
#
msgraph-identity-ip-named-locations-getGets an ip named location.
#
Base Commandmsgraph-identity-ip-named-locations-get
#
InputArgument Name | Description | Required |
---|---|---|
ip_id | The id of the ip named location to get. | Required |
#
Context OutputPath | Type | Description |
---|---|---|
MSGraph.conditionalAccess.namedIpLocations.time_created | Date | The time of the ip named location creation. |
MSGraph.conditionalAccess.namedIpLocations.time_modified | Date | The time the ip named location was last modified. |
MSGraph.conditionalAccess.namedIpLocations.display_name | String | The ip named location display name. |
MSGraph.conditionalAccess.namedIpLocations.id | String | The unique identifier of the ip named location. |
MSGraph.conditionalAccess.namedIpLocations.is_trusted | String | The ip named location trust status. |
MSGraph.conditionalAccess.namedIpLocations.ip_ranges | Array | The ip named location ip ranges. |
#
Command Example!msgraph-identity-ip-named-locations-get ip_id=03f8c56f-2ffd-4699-84af-XXXXXXXCX
#
Human Readable OutputIp named location 'ID': :ipNamedLocation:
#
msgraph-identity-ip-named-locations-deleteDeletes an ip named location.
#
Base Commandmsgraph-identity-ip-named-locations-delete
#
InputArgument Name | Description | Required |
---|---|---|
ip_id | The id of the ip named location to delete. | Required |
#
Context OutputNo context output
#
Command Example!msgraph-identity-ip-named-locations-delete ip_id=03f8c56f-2ffd-4699-84af-XXXXXXXCX
#
Human Readable OutputSuccessfully deleted IP named location 'X-X-X-X'
#
msgraph-identity-ip-named-locations-updateUpdates an ip named location.
#
Base Commandmsgraph-identity-ip-named-locations-update
#
InputArgument Name | Description | Required |
---|---|---|
ip_id | The id of the ip named location to delete. | Required |
display_name | The display name for the ip named location. | Required |
is_trusted | A boolean to show if the ip named location is trusted. | Required |
ips | The ip ranges for the ip named location. | Required |
#
Context OutputNo context output
#
Command Example!msgraph-identity-ip-named-locations-update ips=12.34.221.11/22,2001:0:9d38:90d6:0:0:0:0/63 display_name=test is_trusted=True ip_id=098699fc-10ad-420e-9XXXXXXXXXX
#
Human Readable OutputSuccessfully updated IP named location '006cc9bf-8391-4ff3-8cff-ee87f06b7b02'
#
msgraph-identity-ip-named-locations-listLists an ip named locations.
#
Base Commandmsgraph-identity-ip-named-locations-list
#
InputArgument Name | Description | Required |
---|---|---|
limit | The get request results limit. | Optional |
page | The page to get the data from. | Optional |
odata_query | An odata query to send to the api. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
MSGraph.conditionalAccess.namedIpLocations.ip_named_locations | Array | List of ip named locations. |
#
Command Example!msgraph-identity-ip-named-locations-list
#
msgraph-identity-protection-risks-listRetrieve the properties of a collection of riskDetection objects.
#
Required PermissionsIdentityRiskEvent.Read.All
#
Base Commandmsgraph-identity-protection-risks-list
#
InputArgument Name | Description | Required |
---|---|---|
odata_query | An odata query to send to the api. | Optional |
limit | Number of results to provide. Default is 50. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
MSGraph.identityProtection.risks.id | string | Unique ID of the risk detection. |
MSGraph.identityProtection.risks.requestId | string | The ID of the sign-in associated with the risk detection. This property is null if the risk detection is not associated with a sign-in. |
MSGraph.identityProtection.risks.correlationId | string | Correlation ID of the sign-in associated with the risk detection. This property is null if the risk detection is not associated with a sign-in. |
MSGraph.identityProtection.risks.riskEventType | string | The type of risk event detected. The possible values are unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic,adminConfirmedUserCompromised, mcasImpossibleTravel, mcasSuspiciousInboxManipulationRules, investigationsThreatIntelligenceSigninLinked, maliciousIPAddressValidCredentialsBlockedIP, and unknownFutureValue. |
MSGraph.identityProtection.risks.riskType | string | Deprecated. Use riskEventType instead. List of risk event types. |
MSGraph.identityProtection.risks.riskLevel | string | Risk level of the detected risky user. The possible values are low, medium, high, hidden, none, and unknownFutureValue. |
MSGraph.identityProtection.risks.riskstate | string | State of the user's risk. The possible values are none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, and unknownFutureValue. |
MSGraph.identityProtection.risks.riskDetail | string | Reason why the user is considered a risky user. The possible values are limited to none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, and unknownFutureValue. |
MSGraph.identityProtection.risks.source | string | Source of the risk detection. For example, activeDirectory . |
MSGraph.identityProtection.risks.detectionTimingType | string | Timing of the detected risk (real-time/offline). The possible values are notDefined, realtime, nearRealtime, offline, and unknownFutureValue. |
MSGraph.identityProtection.risks.activity | string | Indicates the activity type the detected risk is linked to. The possible values are signin, user, and unknownFutureValue. |
MSGraph.identityProtection.risks.tokenIssuerType | string | Indicates the type of token issuer for the detected sign-in risk. The possible values are AzureAD, ADFederationServices, and unknownFutureValue. |
MSGraph.identityProtection.risks.ipAddress | string | Provides the IP address of the client from where the risk occurred. |
MSGraph.identityProtection.risks.location.city | string | City of the sign-in. |
MSGraph.identityProtection.risks.location.countryOrRegion | string | Country or region of the sign-in. |
MSGraph.identityProtection.risks.location.geoCoordinates.latitude | string | Latitude of the sign-in. |
MSGraph.identityProtection.risks.location.geoCoordinates.longitude | string | Longitude of the sign-in. |
MSGraph.identityProtection.risks.location.state | string | State of the sign-in. |
MSGraph.identityProtection.risks.activityDateTime | string | Date and time that the risky activity occurred. The DateTimeOffset type represents date and time information using the ISO 8601 format and is always in UTC time. |
MSGraph.identityProtection.risks.detectedDateTime | string | Date and time that the risk was detected. The DateTimeOffset type represents date and time information using the ISO 8601 format and is always in UTC time. |
MSGraph.identityProtection.risks.lastUpdatedDateTime | string | Date and time that the risk detection was last updated. The DateTimeOffset type represents date and time information using the ISO 8601 format and is always in UTC time. |
MSGraph.identityProtection.risks.userId | string | Unique ID of the user. |
MSGraph.identityProtection.risks.userDisplayName | string | Risky user display name. |
MSGraph.identityProtection.risks.userPrincipalName | string | Risky user principal name. |
MSGraph.identityProtection.risks.additionalInfo | string | Additional information associated with the risk detection in JSON format. |
#
Command Example!msgraph-identity-protection-risks-list
#
Human Readable Output#
risks (6 results)
User ID User Principal Name User Display Name IP Address Detected Date Time Activity Activity Date Time Additional Info Correlation ID Detection Timing Type ID Last Updated Date Time Location Request ID Risk Detail Risk Event Type Risk Level Risk State Risk Type Source Token Issuer Type 3fa9f28b-eb0e-463a-ba7b-8089fe9991e2 jdoe@example.com John Doe 1.1.1.1 2021-04-25T09:00:40.7780969Z signin 2021-04-25T09:00:40.7780969Z [{"Key":"userAgent","Value":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36"}] 271ac223-695b-418e-85b3-7809070ee33e realtime 86a45315157fb75c3a6e0936ef854c139df99bdfbde4bd7e7f1bc685c3638908 2021-05-23T08:20:41.9161522Z city: San Jose
state: California
countryOrRegion: US
geoCoordinates: {"latitude": 37.33053, "longitude": -121.8382}86b6e4a1-25cb-40c7-af2b-9e79c6106000 userPerformedSecuredPasswordChange unfamiliarFeatures low remediated unfamiliarFeatures IdentityProtection AzureAD 3fa9f28b-eb0e-463a-ba7b-8089fe9991e2 jdoe@example.com John Doe 2.2.2.2 2021-04-28T11:40:11.333738Z signin 2021-04-28T11:40:11.333738Z [{"Key":"userAgent","Value":"python-requests/2.18.4"}] 6f74b0f4-dabc-49af-aa87-3aaba042baba realtime c0e94938cddbb849ef64dbb6a98189ab3d93cdec4c4f95923ac935a91486def2 2021-05-23T08:20:29.027631Z city: Frankfurt Am Main
state: Hessen
countryOrRegion: DE
geoCoordinates: {"latitude": 50.1109, "longitude": 8.6821}64b01b65-25fa-4811-b4cd-411c9accc000 userPerformedSecuredPasswordChange unfamiliarFeatures low remediated unfamiliarFeatures IdentityProtection AzureAD 3fa9f28b-eb0e-463a-ba7b-8089fe9991e2 jdoe@example.com John Doe 3.3.3.3 2021-04-29T08:03:23.5302796Z signin 2021-04-29T08:03:23.5302796Z [{"Key":"userAgent","Value":"python-requests/2.18.4"}] 069f7e67-3692-4191-a84d-14ab0aa1baba realtime c197aea67197503695f6dbddd9af2b3adcd1e8571f8381e96707ac71162d1cdf 2021-05-23T08:20:42.1561664Z city: Paris
state: Paris
countryOrRegion: FR
geoCoordinates: {"latitude": 48.86023, "longitude": 2.34107}22e0bc21-61f2-4661-aa0b-afe40985e100 userPerformedSecuredPasswordChange unfamiliarFeatures low remediated unfamiliarFeatures IdentityProtection AzureAD 3fa9f28b-eb0e-463a-ba7b-8089fe9991e2 jdoe@example.com John Doe 5.5.5.5 2021-05-07T06:00:45.0034244Z signin 2021-05-07T06:00:45.0034244Z [{"Key":"userAgent","Value":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36"}] dec7bb21-5a9b-45ff-84d6-b1538da801bc realtime 8b29fae724e168a32412e2bdc630540588df7558ac647772c36d957656b6e156 2021-05-23T08:20:42.2461705Z city: Tanglin
state: South West
countryOrRegion: SG
geoCoordinates: {"latitude": 1.32, "longitude": 103.8198}5fd28f4a-b172-4aa6-92b2-883832460400 userPerformedSecuredPasswordChange unfamiliarFeatures low remediated unfamiliarFeatures IdentityProtection AzureAD 3fa9f28b-eb0e-463a-ba7b-8089fe9991e2 jdoe@example.com John Doe 4.4.4.4 2021-05-09T09:41:24.9769131Z signin 2021-05-09T09:41:24.9769131Z [{"Key":"userAgent","Value":"BAV2ROPC"}] f9dbd73b-8e7f-4bcd-93a7-2a7c1d4cbaba realtime dbc1272033adf3a2e960ce438a671de91b4b1b917e250ec575492156eb64f6eb 2021-05-23T08:20:29.0726385Z city: Stockholm
state: Stockholms Lan
countryOrRegion: SE
geoCoordinates: {"latitude": 59.31512, "longitude": 18.05132}d6e81927-c8e1-40f4-ad38-aa4d5408aa00 userPerformedSecuredPasswordChange unfamiliarFeatures low remediated unfamiliarFeatures IdentityProtection AzureAD 3fa9f28b-eb0e-463a-ba7b-8089fe9991e2 jdoe@example.com John Doe 1.2.3.4 2021-05-11T07:15:33.6885155Z signin 2021-05-11T07:15:33.6885155Z [{"Key":"userAgent","Value":"python-requests/2.25.1"}] 5bb85e1f-1933-4698-831d-fbeb40aebaba realtime 969476f4d6d20717dfaea9f2df92945f9d736240d53b4187b50579003bf2d011 2021-05-23T08:20:42.2911741Z city: Dublin
state: Dublin
countryOrRegion: IE
geoCoordinates: {"latitude": 53.35389, "longitude": -6.24333}7b7d098c-edcc-4139-b171-fc64c38d0d00 userPerformedSecuredPasswordChange unfamiliarFeatures low remediated unfamiliarFeatures IdentityProtection AzureAD
#
msgraph-identity-protection-risky-user-listRetrieves the properties of a collection of riskDetection objects.
#
Required PermissionsIdentityRiskEvent.Read.All
#
Base Commandmsgraph-identity-protection-risky-user-list
#
InputArgument Name | Description | Required |
---|---|---|
updated_time | The time elapsed since the risky user was last updated, formatted as <number> <time unit> , e.g., 12 hours or 7 days . | Optional |
risk_level | Risk level of the detected risky user. The possible values are low, medium, high, hidden, none, and unknownFeatureValue. | Optional |
risk_state | State of the user's risk. The possible values are none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, and unknownFutureValue. | Optional |
risk_detail | Details of the detected risk. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, and unknownFutureValue. | Optional |
filter_expression | A custom query in OData syntax. Using this overrides all arguments, except for next_link. For more details, see https://docs.microsoft.com/en-us/graph/query-parameters. | Optional |
limit | Number of results to provide. Default is 50. | Optional |
next_link | A link that specifies a starting point for subsequent calls. Using this argument overrides all other arguments. | Optional |
user_name | Risky user principal name. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
MSGraph.identityProtection.risky-users.id | string | Unique ID of the risky user. |
MSGraph.identityProtection.risky-users.isDeleted | Boolean | Indicates whether a user is delted |
MSGraph.identityProtection.risky-users.isProcessing | Boolean | Indicates whether a user's risky state is being processed by the backend. |
MSGraph.identityProtection.risky-users.riskLastUpdatedDateTime | DateTime | The date and time that the risky user was last updated. The DateTimeOffset type represents date and time information using the ISO 8601 format and is always in UTC time. |
MSGraph.identityProtection.risky-users.riskLevel | string | Risk level of the detected risky user. The possible values are low, medium, high, hidden, none, and unknownFutureValue. |
MSGraph.identityProtection.risky-users.riskstate | string | State of the user's risk. The possible values are none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, and unknownFutureValue. |
MSGraph.identityProtection.risky-users.riskDetail | string | Reason why the user is considered a risky user. The possible values are limited to none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, and unknownFutureValue. |
MSGraph.identityProtection.risky-users.userDisplayName | string | Risky user display name. |
MSGraph.identityProtection.risky-users.userPrincipalName | string | Risky user principal name. |
#
Command Example!msgraph-identity-protection-risky-user-list
#
Human Readable Output#
Risky Users (1 result)
User Principal Name User Display Name ID Is Deleted Is Processing Risk Detail Risk Last Updated Date Time Risk Level Risk State jdoe@example.com John Doe 3fa9f28b-eb0e-463a-ba7b-8089fe9991e2 false false none 2021-07-21T17:56:28.958147Z medium atRisk
#
msgraph-identity-protection-risky-user-history-listGets the risk history of a riskyUser resource.
#
Required PermissionsIdentityRiskyUser.Read.All
IdentityRiskyUser.ReadWrite.All
#
Base Commandmsgraph-identity-protection-risky-user-history-list
#
InputArgument Name | Description | Required |
---|---|---|
user_id | Unique ID of the user. | Required |
limit | Number of results to provide. Default is 50. | Optional |
filter_expression | A custom query in OData syntax. Using this overrides all arguments, except for next_link. For more details, see https://docs.microsoft.com/en-us/graph/query-parameters. | Optional |
next_link | A link that specifies a starting point for subsequent calls. Using this argument overrides all other arguments. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
MSGraph.identityProtection.RiskyUserHistory.id | string | Unique ID of the risky user. |
MSGraph.identityProtection.RiskyUserHistory.isDeleted | Boolean | Indicates whether the user is deleted. |
MSGraph.identityProtection.RiskyUserHistory.isProcessing | Boolean | Indicates whether a user's risky state is being processed by the backend. |
MSGraph.identityProtection.RiskyUserHistory.riskLastUpdatedDateTime | DateTime | The date and time that the risky user was last updated. The DateTimeOffset type represents date and time information using the ISO 8601 format and is always in UTC time. |
MSGraph.identityProtection.RiskyUserHistory.riskLevel | string | Risk level of the detected risky user. The possible values are low, medium, high, hidden, none, and unknownFutureValue. |
MSGraph.identityProtection.RiskyUserHistory.riskstate | string | State of the user's risk. The possible values are none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, and unknownFutureValue. |
MSGraph.identityProtection.RiskyUserHistory.riskDetail | string | Reason why the user is considered a risky user. The possible values are limited to none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, and unknownFutureValue. |
MSGraph.identityProtection.RiskyUserHistory.userDisplayName | string | Risky user display name. |
MSGraph.identityProtection.RiskyUserHistory.userPrincipalName | string | Risky user principal name. |
#
Command Example!msgraph-identity-protection-risky-user-history-list user_id="3fa9f28b-eb0e-463a-ba7b-8089fe9991e2"
#
Human Readable Output#
Risky User History For 3Fa9F28B-Eb0E-463A-Ba7B-8089Fe9991E2 (12 results)
User ID User Principal Name User Display Name Activity ID Initiated By Is Deleted Is Processing Risk Detail Risk Last Updated Date Time Risk Level Risk State 3fa9f28b-eb0e-463a-ba7b-8089fe9991e2 jdoe@example.com John Doe eventTypes: unfamiliarFeatures
riskEventTypes: unfamiliarFeatures
detail: null3fa9f28b-eb0e-463a-ba7b-8089fe9991e2637571860258849619 false false none 2021-05-21T09:27:05.8849619Z high atRisk 3fa9f28b-eb0e-463a-ba7b-8089fe9991e2 jdoe@example.com John Doe eventTypes: unfamiliarFeatures
riskEventTypes: unfamiliarFeatures
detail: null3fa9f28b-eb0e-463a-ba7b-8089fe9991e2637579558855706894 false false none 2021-05-30T07:18:05.5706894Z low atRisk 3fa9f28b-eb0e-463a-ba7b-8089fe9991e2 jdoe@example.com John Doe eventTypes: unfamiliarFeatures
riskEventTypes: unfamiliarFeatures
detail: null3fa9f28b-eb0e-463a-ba7b-8089fe9991e2637581817194185440 false false none 2021-06-01T22:01:59.418544Z low atRisk 3fa9f28b-eb0e-463a-ba7b-8089fe9991e2 jdoe@example.com John Doe eventTypes: unfamiliarFeatures
riskEventTypes: unfamiliarFeatures
detail: null3fa9f28b-eb0e-463a-ba7b-8089fe9991e2637617844902084332 false false none 2021-07-13T14:48:10.2084332Z low atRisk 3fa9f28b-eb0e-463a-ba7b-8089fe9991e2 jdoe@example.com John Doe eventTypes: unfamiliarFeatures,
mcasImpossibleTravel
riskEventTypes: unfamiliarFeatures,
mcasImpossibleTravel
detail: null3fa9f28b-eb0e-463a-ba7b-8089fe9991e2637617905007494900 false false none 2021-07-13T16:28:20.74949Z medium atRisk 3fa9f28b-eb0e-463a-ba7b-8089fe9991e2 jdoe@example.com John Doe eventTypes: unfamiliarFeatures
riskEventTypes: unfamiliarFeatures
detail: null3fa9f28b-eb0e-463a-ba7b-8089fe9991e2 false false none 2021-07-21T17:56:28.958147Z medium atRisk 3fa9f28b-eb0e-463a-ba7b-8089fe9991e2 jdoe@example.com John Doe eventTypes:
riskEventTypes:
detail: userPerformedSecuredPasswordChange3fa9f28b-eb0e-463a-ba7b-8089fe9991e2637573546620000000 false false userPerformedSecuredPasswordChange 2021-05-23T08:17:42Z none remediated 3fa9f28b-eb0e-463a-ba7b-8089fe9991e2 jdoe@example.com John Doe eventTypes: mcasImpossibleTravel
riskEventTypes: mcasImpossibleTravel
detail: null3fa9f28b-eb0e-463a-ba7b-8089fe9991e2637580439207803793 false false none 2021-05-31T07:45:20.7803793Z low atRisk 3fa9f28b-eb0e-463a-ba7b-8089fe9991e2 jdoe@example.com John Doe eventTypes: unfamiliarFeatures
riskEventTypes: unfamiliarFeatures
detail: null3fa9f28b-eb0e-463a-ba7b-8089fe9991e2637588246283692301 false false none 2021-06-09T08:37:08.3692301Z low atRisk 3fa9f28b-eb0e-463a-ba7b-8089fe9991e2 jdoe@example.com John Doe eventTypes: mcasImpossibleTravel
riskEventTypes: mcasImpossibleTravel
detail: null3fa9f28b-eb0e-463a-ba7b-8089fe9991e2637597636382264783 false false none 2021-06-20T05:27:18.2264783Z low atRisk 3fa9f28b-eb0e-463a-ba7b-8089fe9991e2 jdoe@example.com John Doe eventTypes: unfamiliarFeatures
riskEventTypes: unfamiliarFeatures
detail: null3fa9f28b-eb0e-463a-ba7b-8089fe9991e2637600753627454017 false false none 2021-06-23T20:02:42.7454017Z low atRisk 3fa9f28b-eb0e-463a-ba7b-8089fe9991e2 jdoe@example.com John Doe eventTypes:
riskEventTypes:
detail: adminDismissedAllRiskForUser3fa9f28b-eb0e-463a-ba7b-8089fe9991e2637623861161706539 3fa9f28b-eb0e-463a-ba7b-8089fe9991e2 false false adminDismissedAllRiskForUser 2021-07-20T13:55:16.1706539Z none dismissed
#
msgraph-identity-protection-risky-user-confirm-compromisedConfirms one or more riskyUser objects as compromised. This action sets the targeted user's risk level to high.
#
Required PermissionsIdentityRiskyUser.ReadWrite.All
#
Base Commandmsgraph-identity-protection-risky-user-confirm-compromised
#
InputArgument Name | Description | Required |
---|---|---|
user_ids | One or more user IDs, comma-separated. | Required |
#
Context OutputThere is no context output for this command.
#
Command Example!MSGraph.identityProtection-risky-user-confirm-compromised user_ids="3fa9f28b-eb0e-463a-ba7b-8089fe9991e3"
#
Human Readable Outputโ Confirmed successfully.
#
msgraph-identity-protection-risky-user-dismissDismisses the risk of one or more riskyUser objects. This action sets the targeted user's risk level to none.
#
Required PermissionsIdentityRiskyUser.ReadWrite.All
#
Base Commandmsgraph-identity-protection-risky-user-dismiss
#
InputArgument Name | Description | Required |
---|---|---|
user_ids | One or more user IDs, comma-separated. | Required |
#
Context OutputThere is no context output for this command.
#
Command Example!c user_ids="3fa9f28b-eb0e-463a-ba7b-8089fe9991e2"
#
Human Readable Outputโ Dismissed successfully.