Skip to content

Missing "identityProtection/settings/notifications" endpoint #1146

@cnotin

Description

@cnotin

Describe the bug

Hello,

The beta Graph SDK has this useful endpoint: identityProtection/settings/notifications. It can be useful for security tools, including the US CISA's ScubaGear tool cisagov/ScubaGear#91

We observed it used by the Entra admin center in https://entra.microsoft.com/#view/Microsoft_AAD_IAM/IdentityProtectionMenuBlade/~/UsersAtRiskAlerts

Image

However, it cannot be fetched using the Graph SDK. I believe the reason is, like for some of my previous issues, its lack in the Graph API metadata:

<EntityType Name="identityProtectionRoot">
<NavigationProperty Name="riskDetections" Type="Collection(graph.riskDetection)" ContainsTarget="true"/>
<NavigationProperty Name="riskyServicePrincipals" Type="Collection(graph.riskyServicePrincipal)" ContainsTarget="true"/>
<NavigationProperty Name="riskyUsers" Type="Collection(graph.riskyUser)" ContainsTarget="true"/>
<NavigationProperty Name="servicePrincipalRiskDetections" Type="Collection(graph.servicePrincipalRiskDetection)" ContainsTarget="true"/>
</EntityType>

It's also not documented yet, perhaps for the same reason?

Can you please open an internal ICM for the Graph team, then ensure it's available in the SDK?

Expected behavior

The endpoint is exposed and usable

How to reproduce

Try to call it: the code isn't available

SDK Version

No response

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions