Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Disable AAD user does not trigger CAE when using MS Graph #8

Open
damienbod opened this issue Sep 11, 2022 · 1 comment
Open

Bug Disable AAD user does not trigger CAE when using MS Graph #8

damienbod opened this issue Sep 11, 2022 · 1 comment

Comments

@damienbod
Copy link
Contributor

damienbod commented Sep 11, 2022

The CAE does not seem to work as I expect it to. (Not sure if this is the correct place to report this)

Test setup

  1. Signin with AAD member account
  2. Application is running and access data using MS Graph
  3. Disable user account (This should trigger a CAE event to graph)
  4. Wait 5 mins
  5. Call MS graph again.
    Expect an exception or a 401 after N minutes

Graph API call:

https://github.com/damienbod/AspNetCoreAzureADCAE/blob/main/BlazorStandalone/Server/Services/MsGraphService.cs#L15-L22

Graph client is initialized as follows: (delegated user with downstream api)

https://github.com/damienbod/AspNetCoreAzureADCAE/blob/main/BlazorStandalone/Server/Program.cs#L35-L38

I have the feature enabled:

 "AzureAd": {
    "ClientCapabilities": [ "cp1" ],
  },

Using the following Graph package:

<PackageReference Include="Microsoft.Identity.Web.MicrosoftGraphBeta" Version="1.25.2" />

Code: https://github.com/damienbod/AspNetCoreAzureADCAE

Any ideas?

Greetings Damien

@kalyankrishna1
Copy link
Contributor

Thanks for reaching out. Could we ask for a favor and keep trying for up-to 4-5 hrs. please? We have heard reports that for Free Azure AD tenants, the warm-up for the first event is sometimes running into hours and wanted to get some more evidence. Thanks for your patience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants