@PiersMH Thanks for posting in our Q&A.
Generally, we usually try to click on "F12" to open DevTools. When we click on the page in intune portal, it will show the request in DevTools and we will get the corresponding graph api. Please try to click on Devices > Enroll devices > Enrollment program tokens > [token name] > Devices and check corresponding requests on DevTools.
Honestly, this issue is more related to develop scope. With Q&A limitation resources and little knowledge about powershell, it is suggested to create an online support ticket to get more accurate help. Here is the support link:
https://learn.microsoft.com/en-us/mem/get-support
Thanks for your understanding and hope everything goes well with you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.