In an earlier post, we saw how to enable Role-Based Access for .Net Core Web applications. We used hardcoded AD Group Id's in the application as below
"AdGroups": [
{
"GroupName": "Admin",
"GroupId": "119f6fb5-a325-47f9-9889-ae6979e9e120"
},
{
"GroupName": "Employee",
"GroupIā¦