Skip to content

Commit

Permalink
BPA Added Intune
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Buechi committed Sep 13, 2024
1 parent 0423d66 commit 6ad4eae
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "All - Table",
"name": "All",
"style": "Table",
"Fields": [
{
Expand Down Expand Up @@ -467,6 +467,24 @@
}
]
},
{
"name": "EntraIdJoinUserIsNotAdmin",
"API": "Graph",
"URL": "https://graph.microsoft.com/beta/policies/deviceRegistrationPolicy?$select=azureADJoin",
"ExtractFields": [
"azureADJoin"
],
"where": "$_.azureADJoin.localAdmins.registeringUsers.'@odata.type' -eq '#microsoft.graph.noDeviceRegistrationMembership'",
"StoreAs": "bool",
"FrontendFields": [
{
"name": "User device admin disabled",
"desc": "Check if user gets added to the local administrators group after Entra ID join",
"value": "EntraIdJoinUserIsNotAdmin",
"formatter": "bool"
}
]
},
{
"name": "LAPS",
"API": "Graph",
Expand Down
18 changes: 18 additions & 0 deletions Config/AXE-TENANT-INTUNE.BPATemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,24 @@
}
]
},
{
"name": "EntraIdJoinUserIsNotAdmin",
"API": "Graph",
"URL": "https://graph.microsoft.com/beta/policies/deviceRegistrationPolicy?$select=azureADJoin",
"ExtractFields": [
"azureADJoin"
],
"where": "$_.azureADJoin.localAdmins.registeringUsers.'@odata.type' -eq '#microsoft.graph.noDeviceRegistrationMembership'",
"StoreAs": "bool",
"FrontendFields": [
{
"name": "User device admin disabled",
"desc": "Check if user gets added to the local administrators group after Entra ID join",
"value": "EntraIdJoinUserIsNotAdmin",
"formatter": "bool"
}
]
},
{
"name": "LAPS",
"API": "Graph",
Expand Down

0 comments on commit 6ad4eae

Please sign in to comment.