microsoft / semantic-link-labs

Early access to new features for Microsoft Fabric's Semantic Link.
MIT License
178 stars 37 forks source link

Which application user is configured for each semantic model in the gateway #254

Open matiirueda opened 2 weeks ago

matiirueda commented 2 weeks ago

Hello, I need to know if there is a function in Semantic Lab that allows me to see which application user is configured for the gateway in the service.

Currently, I have several application users that can be selected in the gateway, and I would like to know if there is a way to extract which application user is configured in the gateway for each ID of the semantic model.

Image

m-kovalsky commented 2 weeks ago

I think this should be the one list_connections

matiirueda commented 1 week ago

Hello Michael, thank you for the prompt response.

I ran the function, and it showed me all the created connections, but what I was actually looking for is which connection each semantic model uses.

I saw that there is this function list_item_connections, but when I run it, I get this error. What could it be? Image

Image

m-kovalsky commented 1 week ago

It will likely be one of these APIs. I don't think I have wrapped either of these yet. List_connections doesn't take any parameters as I don't think the API behind it takes any parameters.

https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/get-datasources-in-group

https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/get-gateway-datasources-in-group


From: matiirueda @.> Sent: Friday, November 8, 2024 11:00:25 PM To: microsoft/semantic-link-labs @.> Cc: Michael Kovalsky @.>; Comment @.> Subject: Re: [microsoft/semantic-link-labs] Which application user is configured for each semantic model in the gateway (Issue #254)

Hello Michael, thank you for the prompt response.

I used the function list connections, and it shows me all the created connections, but what I would like to know is which semantic model each connection to the gateway uses. I want not just the list of all the created connections but the complete mapping of which connection uses each semantic model to fetch the data.

From what I see, the function list.connections does not allow any parameters to be passed.

— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/semantic-link-labs/issues/254#issuecomment-2465740907, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHBQBNVK4SWBHC33OQK7UHDZ7UQ6TAVCNFSM6AAAAABRE7QLQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRVG42DAOJQG4. You are receiving this because you commented.Message ID: @.***>