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] Revoke SignInSessions not working #957

Open
shyamal890 opened this issue Jan 17, 2025 · 2 comments
Open

[Bug] Revoke SignInSessions not working #957

shyamal890 opened this issue Jan 17, 2025 · 2 comments
Labels
Service issue type:bug A broken experience

Comments

@shyamal890
Copy link

Describe the bug

Followed the guide - https://learn.microsoft.com/en-us/graph/api/user-revokesigninsessions?view=graph-rest-beta&tabs=csharp

var graphClient = InitiateGraphClient();
await graphClient.Users[azure_user_id].RevokeSignInSessions.PostAsRevokeSignInSessionsPostResponseAsync();

Output:

{
    "additionalData": {
        "@odata.context": "https://graph.microsoft.com/beta/$metadata#Edm.Boolean"
    },
    "backingStore": {
        "returnOnlyChangedValues": false,
        "initializationCompleted": true
    },
    "value": true
}

Even after 10 mins I am able to utilize refresh_token and generate new access_token

Microsoft.

Expected behavior

Should have revoked access_token and refresh_tokens

How to reproduce

var graphClient = InitiateGraphClient();
await graphClient.Users[azure_user_id].RevokeSignInSessions.PostAsRevokeSignInSessionsPostResponseAsync();

SDK Version

5.93.0-preview

Latest version known to work for scenario above?

No response

Known Workarounds

None

Debug output

Click to expand log ```
</details>


### Configuration

- OS: Windows 11
- Microsoft.Graph.Beta - 5.93.0-preview

### Other information

_No response_
@shyamal890 shyamal890 added status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience labels Jan 17, 2025
@andrueastman
Copy link
Member

Thanks for raising this @shyamal890

As this looks to be related to the behaviour of the API and this repo is intended mainly for SDK related issues, any chance you can post the question at the link below to get feedback from the owners of the api?

https://aka.ms/askGraph

@andrueastman andrueastman added Service issue status:waiting-for-author-feedback Issue that we've responded but needs author feedback to close and removed status:waiting-for-triage An issue that is yet to be reviewed or assigned labels Feb 4, 2025
@baywet baywet removed the status:waiting-for-author-feedback Issue that we've responded but needs author feedback to close label Feb 4, 2025
@shyamal890
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Service issue type:bug A broken experience
Projects
None yet
Development

No branches or pull requests

3 participants