Announcements
I'm working on a simple 2D game in Unity 3d ( not a mixed reality app )
What I'm trying to do is the show display the contents of a guide within a 2D game ( like a PowerPoint presentation)
I have been able to make successful Postman responses from the Dataverse
https://docs.microsoft.com/en-us/powerapps/developer/data-platform/webapi/use-postman-web-api
But I'm failing on making the connection within unity3d, currently, I'm working on implementing a UnityWebRequest to make a connection,
So basically, you are trying to recreate a Guides app.
You will have a few Dataverse calls using UnityWebRequest to access the right data
- user authentication (as your dataverse data are private) with a windows login
- retrieve guides information passing the right authentication token and session info
- retrieve step information passing also few informations
If you succeed using Postman, there should be no problem when transposing it to UnityWebRequest (be carefull of the HTTP method POST vs GET)
Good luck
The thing that's currently preventing me is the 'authentication'
I followed this tutorial for a simple Console Application and it worked fine,
docs.microsoft.com/.../quick-start-console-app-csharp
Currently, I'm trying to transfer what I learned/used in the Console App into a simple Unity app, e.g using 'UnityWebRequest' calls
I also followed this postman tutorial relating to getting the access token: https://docs.microsoft.com/en-us/powerapps/developer/data-platform/webapi/setup-postman-environment
My problem is when I'm making the initial call to get the token, I'm doing something wrong but I don't what it is.
Maybe it's the wrong parameters that I'm sending or the URL is wrong
but when I make the request I get a response in the Unity console (in the form of text) of the sign in webpage
Hi SeansTinyNewCompany, this is a really cool scenario. Have you made any progress?
I do not have Unity coding experience myself but my first thought is to ensure you are implementing OAuth 2.0 correctly from your web calls. Also, focus on finding general Unity/OAuth 2.0 resources as they should apply to Dataverse as well.
Here are the Dataverse OAuth docs: docs.microsoft.com/.../authenticate-web-api
Once you get past the OAuth challenge, I can provide better assistance with the Guides-specific data. Looking forward to hearing your progress.
Thanks, DavePinch
btw where can more information about all the API endpoints that are available e.g "msmrw_guidesteps"
I see it in the responses, but I cannot find documentation relating to the API responses.
Something similar to this would be perfect: docs.microsoft.com/.../developer-entity-reference
Check this out: docs.microsoft.com/.../developer-entity-reference
Can you provide any information about the correct format of the requests that are listed on this page please?
e.g. I tried calling the 'msmrw_guidetask' endpoint but I got this error
I also tried passing the ID of task
I simply do not know what additional information also needs to be passed
Can you elaborate please on
"- retrieve guides information passing the right authentication token and session info
- retrieve step information passing also few information"
I'm currently retrieving the guide information successfully with the "authentication token"
But I don't know about the correct way of passing any additional "session info"
This thread has multiple issues, I'm not sure what you're stuck on. I suggest to finish learning how to use Postman to make all the queries you need, and create a new thread for Unity questions.
Regarding how to fetch data, if you want a specific task you should call msmrw_guidetasks(abc-GUID-def)
See this for more info Query data using the Web API (Microsoft Dataverse) - Power Apps | Microsoft Docs
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Abhilash Warrier 51 Super User 2026 Season 1
Muhammad Shahzad Sh... 51 Most Valuable Professional
Nagaraju_Matta 50