{"id":4844,"date":"2020-06-17T10:15:10","date_gmt":"2020-06-17T18:15:10","guid":{"rendered":"https:\/\/officedevblogs.wpengine.com\/?p=4844"},"modified":"2020-06-17T10:15:10","modified_gmt":"2020-06-17T18:15:10","slug":"deprecation-of-riskeventtypes-property-in-signins-v1-0-api-on-microsoft-graph","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/deprecation-of-riskeventtypes-property-in-signins-v1-0-api-on-microsoft-graph\/","title":{"rendered":"Deprecation of riskEventTypes property in signIns v1.0 API on Microsoft Graph"},"content":{"rendered":"<h3>What you need to know<\/h3>\n<p>In a <a href=\"https:\/\/developer.microsoft.com\/en-us\/graph\/blogs\/changes-to-risk-event-properties-and-identity-protection-apis-on-microsoft-graph\/\">recent blog<\/a> we announced our intention to switch from using enumerated types to string types when representing risk event properties in Microsoft Graph. In addition to impacting the preview APIs as detailed in that blog, this change will also impact the in-production <strong>signIns API<\/strong>.<\/p>\n<p>We have introduced a new <strong>riskEventsTypes_v2 <\/strong>(string) property to the <strong>signIns v1.0 API<\/strong>. We will retire the current <strong>riskEventTypes <\/strong>(enum) property on June 11, 2022 in accordance with our Microsoft Graph deprication policy.<\/p>\n<h3>What we recommend you do<\/h3>\n<p>Please update any existing processes or integrations that use the <strong>signIns API<\/strong> to use the new <strong>riskEventTypes_v2<\/strong> property. We will only add new risk event types to these new properties and risk detection type information will only show up under the new property names. If you have existing queries that filter on the old properties, they will fail once the properties are removed from the API schema.<\/p>\n<p><strong>Example <\/strong><\/p>\n<p>Old query:<\/p>\n<p>GET https:\/\/graph.microsoft.com\/v1.0\/auditLogs\/signIns?$filter=riskEventTypes eq &#8216;unfamiliarFeatures&#8217;<\/p>\n<p>New query:<\/p>\n<p>GET https:\/\/graph.microsoft.com\/v1.0\/auditLogs\/signIns?$filter=riskEventTypes_v2 eq &#8216;unfamiliarFeatures&#8217;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have introduced a new riskEventsTypes_v2 (string) property to the signIns v1.0 API. We will retire the current riskEventTypes (enum) property on June 11, 2022 in accordance with our Microsoft Graph deprication policy.<\/p>\n","protected":false},"author":69076,"featured_media":25159,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3,5],"tags":[],"class_list":["post-4844","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-graph","category-microsoft-identity-platform"],"acf":[],"blog_post_summary":"<p>We have introduced a new riskEventsTypes_v2 (string) property to the signIns v1.0 API. We will retire the current riskEventTypes (enum) property on June 11, 2022 in accordance with our Microsoft Graph deprication policy.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/4844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/69076"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=4844"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/4844\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/25159"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=4844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=4844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=4844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}