web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Can connector(office36...
Power Automate
Unanswered

Can connector(office365 user) revoke user? (graph revokeSignInSessions)

(0) ShareShare
ReportReport
Posted on by
Hello, 
I'm getting to know about power automate.
The goal is to revoke the login session of the retired user on the retirement day.
 
In MS graph explorer, I confirmed that the query runs as below as post, that is, I have the authority.
>> https://graph.microsoft.com/v1.0/users/aaa@abc.com/microsoft.graph.revokeSignInSessions
 
So I'm testing if I can use graph api using office365 user connector(http request) in power automate.
 
However, I got the failure information that I don't have enough permission.
 
1. Is there something I'm missing?
 
2. Is revokeSignInSessions impossible on this connector(office365 users)?
 
3. Is there a way to achieve the goal with connectors other than primium?
 
 
 
{
  "error": {
    "code""Authorization_RequestDenied",
    "message""Insufficient privileges to complete the operation.",
    "innerError": {
      "date""2024-10-14T10:44:27",
      "request-id""0c9f0a6c-239e-415c-a66f-xxxxxxxxxxx",
      "client-request-id""0c9f0a6c-239e-415c-a66f-xxxxxxxxxxx"
    }
  }
}
 
{
  "Cache-Control""no-cache",
  "Transfer-Encoding""chunked",
  "Vary""Accept-Encoding",
  "Strict-Transport-Security""max-age=31536000",
  "request-id""0c9f0a6c-239e-415c-a66f-",
  "client-request-id""0c9f0a6c-239e-415c-a66f-",
  "x-ms-ags-diagnostic""{\"ServerInfo\":{\"DataCenter\":\"Southeast Asia\",\"Slice\":\"E\",\"Ring\":\"5\",\"ScaleUnit\":\"001\",\"RoleInstance\":\"SI2PEPF00000BCC\"}}",
  "x-ms-resource-unit""1",
  "x-ms-environment-id""default-eafd2c38-5251-4c0f-b9f8-",
  "x-ms-tenant-id""eafd2c38-5251-4c0f-b9f8-",
  "Timing-Allow-Origin""*",
  "x-ms-apihub-cached-response""false",
  "x-ms-apihub-obo""false",
  "Date""Mon, 14 Oct 2024 10:44:26 GMT",
  "Content-Type""application/json",
  "Content-Length""331"
}
Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard