Power BI Selenium Screenshot (Authentication)

Power BI Selenium Screenshot (Authentication)

This guide walks you through the process of setting up authentication for Selenium-based screenshot automation to enable you to display insights into your Vibe slides - including creating a service account with two-factor authentication (2FA), granting necessary permissions, and configuring your environment for seamless operation.



      Open this link and grant admin consent for the Vibe.fyi - Power BI module 

2. Create a service account (Microsoft)

This is the account we use for Selenium screenshotting purposes. In a later phase, you’ll need to share the credentials with Vibe so we can link Power BI to Vibe. Make sure it has a Power Bi pro licence.

3. Setting up 2FA in the Service Account

How to Set Up the User and Obtain Your 2FA Secret Key

  1. Log in to the service account that you created at myaccount.microsoft.com.
  2. Go to Security info in the menu.
  3. Click + Add method.
  4. From the list, select Authenticator app.
  5. Click Add.
  6. Choose "I want to use a different authenticator app".
  7. Click Next.
  8. Click "Can't scan image?"

Get the Secret Key

      9. Copy the Secret key — keep it somewhere safe.

Complete 2FA Setup

      10. Scan the QR code with your authenticator app.
      11. Click Next
      12. Open your authenticator app and enter the 6-digit code it generates to finish setup.


4. Create Security Group in Azure


5. Power BI Workspace Permissions

       Log into https://app.powerbi.com and find the workspace(s) that contain the reports and dashboards to be embedded, then:
    1. Click the Manage access button in the top right
    2. Click Add people or groups
      1. In the Enter name or email box, enter the name of the security group that you created in step 5 above 
      2. Set the permission to be member
      3. Click the Add button 

6. Complete the Authentication in Vibe.fyi

  1. Log into your Vibe.fyi admin console (no private/incognito browser needed).
  2. Navigate to Add-On modules > Power BI > Authentications
  3. Ensure Implementation is set to "Selenium Screenshot"
  4. Click “Authenticate a user account”.

  5. Enter the service account name.
  6. Click "Enter Secure Details" button

  7. Input the following information to the Power BI Service Account page and click Save:
    1. Email address of the service account
    2. Password
    3. 2FA secret key
    4. Vibe needs to completed the authentication once you entered the credentials in the admin side.
  8. Log in as the created user account, providing its email and password.
  9. Confirm the setup and verify connection.

Final Step: Create Power BI Slides

  After completing setup, your Vibe content creators (portal users) can now proceed with creating Power BI slides. Follow these steps to create your Power BI slide.