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>
MaciekPar what was the better eyes? I'm getting the same error. Am I looking in the wrong place?
Props to toszypul for posting this.
- steviebeeSep 29, 2022Copper Contributor
JoshM Thank you for the reply. I did actually find another way to resolve using edge's developer tools and powershell. I was able to track down the user who created the form. Thanks again for the reply though! I appreciate it.
- CMercinaryDec 20, 2023Copper ContributorI know how to open and look at developer tools in Edge/Chrome, but when using developer tools, where did you find something that denotes the creator/owner of the form?
- wikiwendyDec 20, 2023Copper ContributorI followed this article - it's exactly how with screen shots and everything. If you are worried about following links ,I pasted the text of the article below. (the original just looks much nicer) 🙂
https://itspartlycloudy.com/2022/01/20/who-created-this-microsoft-form/
If you have ever needed to track down the owner of a Microsoft Form, you likely have run into a dead end or a frustrating round of trial and error. Whether the Form was created for collecting data, creating a quiz for your Class Team, or some other reason I’m here to tell you there’s a better way to find some answers!
It is well documented that, as a global admin, you can transfer Forms to a new owner. However, you’ll need to know the email address of the original Form owner. There are just a few steps to take and you’ll be armed with the info you need to get that email address.
You’re going to need a couple of things (NOTE: You can likely do this with another browser/packet tracing tool, but I’m using Edge so that’s the perspective you get here):
Microsoft Edge
URL of Form in question
Azure AD PowerShell module
Start by opening Microsoft Edge, and opening DevTools by pressing F12. Once you have DevTools open, paste the Form URL into the address bar and load the Form.
Once the Form loads, navigate to Network and Fetch/XHR in DevTools
Navigation of DevTools
In the “Name” column, look for entries related to Forms. This may be something that starts with “ResponsePageStartup” or “runtimeFormsWithResponses”. There may be a couple of them so you may need to look at a few entries. What we are looking for is the one that has “form:” under “data” in the accordion menu as shown below
ResponsePageStartup entry
Expand “form:” and scroll down until you find the “ownerID” attribute which is going to correspond to the Azure Active Directory Object ID for the owner.
ownerID attribute
Now that you have the ownerID attribute handy, simply hop over to PowerShell, load the Azure Active Directory Module, and connect to your Azure tenant. I’m completely sure you can also use the MS Graph to do this but we’re using Ol’ Reliable here. You’ll be using the Get-AzureADObjectByObjectID commandlet along with the ownerID we pulled from above. (You can also just use Get-AzureADUser if you prefer.)
Get-AzureADObjectByObjectID -ObjectIds <ownerID>
Now that you have the owner info, you can proceed with transferring ownership or whatever other reason you had for needing to know the owner.
Caveats
There are a couple of caveats here. This will work if you have created a Form in Teams either by “at mentioning Forms” or natively with the Forms add-in. However, if you have a Group Form, the owner is going to be the Office 365 Group and not a specific person. Also, you’ll need to dive a little deeper into the trace to find the owner ID for a Group Form.