D365 Login | Leapwork Docs

Login

The Login block automates signing in to a Dynamics 365 Finance & Operations (D365 F&O) application. It starts a browser, navigates to the specified D365 URL, and performs the login steps according to the selected login method so that later blocks can run in an authenticated D365 session.

Note: The screenshot on this page uses the Elegance Design, introduced in 2025.3. If you are using an earlier version, your layout may look different.

Quick-start

You can start a D365 login session in two main ways, depending on how you want to work with the Fusion Recorder.

Option 1 – Start from the D365 F&O Fusion Recorder

  1. Right-click on the canvas and choose Add building block > Recorders > Start D365 F&O Recorder.
  2. In the Login modal that appears, fill in the basic authentication fields you need, then start the recorder.
  3. The selected browser is launched with the Fusion Recorder attached and a logged-in D365 session. When you stop recording, the Login block and the recorded steps are added to the flow automatically.

Option 2 – Use the Login block directly in a flow

  1. Drag Login onto the canvas.
  2. Configure the core parameters on the block.
  3. Run the Login block or the flow up to this step to open the browser and complete the login. Once the browser is open and authenticated, start the D365 Fusion Recorder (for example from Recorders > Start D365 F&O Recorder) to record additional steps against that running session.

Building block parameters

Parameters

Resources

Topic Description
Flows FAQ Common questions about creating, running, and managing flows in Leapwork.
Flows Troubleshooting Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork.
Fusion Recorder FAQ Frequently asked questions about Fusion Recorder