Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I am using the List Events endpoint in Power BI to pull all events for a single employee. I was able to setup a function to pull the data from each page, but only 20 events are appearing. Is the a limitation, or something may be missing to cause this outcome?
Solved! Go to Solution.
Hi @istduncan-cohp ,
First, please check if you have the sufficient permission to call this API. Then check if there are only 20 events that match the criteria you are using in your request. The Microsoft Graph API provides a List Events endpoint that allows you to retrieve a list of events for a single employee. This endpoint returns a maximum of 100 events per request. If you need to retrieve more than 100 events, you will need to make multiple requests, using the $skip and $top query parameters to page through the results. For example, to retrieve events 101-200, you would set $skip=100 and $top=100 in your request.
List events - Microsoft Graph v1.0 | Microsoft Learn
Best Regards
Hi @istduncan-cohp ,
First, please check if you have the sufficient permission to call this API. Then check if there are only 20 events that match the criteria you are using in your request. The Microsoft Graph API provides a List Events endpoint that allows you to retrieve a list of events for a single employee. This endpoint returns a maximum of 100 events per request. If you need to retrieve more than 100 events, you will need to make multiple requests, using the $skip and $top query parameters to page through the results. For example, to retrieve events 101-200, you would set $skip=100 and $top=100 in your request.
List events - Microsoft Graph v1.0 | Microsoft Learn
Best Regards
User | Count |
---|---|
98 | |
90 | |
82 | |
73 | |
67 |
User | Count |
---|---|
115 | |
102 | |
98 | |
71 | |
67 |