0

I have Azure Subscription with Default Directory with my company's account ([email protected]) as a guest.

I login to azure portal with this my company's account.

In the SQL Server, I have set Active Directory admin to an AAD group and I'm member of the group.

When I click Export (database) in Azure Portal, I select Active Directory authentication and type my username/password:

export database screenshot

However I'm getting:

Failed to export the database: MyDatabase. ErrorCode: 400 ErrorMessage: There was an error that occurred during this operation : 'Error encountered during the service operation. ; Exception Microsoft.SqlServer.Management.Dac.Services.ServiceException:Unable to authenticate request; Inner exception System.Data.SqlClient.SqlException:Failed to authenticate the user [email protected] in Active Directory (Authentication=ActiveDirectoryPassword).; Error code 0xCAA20003; state 10; MSIS7068: Access denied.; '

4
  • did you ever get this working? i have the same scenario, my error is different but i want to know if this is at all possible to import/export from a user in the SQL attached AD admin group. There was an error that occurred during this operation : '<string xmlns="schemas.microsoft.com/2003/10/Serialization/">Error encountered during the service operation. ; Exception Microsoft.SqlServer.Management.Dac.Services.ServiceException:Unable to authenticate request; </string>'
    – Mike
    Dec 31, 2019 at 11:28
  • See the @Tom Sun - MSFT answer;
    – Liero
    Dec 31, 2019 at 13:13
  • so your password was incorrect? after fixed the password issue did the export work?
    – Mike
    Dec 31, 2019 at 13:14
  • I don't remember exactly, it was some time ago, but it could be, that the AAD user was not set as admin in the database. You can set AAD group as database admin, but I'm not sure if it will work with export
    – Liero
    Jan 1, 2020 at 9:11

1 Answer 1

0

Failed to authenticate the user [email protected] in Active Directory (Authentication=ActiveDirectoryPassword).; Error code 0xCAA20003; state 10; MSIS7068: Access denied

According to the error information that it indicates that the user password is not correct.

Based on my test, it works correctly if you set the Active Directory admin to an AAD group and if you are a member of the group.

enter image description here

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.