Custom Roles in Azure don't meet my requirements

Nandan Desai 20 Reputation points
2023-06-07T15:28:39.0766667+00:00

Hi!

I have a scenario where I want to add a few users to an Administrative Unit and make one user amongst them a 'Security Admin'. This user needs to be able to read sign-in logs of only the users in that Administrative Unit.

I tried creating a Custom Role and added microsoft.directory/signInReports/allProperties/read permission along with other Group-related permissions and scoped it to that Administrative Unit. It didn't work.

So far, no matter what I try, I'm either able to read the sign-in logs of all the users in the Directory, or, not able to read the logs of any user at all.

My question is, is it possible to make microsoft.directory/signInReports/allProperties/read permission scoped to the Administrative Unit? If not, is there a workaround to solve this problem and achieve the same goal?

Thanks!

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 119.9K Reputation points MVP Volunteer Moderator
    2023-06-08T07:41:44.03+00:00

    You cannot scope this permission to specific AUs only. If you don't want to expose the full set of logs in your app, you'll have to filter them based on the AU membership yourself.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.