Connecting Stash to SQL Azure


Using a clean installation of Stash I am attempting to connect to a SQL Azure database. After specifying 'Microsoft SQL Server' as database type and all the required fields I am receiving this error:

"Stash does not have adequate permissions to modify the target database when connected as the specified user. Please check that the user has permission to CREATE and DROP tables and to INSERT and DELETE data. For information about creating a database for use with Stash, please refer to the Stash documentation."

I've tried to comply to all prerequisites described in tried to connect to the database using 2 different kind of users (database owner and user created using the script in documentation). Using Microsoft SQL Server Management Studio I am able to CREATE, DROP tables and INSERT and DELETE data with both users.

Currently I am kinda clueless what else I could try. Does anyone have an idea how to fix this issue or how to get a more specific error message?


2 answers

1 accepted

0 votes
Answer accepted
Peter Koczan Atlassian Team Jul 27, 2014

Hi Mark,

As for reference I will also put the improvement request for this:

Kind regards,


Did you ever resolve this? I realise it was a long time ago!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

228 views 0 12
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