Skip to main content
deleted 330 characters in body
Source Link
Joseph Xu
  • 6.2k
  • 2
  • 7
  • 17

Yes, also as you said.
According to this documentaion. You need first create contained database users for the service principal.
I reproduced your problem.
enter image description here

After I do following steps. Linked service with Service principal Authentication type works fine.

CREATE USER [ad_user_name] FROM EXTERNAL PROVIDER;


EXEC sp_addrolemember db_owner, [ad_user_name];

Yes, also as you said.
According to this documentaion. You need first create contained database users for the service principal.
I reproduced your problem.
enter image description here

After I do following steps. Linked service with Service principal Authentication type works fine.

CREATE USER [ad_user_name] FROM EXTERNAL PROVIDER;


EXEC sp_addrolemember db_owner, [ad_user_name];

After I do following steps. Linked service with Service principal Authentication type works fine.

CREATE USER [ad_user_name] FROM EXTERNAL PROVIDER;


EXEC sp_addrolemember db_owner, [ad_user_name];

deleted 1 character in body
Source Link
Joseph Xu
  • 6.2k
  • 2
  • 7
  • 17

Yes, also as you said.
According to this documentaion. You need first create contained database users for the service principal..
I reproduced your problem.
enter image description here

After I do following steps. Linked service with Service principal Authentication type works fine.

CREATE USER [ad_user_name] FROM EXTERNAL PROVIDER;


EXEC sp_addrolemember db_owner, [ad_user_name];

Yes, also as you said.
According to this documentaion. You need first create contained database users for the service principal..
I reproduced your problem.
enter image description here

After I do following steps. Linked service with Service principal Authentication type works fine.

CREATE USER [ad_user_name] FROM EXTERNAL PROVIDER;


EXEC sp_addrolemember db_owner, [ad_user_name];

Yes, also as you said.
According to this documentaion. You need first create contained database users for the service principal.
I reproduced your problem.
enter image description here

After I do following steps. Linked service with Service principal Authentication type works fine.

CREATE USER [ad_user_name] FROM EXTERNAL PROVIDER;


EXEC sp_addrolemember db_owner, [ad_user_name];

added 27 characters in body
Source Link
Joseph Xu
  • 6.2k
  • 2
  • 7
  • 17

Yes, also as you said.
According to this documentaion. You need first Createcreate contained database users for the service principal..
I reproduced your problem.
enter image description here

After I do following steps. Linked service with Service principal Authentication type works fine.

CREATE USER [ad_user_name] FROM EXTERNAL PROVIDER;


EXEC sp_addrolemember db_owner, [ad_user_name];

Yes, also as you said.
According to this documentaion. You need first Create contained database users.
I reproduced your problem.
enter image description here

After I do following steps. Linked service with Service principal Authentication type works fine.

CREATE USER [ad_user_name] FROM EXTERNAL PROVIDER;


EXEC sp_addrolemember db_owner, [ad_user_name];

Yes, also as you said.
According to this documentaion. You need first create contained database users for the service principal..
I reproduced your problem.
enter image description here

After I do following steps. Linked service with Service principal Authentication type works fine.

CREATE USER [ad_user_name] FROM EXTERNAL PROVIDER;


EXEC sp_addrolemember db_owner, [ad_user_name];

Source Link
Joseph Xu
  • 6.2k
  • 2
  • 7
  • 17
Loading