It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Trying to integrate Confluence server and Azure AD but its failing

Installed Confluence server in Azure via Marketplace template.

Now, we are trying to integrate Confluence server and Azure AD using this article but not able to do it successfully:


While trying to run "Atlas-run" results in error:

[WARNING] Some problems were encountered while building the effective model for com.bitium.saml:SAML2Commons:jar:1.1.2

[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ line 132, column 21

Failed to execute goal com.atlassian.maven.plugins:maven-amps-dispatcher-plugin:6.3.13:run (default-cli) on project SAML2Commons: Couldn't detect an AMPS product to dispatch to -> [Help 1]


1 answer

Hi @ankit singhal,

sorry I can't help you with the bitium free plugin.

There are however other plugins available in the Marketplace (ranging from free to paid-for), if you want to try a different one.

A good overview:

Also some of the commercial plugins, like ours, are listed on the Azure Marketplace with a Tutorial - that has the advantage that you would not need the Azure AD Premium licenses to use it. As it's no longer a custom SAML app but a pre-defined & listed one (which also works in the free tier of Azure AD).

Hope this provides you with an alternative in case you don't get the above solved.


Full disclosure: I work for a Marketplace Vendor -

Thanks Christian!

I tried the plug-in that you have suggested and its failing with this error message:

SAML Single Sign On failed - Atlassian Confluence Handling SAML-message failed: The user was not found

@ankit singhal,

Looks like the plugin doesn't find a matching User in the internal Confluence Database. So you either have not turned User creation on to create User if he doesn't exist or the Username transferred from Azure is not matching the Username in Confluence - so you may have to turn on UserId Transformation (for example dropping a from the Username).

Why don't you book a quick screenshare session via and one of our engineers can help you troubleshoot this.

Alternatively you can also open a normal support request via


Thanks for the quick response, Christian!

Could you tell me how to turn on UserId Transformation (for example dropping a from the Username).


Hi @ankit singhal,

to turn on the UserID Transformation for dropping the domain part ( from the Username (userid):

  1. Goto SAML Single Sign On configuration page (https://<baseurl>/plugins/servlet/samlsso/admin) -> Identity Providers -> User ID transformation
  2. Disable the checkbox The IdP's NameID attribute matches the user IDs in Jira. It should open further configuration fields.
  3. In the Userid Transformation field use 
    Replace: "(.*)@.*"    with: "$1"
  4. In the Test Input field below, add your Username. Check that the entered username is correctly transformed to the Output.
  5. Save the configuration page and try it again.

Here is a full screenshot of the configurations:

UserId transformation dropping domain part.png


I hope this helps.

Best Regards,


Thank you, Christian :)

Its working now.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Thursday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

129 views 0 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you