Can I use CAML query to get the current user's Region property in Azure AD?

Copper Contributor

I am creating a custom news targeting feature. My document library will contain news stories, each story will select 1 of 3 regions in the Region choice column. 

 

I want to look at the current user's region in Azure AD, and return to them the news stories with the same region using a CAML query. 

 

EX: a User with the "US" region in their Azure AD account will see news articles with the US property in the region column. 

 

Any help is greatly appreciated.

0 Replies