连接到Azure SQL Server时使用电子邮件地址作为用户名会出现域错误 [英] Using an email address as username when connecting to Azure SQL Server gives domain error

查看:66
本文介绍了连接到Azure SQL Server时使用电子邮件地址作为用户名会出现域错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在设置一个逻辑应用程序,该应用程序连接到Azure SQL Server数据库并插入一行.身份验证是使用Active Directory完成的,用户名是电子邮件地址.当我完成设置连接详细信息并尝试选择 列表中的表格,它给了我以下错误:

I am setting up a logic app which connects to an Azure SQL Server database and inserts a row. The authentication is done using Active Directory, and the username is an email address. When I complete setting up the connection details and attempt to choose a table from the list, it gives me the following error:

请检查您的帐户信息和/或权限,然后重试.详细信息:Microsoft SQL:无法打开服务器"####.com";登录要求.登录失败. clientRequestId:#########################

是否存在正确的方法来使与SQL Server的API连接在Azure Active Directory中使用电子邮件用户名?我尝试将电子邮件地址放在方括号,单引号和双引号中,同样的错误.

Is there a proper way to have the API connection to SQL Server use an email username with Azure Active Directory? I've tried putting the email address in square brackets, single quotes, and double quotes as well, same error.

推荐答案

据我所知,电子邮件地址不起作用,您将必须使用在活动目录中配置的实际用户名,例如xyz \ sampleUser
as far as I know, the email address doesnot work, you will have to use the actual user name configured in the active directory e.g xyz\sampleUser


这篇关于连接到Azure SQL Server时使用电子邮件地址作为用户名会出现域错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆