Only server blazor can access the ad directly, a WASM would need to call an api. Second you want Windows authentication, not individual. Individual uses a database to define users and passwords. To add Windows authentication see:
Is it possible for a Blazor app to access Windows Server Active Directory?
We are beginning to consider writing some new apps using Blazor and .NET 8. I've played around with the beginner's tutorials, which are nice, but not enterprise quality. One of my colleagues has been experimenting with Blazor. He has approached it from the angle of authentication and authorization. In his experimentations he found that he could authenticate to our Active Directory servers, but he couldn't retrieve anything about the AD Groups the user is in. I tried duplicating what he did, by creating a new Blazor app using .NET 8, then I chose "Individual" for authentication. (The only other option was "None", which I didn't want to do.) I discovered the same thing, when running it. It popped up a window informing me that I was authenticated, but I suspect I, too, couldn't get a listing of all the AD Groups I'm a member of, in our domain. Please note that we do NOT want to use Azure AD! At this point we don't have an Azure tenant and I'm not sure if, or when, we'll have one. This must work with Windows Servers AD on-prem.
We're wondering, is it even possible to determine the AD Groups a person is a member of, in a Blazor app, written in .NET 8?