Hi Edwin,
Thank you for contacting Microsoft Support!
It appears that you have encountered a bug. You may submit a feature request using the support link provided. Our team will monitor these requests and work on enhancing the Microsoft Graph APIs. feature request idea
For reference, you can see a similar post: https://learn.microsoft.com/en-us/answers/questions/2146844/listing-managed-devices-the-enrollmentprofilename
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.