Getting started with WithSecure™ Elements Identity Security for Entra ID

Follow the steps below to connect your Microsoft Entra ID tenant, deploy the required infrastructure, and start detecting identity-based threats.

You need a WithSecure™ Business Account to access Elements Security Center ↗, the management portal for WithSecure™ Elements. There are two scenarios:

  • When you purchase the product from a WithSecure partner, the partner typically creates a Business Account for the first administrator in your organization. You will have received an email from WithSecure with a temporary password and a link to log in.
  • If your account has not yet been created but you have received a subscription key from your partner, go to elements.withsecure.com/self-register ↗ to create one.
Navigating to Identity Security

Once logged in to Elements Security Center, go to Environment > Cloud > Microsoft Tenants to manage your Entra ID tenants. Detections surface under Events > Broad Context Detections.

Before you begin onboarding, confirm the following requirements are in place.

WithSecure subscriptions
  • Active subscriptions to WithSecure Elements Endpoint Protection and Elements Endpoint Detection and Response.
  • You must hold the WithSecure Elements Endpoint Protection administrator role during onboarding.
Azure requirements
  • You must be able to sign in as a Global Administrator on the Azure account to run the onboarding script in Azure Cloud Shell.
  • Your Tenant ID and Subscription ID are known and ready. Find them in the Azure portal — see Get subscription and tenant IDs ↗.
  • The subscription is assigned to an Azure Management Group. See Create a management group ↗ if needed.
Multiple tenants: Repeat the onboarding steps for each tenant. WithSecure requires a unique connection string per tenant.

Register your Azure tenant and configure the Identity Security capability in Elements Security Center.

Add the tenant
  1. In Elements Security Center, go to Environment > Cloud > Microsoft Tenants and select Add Azure tenant.
  2. On the Tenant information page, enter a Display name, paste your Tenant ID, and select your Organization. Select Next.
  3. Set the Importance and Business context for risk evaluations. Select Next.
Connect Identity Inventory (required first)
  1. Under Security capabilities, select Identity Inventory and then Connect now.
  2. Read the introduction, select the checkbox to confirm, and select Start.
  3. Grant the required permissions: if you are the Azure tenant administrator, select Accept Permissions. Otherwise, select Copy URL and send it to your Azure administrator.
Important: Identity Inventory must be configured before you can add any other capabilities to the tenant.
Add Identity Security
  1. Under Security capabilities, select Identity Security and then Add.
  2. On the Connection details page, enter your Deployment Subscription ID, select a Deployment location, and enter an Email address for notifications (press Enter after typing to save it).
  3. Select Download to save the WithSecure Elements XDR Identity Security for Entra ID.zip onboarding file.

Run the onboarding script in Azure Cloud Shell to deploy the Event Hub and diagnostic settings that forward Entra ID logs to WithSecure.

Prepare the Azure environment
  1. In the Azure portal, temporarily elevate your access: go to your Default Directory > Properties and switch Access management for Azure resources to Yes. Sign out and back in for this to take effect. See Elevate access for a Global Administrator ↗ for full instructions.
  2. Open Azure Cloud Shell with PowerShell. If this is your first time, you will be prompted to create a storage account instance.
  3. Upload the .zip file you downloaded in Step 3 using Manage files > Upload at the top of the Cloud Shell screen.
Run the deployment script
  • Decompress the package and change into the extracted directory:
unzip './WithSecure Elements XDR Identity Security for Entra ID.zip'
cd withsecure
  • Assign the Owner role to the principal running the script (replace [userId] with your User Principal Name from Azure):
New-AzRoleAssignment -SignInName "[userId]" -Scope "/" -RoleDefinitionName "Owner"
  • Deploy the resources:
./deploy.ps1
Note: If the deployment fails with a Microsoft.PolicyInsights namespace error, go to the subscription’s Resource Providers, find Microsoft.PolicyInsights, and select Register. Then rerun ./deploy.ps1. If the script fails due to an ongoing deployment, wait 15 minutes and retry.

Add the Event Hub connection string to Elements Security Center, run the detection test, and finish onboarding by revoking elevated access.

Connect Azure to Elements Cloud
  1. In Elements Security Center, go to Environment > Cloud > Microsoft Tenants and select your tenant.
  2. On the Security capabilities page, select Add connection string.
  3. Copy and paste the full connection string (starting with Endpoint=sb://) from the Azure CLI output and select Add.
  4. When the status changes to The tenant is protected with a green tick, the connection is live.
Test the detection capability
  • In Azure Cloud Shell, run the testing tool:
./WithSecureIdentitySecurityTestingTool.ps1
  • Wait for the script to complete and confirm that app registrations were created and then deleted.
  • In Elements Security Center, go to Events > Broad Context Detections and confirm a detection named WithSecure test detection add application appears. Close it once confirmed.
Finish onboarding — revoke elevated access
  • Remove the Owner role assignment:
Remove-AzRoleAssignment -SignInName "[userId]" -Scope "/" -RoleDefinitionName "Owner"
  • In the Azure portal, return to Default Directory > Properties and switch Access management for Azure resources back to No.
You’re all set. Entra ID logs are now flowing to WithSecure. Detections will appear as Broad Context Detections in Elements Security Center. Consider adding the Identity Response capability ↗ to enable quick remediation actions.

Additional resources

Here are links to common resources for additional information about WithSecure™ Elements Identity Security for Entra ID.

Video walkthrough — Onboarding Entra ID Response Actions

Step-by-step video guide covering the full onboarding flow for WithSecure XDR Identity Security

User guide — Elements Identity Security for Entra ID

Full administrator documentation covering onboarding configuration, deployed infrastructure, detection logic, ongoing management, and offboarding

WithSecure Community

Stay up to date with product announcements and release notes, get answers to your questions, and share product ideas

Knowledge Base

Troubleshooting articles and how-to guides for resolving issues with deployment, detections, connectivity, and ongoing management