Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi @Anonymous ,
Please try below steps:
1. Register an Application in Azure AD:
- Go to the Azure portal and navigate to Azure Active Directory.
- Select "App registrations" and then "New registration."
- Enter the application details and register the application.
2. Grant API Permissions:
- Once the app is registered, go to "API permissions" within the app registration in Azure AD.
- Click "Add a permission," choose "APIs my organization uses," and search for "Microsoft Defender for Endpoint."
- Add the necessary permissions required for the API calls you will be making.
3. Generate Client Secret:
- In the same app registration, go to "Certificates & secrets."
- Create a new client secret and make a note of the value; you will need this for authentication.
4. Get Tenant ID and Client ID:
- Your Tenant ID and Client ID can be found in the Azure AD directory overview and the app registration overview, respectively.
5. Authenticate Using OAuth and Retrieve Token:
- You will need to authenticate using OAuth to get an access token. This will typically involve sending a POST request to the Microsoft identity platform token endpoint with the necessary credentials (Tenant ID, Client ID, Client Secret).
6. Pull Data from Defender for Endpoint:
- Use the access token to authenticate API calls to Defender for Endpoint. Make sure to specify the correct tenant ID in your API requests to access the customer's data.
7. Connect to Power BI:
- In Power BI Desktop, select "Get Data."
- Choose "Web" as the data source and format your API URL to retrieve the data from Defender for Endpoint.
- Use the advanced options to include the necessary HTTP request header for authorization with the bearer token you obtained.
8. Schedule Refresh in Power BI Service:
- Once your report is published to Power BI Service, you will need to configure the dataset to refresh by providing the necessary API connection details and setting up a refresh schedule.
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 63 | |
| 32 | |
| 31 | |
| 25 |