Forum Discussion
How to find out who created a form
- Jan 03, 2022
Jason_B1025 I was able to get the ID of the user with a bit of a hack. Here are sample steps:
-Access the form using this designer direct URL https://forms.office.com/Pages/DesignPage.aspx?origin=shell#FormId=<YourFormID>
-Inspect the network traces. You will find a request similar to this
https://forms.office.com/formapi/api/72f988bf-86f1-41af-91ab-2d7cd011db47/users/e5351c57-d147-418e-89ab-3a3d50c235b6/light/forms('v4j5cvGGr0GRqy180BHbR1ccNeVH0Y5Bias6PVDCNbZUOUg4TkZJUEswSVQ1ODhNNkpHVVlMMldPTi4u')?$select=id,...
-The ID in bold is the AAD ID of the user
-Use Graph Explorer - Microsoft Graph to run this request to retrieve the username and email address of the owner https://graph.microsoft.com/v1.0/users/<UserID>
Jason_B1025 I was able to get the ID of the user with a bit of a hack. Here are sample steps:
-Access the form using this designer direct URL https://forms.office.com/Pages/DesignPage.aspx?origin=shell#FormId=<YourFormID>
-Inspect the network traces. You will find a request similar to this
https://forms.office.com/formapi/api/72f988bf-86f1-41af-91ab-2d7cd011db47/users/e5351c57-d147-418e-89ab-3a3d50c235b6/light/forms('v4j5cvGGr0GRqy180BHbR1ccNeVH0Y5Bias6PVDCNbZUOUg4TkZJUEswSVQ1ODhNNkpHVVlMMldPTi4u')?$select=id,...
-The ID in bold is the AAD ID of the user
-Use Graph Explorer - Microsoft Graph to run this request to retrieve the username and email address of the owner https://graph.microsoft.com/v1.0/users/<UserID>
Hi, thanks for your guide, unfortunately I have an issue permission when I use "designer" URL, do you know what maybe wrong? THX for any help!
- MaciekParJul 04, 2022Copper ContributorI just found it, you don't need permission just better eyes, Thanks Tomasz!!
- steviebeeSep 28, 2022Copper Contributor
MaciekPar what was the better eyes? I'm getting the same error. Am I looking in the wrong place?
- LSmithJul 12, 2023Brass Contributor
3 cheers to toszypul for such a great find!
steviebee here is a way to Inspect the Network trace. This works in Chrome and Edge (and probably any other Chromium based browser).
- Right-click the browser page (anywhere on the page is fine) and choose Inspect
- Go to the Network tab
Note: if the Inspect window is small enough, Network may be hidden in the >> menu
- Clear any data that has already been collected (Crossed out circle 'No' icon)
- Check the checkbox for Preserve Log
- Make sure the log is recording (red circle with a red square inside = it is recording)
Browse to https://forms.office.com/Pages/DesignPage.aspx?origin=shell#FormId=<FormID> again
- Click the down arrow icon to download the results as a .har file
You can give this .har file any name you want and save it anywhere you want - the file won't be needed for very long
- Open the .har file with a text editor like Notepad or Notepad++
- Use Ctrl+F to search for https://forms.office.com/formapi/api/
- You will find a URL like this https://forms.office.com/formapi/api/a5cbe99f-1120-999c-a6e7-999e2c99e8c4/groups/a2579999-96b5-99b-bfc5-07d999670f99/light/forms... [a lot more URL here]
- If it says /groups/ between the 2 IDs it is a group that owns the form. If it says /users/ between the 2 IDs it is a user who owns the form.
- The ID after /groups/ or /users/ is the AAD ID (Azure AD ID)
To convert the AAD ID to an actual name/group, toszypul recommended Microsoft Graph, but I was able to just open up Azure AD, select groups, and search by that AAD ID. I haven't tested to see if that also works with users, but I'd assume so.
- toszypulJul 04, 2022
Microsoft
MaciekPar just by looking at the screenshot it seems you might not have sufficient permissions to open the form in the form designer. I would also try to check the technical details for more insights. To confirm its a permission issue you can also ask a more privileged user (like an admin) to run the same URL and see if it works for them.