Activity
Mon
Wed
Fri
Sun
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
What is this?
Less
More

Memberships

Learn Microsoft Fabric

14.3k members • Free

3 contributions to Learn Microsoft Fabric
power bi desktop data loading using graph API error
M query: let apiURL = "https://graph.microsoft.com/v1.0/security/alerts", // Function to get a new access token using the refresh token GetNewAccessToken = () => let tokenUrl = "https://login.microsoftonline.com/" & tenant_id & "/oauth2/v2.0/token", tokenBody = Text.ToBinary( "grant_type=refresh_token" & "&client_id=" & client_id & "&client_secret=" & Uri.EscapeDataString(client_secrets) & "&refresh_token=" & Uri.EscapeDataString(RefreshToken) & "&scope=openid profile offline_access https://graph.microsoft.com/.default" ), tokenResponse = Web.Contents(tokenUrl, [ Headers = [#"Content-Type"="application/x-www-form-urlencoded"], Content = tokenBody ]), tokenJson = Json.Document(tokenResponse), new_access_token = tokenJson[access_token] in new_access_token, // Check if the access token is valid (this is an assumption; replace with your logic if possible) // For demonstration purposes, let's assume we always refresh the token for simplicity. access_token = GetNewAccessToken(), // Create a query string with the new access token authQuery = "?access_token=" & access_token, // Append the query string to the API URL urlWithAuth = apiURL & authQuery, // Make the API request response = Web.Contents(urlWithAuth, [ Headers = [ #"Content-Type" = "application/json" ] ]), // Parse the JSON response to extract the data data = Json.Document(response) in data ERROR DataSource.Error: Web.Contents failed to get contents from 'https://graph.microsoft.com/v1.0/security/alerts?access_token="myaccesstoken" (404): Not Found
0
0
Sentinel Logs into Microsoft Fabric
Hey guys, i just wanted to know how we can get the sentinel logs data from log workspace analytics directly storing that into Microsoft fabric without any middleman like other azure services. Is there any way we could do that, kindly let me know?
0
0
Help me with this Semantic Link issue!
https://youtu.be/x3eRU7NFdL0?si=gwyfkc_u46x07IJI&t=296 Hi guys, in this video, Will has mentioned a dataset that is present in the workspace, how do i add it into my workspace, i dont get any option of uploading a dataset there? also i have a report in my workspace and when i try to access it through notebook, its says dataset not found!
0 likes • Aug '24
Even now the same issue will!
1-3 of 3
Sai Vignesh J
1
5points to level up
@sai-vignesh-j-4110
Hi i am sai

Active 460d ago
Joined Aug 14, 2024
Powered by