How do I get users created 'FROM EXTERNAL PROVIDER' #113
Unanswered
ClaudioESSilva
asked this question in
Q&A
Replies: 1 comment 9 replies
-
What type of server are you connected to? SMO is likely out of date for external users on SQL Managed Instance, since it only checks for external users on Azure DB. See Users are found using |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
When using
$db.Users
(which returns[Microsoft.SqlServer.Management.Smo.User]
) I can't get the ones that were created usingEXTERNAL PROVIDER
Ex:
My understanding is that it doesn't show because

issqluser
(SQL Server) property (fromsys.sysusers
) is0
(False)From

sys.database_principals
it shows asEXTERNAL_USER
Does SMO expose this type of user?
How can we get them using SMO?
Beta Was this translation helpful? Give feedback.
All reactions