Login as federated user via katalon studio

Philippe Purugganan 0 Reputation points
2024-09-11T15:08:21.4833333+00:00

Hi,

I have an inquiry if it is possible to perform federated user login via katalon studio? We are working on automating logging in as federated user in katalon studio but am encountering an error when logging in. This error does not happen when logging in manually via my chrome browser - normally we would just input our email and we are automatically logged in (I think this is SSO). My user is communicating with microsoft azure.

So, am wondering if it is possible to do this via automated browser in katalon? (I have tried logging in via incognito browser in chrome and experience the same issue - note extension is available in automated browser in katalon too)

Katalon Studio Automation Steps

Step 1 - Navigate to system to log into

Step 2 - Provide Credentials

Step 3 - Verify user is logged in

(Please see images for steps when running automation - and error encountered) Login-1

Login-2

Login-3

Login-4

Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
794 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
867 questions
0 comments No comments
{count} votes

Accepted answer
  1. Raja Pothuraju 5,345 Reputation points Microsoft Vendor
    2024-09-16T13:34:06.2833333+00:00

    Hello @Philippe Purugganan,

    Thank you for posting your query on Microsoft Q&A.

    Based on your description, I understand that you're using Katalon Studio for automated testing. When running an automated test in Katalon Studio, it redirects you to Chrome for user authentication. However, each time you run the test, you're prompted to enter your credentials again (indicating that SSO is not functioning properly), and after entering your username and password, you receive the error message: "You can't get there from here."

    It seems you have a Conditional Access (CA) policy in place that requires devices to be Microsoft Entra Hybrid joined. The error occurs because the device ID is not being passed during authentication, even though the device is Hybrid joined.

    You mentioned that you're able to authenticate manually in Chrome, but when Chrome is launched through Katalon Studio, you encounter this issue.

    From the screenshot you provided, I can confirm that Katalon Studio is launching Chrome in Incognito mode. This behavior is expected, as the device ID is not passed when signing in from an Incognito browser, even if the Microsoft Single Sign-On (SSO) extension is installed.Login-4

    To resolve this issue, ensure that Katalon Studio opens Chrome in normal mode, not Incognito. If Katalon Studio does not have the capability to open Chrome in normal mode, the issue will persist. In that case, you may need to exclude the user from the Conditional Access policy that requires a Microsoft Entra Hybrid joined device.

    If you're still stuck on this, you can feel free to send me an email at AzCommunity@microsoft.com referencing this issue with a subject line "ATTN:pothurajur" include a link to the current thread.

    I hope this information is helpful. Please feel free to reach out if you have any further questions.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Thanks,
    Raja Pothuraju.

    You 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.