AWS assumed role - RoleSessionName is not working consistently.

Divya Mohan P 20 Reputation points
2025-04-07T07:49:05.1533333+00:00

The role session name "sts:RoleSessionName": "MicrosoftSentinel_{WORKSPACE_ID)" or
MicrosoftDefenderForClouds__{WORKSPACE_ID) is not working consitently

step 4 in here : https://learn.microsoft.com/en-us/azure/sentinel/connect-aws?tabs=s3#create-an-open-id-connect-oidc-web-identity-provider-and-an-aws-assumed-role

https://learn.microsoft.com/en-sg/answers/questions/2240042/amazon-web-services-s3-connectors

Microsoft Security | Microsoft Sentinel
{count} votes

Accepted answer
  1. Rukmini 3,916 Reputation points Microsoft External Staff Moderator
    2025-04-11T04:38:46.3266667+00:00

    Hello @Divya Mohan P,

    I understand the confusion caused by the recent inconsistency with the RoleSessionName used by Microsoft Sentinel when assuming the AWS role.

    According to the official Microsoft documentation, the session name should start with MicrosoftSentinel_. This had been working consistently until around March 27, 2025, when it was observed that the session name changed to MicrosoftDefenderForClouds_, which led to integration failures for some users.

    The value of the sts:RoleSessionName parameter must have the exact prefix MicrosoftSentinel_

    User's image

    As confirmed by @Pauline Mbabu, this change was later reverted, and MicrosoftSentinel_ is the correct and supported session name prefix. We will find the cause of the change made.

    For consistency and reliability, it is recommended to continue using MicrosoftSentinel_ in the AWS IAM trust policy.Hope this helps!


    If this answer was helpful, please click "Accept the answer" and mark Yes, as this can help other community members.

    User's image

    If you have any other questions or are still experiencing issues, feel free to ask in the "comments" section, and I'd be happy to help.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.