You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/active-directory/develop/troubleshoot-publisher-verification.md
+60-70Lines changed: 60 additions & 70 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,29 +14,53 @@ ms.custom: aaddev
14
14
ms.reviewer: jesakowi
15
15
---
16
16
17
-
# Troubleshoot publisher verification
18
-
When an application is [marked as publisher verified](mark-app-as-publisher-verified.md), it means that the publisher has verified their identity using their Microsoft Partner Network (MPN) account and has associated this MPN account with their application registration. Do the following if you are receiving errors or seeing unexpected behavior while marking an app as publisher verified:
17
+
# Troubleshoot publisher verification (preview)
18
+
If you are unable to complete the process or are experienceing unexpected behavior with [Publisher verification](publisher-verification-overview.md), you should start by doing the following if you are receiving errors or seeing unexpected behavior:
19
19
20
-
1.See if your issue is covered in the [frequently asked questions](publisher-verification-overview.md#frequently-asked-questions).
20
+
1.Review the [requirements](publisher-verification-overview.md#requirements) and ensure they have all been met
21
21
22
-
1.Ensure that you have met all of the [requirements](publisher-verification-overview.md#requirements) and are following the Step-by-Step Instructions.
22
+
1.Review the instructions to [mark an app as publisher verified](mark-app-as-publisher-verified.md) and ensure all steps have been performed successfully
23
23
24
-
If you are still unsure why the error is occurring, you can try making a request by [making Microsoft Graph API calls](#making-microsoft-graph-api-calls) to gather additional and rule out any issues in the UI. Or, if you have access, you can use [Internal Logs](#internal-logs) to troubleshoot further.
24
+
1. Review the list of [common issues](#common-issues)
25
25
26
-
If you are still receiving an error from Microsoft Graph, gather as much of the following information as possible related to the failing call and reach out to Microsoft:
26
+
1. Reproduce the request using [Graph Explorer](#making-microsoft-graph-api-calls)to gather additional info and rule out any issues in the UI.
27
27
28
-
- Timestamp
29
-
- CorrelationId
30
-
- ObjectID or UserPrincipalName of signed in user
31
-
- AppId of calling application
32
-
- REST request being made
33
-
- Error code and message being returned
28
+
# Common Issues
29
+
Below are some common issues that may occur during the process.
30
+
31
+
-**I don’t know my Microsoft Partner Network ID (MPN ID) or I don’t who the primary contact for the account is**
32
+
1. Navigate to the [MPN enrollment page](https://partner.microsoft.com/dashboard/account/v3/enrollment/joinnow/basicpartnernetwork/new)
33
+
1. Sign in with a user account in the org's primary Azure AD tenant
34
+
1. If an MPN account already exists, this will be recognized and you will be added to the account
35
+
1. Navigate to the [partner profile page](https://partner.microsoft.com/en-us/pcv/accountsettings/connectedpartnerprofile) where the MPN ID and primary account contact will be listed
36
+
37
+
-**I don’t know who my Azure AD Global Admin (aka Company Admin or Tenant Admin) is, how do I find them? What about the App Administrator, or a different admin role?**
38
+
1. Sign in to the [Azure AD Portal](https://aad.portal.azure.com) using a user account in your organization's primary tenant
39
+
1. Navigate to [Role Management](https://aad.portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RolesAndAdministrators)
40
+
1. Click “Global Administrator”, or the desired admin role
41
+
1. The list of users assigned that role will be displayed
42
+
43
+
-**I don't know who the admin(s) for my MPN account are**
44
+
1. Go to the [MPN User Management page](https://partner.microsoft.com/en-us/pcv/users) and filter the user list to see what users are in various admin roles.
45
+
46
+
-**I am getting an error saying that my MPN ID is invalid or that I do not have access to it.**
47
+
1. Go to your [partner profile](https://partner.microsoft.com/en-us/pcv/accountsettings/connectedpartnerprofile) and verify that:
48
+
1. The MPN ID is correct.
49
+
1. There are no errors or “pending actions” shown, and the verification status under Legal business profile and Partner info both say “authorized” or “success”.
50
+
1. Go to the [MPN tenant management page](https://partner.microsoft.com/en-us/dashboard/account/v3/tenantmanagement) and confirm that the tenant the app is registered in and that you are signing with a user account from is on the list of associated tenants.
51
+
1. Go to the [MPN User Management page](https://partner.microsoft.com/en-us/pcv/users) and confirm the user you are signing in as is either a Global Admin, MPN Admin, or Accounts Admin.
52
+
53
+
-**When I sign into the Azure AD portal I do not see any apps registered. Why?**
54
+
Your app registrations may have been created using a different user account, or in a different tenant. Please ensure you are signed in with the correct account in the tenant where your app registrations were created.
55
+
56
+
-**How do I know who the owner of an app registration in Azure AD is?**
57
+
When signed into a tenant where the app is registered, navigate to the App Registrations blade, click an app, and then click Owners.
34
58
35
59
## Making Microsoft Graph API calls
36
60
37
61
If you are having an issue but unable to understand why based on what you are seeing in the UI, it may be helpful to perform further troubleshooting by using Microsoft Graph calls to perform the same operations you can perform in the App Registration portal. During the preview phase, these APIs will only be available on the /beta endpoint of Microsoft Graph.
38
62
39
-
The easiest way to make these requests is using [Graph Explorer](https://developer.microsoft.com/graph/graph-explorer). You may also consider other options like using [Postman](https://www.postman.com/), or using PowerShell to [invoke a web request](/powershell/module/microsoft.powershell.utility/invoke-webrequest?view=powershell-7). PowerShell cmdlets will be available soon.
63
+
The easiest way to make these requests is using [Graph Explorer](https://developer.microsoft.com/graph/graph-explorer). You may also consider other options like using [Postman](https://www.postman.com/), or using PowerShell to [invoke a web request](/powershell/module/microsoft.powershell.utility/invoke-webrequest?view=powershell-7).
40
64
41
65
You can use Microsoft Graph to both set and unset your app’s Verified Publisher and check the result after performing one of these operations. The result can be seen on both the [application](/graph/api/resources/application?view=graph-rest-beta) object corresponding to your app registration and any [service principals](/graph/api/resources/serviceprincipal?view=graph-rest-beta) that have been instantiated from that app. For more information on the relationship between those objects, see: [Application and service principal objects in Azure Active Directory](app-objects-and-service-principals.md).
42
66
@@ -47,11 +71,11 @@ Here are examples of some useful requests:
47
71
Request
48
72
49
73
```
50
-
POST /applications/0cd04384-0d91-4e52-9eb3-6b3971b7ebec/setVerifiedPublisher
74
+
POST /applications/0cd04273-0d11-4e62-9eb3-5c3971a7cbec/setVerifiedPublisher
51
75
52
76
{
53
77
54
-
"verifiedPublisherId": "5335224"
78
+
"verifiedPublisherId": "12345678"
55
79
56
80
}
57
81
```
@@ -66,37 +90,36 @@ Note: verifiedPublisherID is your MPN ID.
66
90
67
91
Request:
68
92
```
69
-
POST /applications/0cd04384-0d91-4e52-9eb3-6b3971b7ebec/unsetVerifiedPublisher
93
+
POST /applications/0cd04273-0d11-4e62-9eb3-5c3971a7cbec/unsetVerifiedPublisher
70
94
```
71
95
72
-
73
96
Response
74
97
```
75
98
204 No Content
76
99
```
77
100
### Get Verified Publisher info from Application
78
101
79
102
```
80
-
GET https://graph.microsoft.com/beta/applications/0cd04384-0d91-4e52-9eb3-6b3971b7ebec
103
+
GET https://graph.microsoft.com/beta/applications/0cd04273-0d11-4e62-9eb3-5c3971a7cbec
81
104
82
105
HTTP/1.1 200 OK
83
106
84
107
{
85
-
"id": "0cd04384-0d91-4e52-9eb3-6b3971b7ebec",
108
+
"id": "0cd04273-0d11-4e62-9eb3-5c3971a7cbec",
86
109
87
110
...
88
111
89
112
"verifiedPublisher" : {
90
113
"displayName": "myexamplePublisher",
91
-
"verifiedPublisherId": "5335224",
114
+
"verifiedPublisherId": "12345678",
92
115
"addedDateTime": "2019-12-10T00:00:00"
93
116
}
94
117
}
95
118
```
96
119
97
120
### Get Verified Publisher info from Service Principal
98
121
```
99
-
GET https://graph.microsoft.com/beta/servicePrincipals/010422a7-4d77-4f40-9335-b81ef5c22dd4
122
+
GET https://graph.microsoft.com/beta/servicePrincipals/010422a7-4d77-4f40-9335-b81ef5c23dd4
100
123
101
124
HTTP/1.1 200 OK
102
125
@@ -107,119 +130,86 @@ HTTP/1.1 200 OK
107
130
108
131
"verifiedPublisher" : {
109
132
"displayName": "myexamplePublisher",
110
-
"verifiedPublisherId": "5335224",
133
+
"verifiedPublisherId": "12345678",
111
134
"addedDateTime": "2019-12-10T00:00:00"
112
135
}
113
136
}
114
137
```
115
-
116
-
## HTTP Error Reference
117
138
118
-
The following is a list of the potential error codes you may receive when troubleshooting using Microsoft Graph, along with the HTTP status code and error message for each.
139
+
## Error Reference
119
140
120
-
### MPNAccountNotFoundOrNoAccess
141
+
The following is a list of the potential error codes you may receive, either when troubleshooting with Microsoft Graph or going through the process in the app registration portal.
121
142
122
-
HTTP 400
143
+
### MPNAccountNotFoundOrNoAccess
123
144
124
145
The MPN ID you provided (<MPNID>) does not exist, or you do not have access to it. Provide a valid MPN ID and try again.
125
146
126
147
### MPNGlobalAccountNotFound
127
148
128
-
HTTP 400
129
-
130
149
The MPN ID you provided (<MPNID>) is not valid. Provide a valid MPN ID and try again.
131
150
132
151
### MPNAccountInvalid
133
152
134
-
HTTP 400
135
-
136
153
The MPN ID you provided (<MPNID>) is not valid. Provide a valid MPN ID and try again.
137
154
138
155
### MPNAccountNotVetted
139
156
140
-
HTTP 400
141
-
142
157
The MPN ID (<MPNID>) you provided has not completed the vetting process. Complete this process in Partner Center and try again.
143
158
144
159
### NoPublisherIdOnAssociatedMPNAccount
145
160
146
-
HTTP 400
147
-
148
161
The MPN ID you provided (<MPNID>) is not valid. Provide a valid MPN ID and try again.
149
162
150
163
### MPNIdDoesNotMatchAssociatedMPNAccount
151
164
152
-
HTTP 400
153
-
154
165
The MPN ID you provided (<MPNID>) is not valid. Provide a valid MPN ID and try again.
155
166
156
167
### ApplicationNotFound
157
168
158
-
HTTP 404
159
-
160
169
The target application (<AppId>) cannot be found. Provide a valid application ID and try again.
161
170
162
171
### B2CTenantNotAllowed
163
172
164
-
HTTP 400
165
-
166
173
This capability is not supported in an Azure AD B2C tenant.
167
174
168
175
### EmailVerifiedTenantNotAllowed
169
176
170
-
HTTP 400
171
-
172
177
This capability is not supported in an email verified tenant.
173
178
174
179
### NoPublisherDomainOnApplication
175
180
176
-
HTTP 400
177
-
178
181
The target application (<AppId>) does must have a Publisher Domain set. Set a Publisher Domain and try again.
179
182
180
183
### PublisherDomainIsNotDNSVerified
181
184
182
-
HTTP 400
183
-
184
185
The target application's Publisher Domain (<publisherDomain>) is not a verified domain in this tenant. Verify a tenant domain using DNS verification and try again.
185
-
### PublisherDomainMismatch
186
186
187
-
HTTP 400
187
+
### PublisherDomainMismatch
188
188
189
189
The target application's Publisher Domain (<publisherDomain>) does not match the domain used to perform email verification in Partner Center (<pcDomain>). Ensure these domains match and try again.
190
190
191
191
### NotAuthorizedToVerifyPublisher
192
192
193
-
HTTP 403
194
-
195
193
You are not authorized to set the verified publisher property on application (<AppId>)
196
194
197
195
### MPNIdWasNotProvided
198
196
199
-
HTTP 400
200
-
201
197
The MPN ID was not provided in the request body or the request content type was not "application/json".
202
198
203
199
### MSANotSupported
204
200
205
-
HTTP 400
206
-
207
201
This feature is not supported for Microsoft consumer accounts. Only applications registered in Azure AD by an Azure AD user are supported.
208
202
209
-
## Internal logs
210
-
211
-
### AAD Graph Logs
212
-
213
-
These should be a rarity as these properties should only be modified by the App Publisher Service. If any of these errors are reported by customers, the likely answer is that the customer should not be attempting to modify the Verified Publisher properties as they are system properties.
214
-
215
-
- "Properties cannot be modified as VerifiedPublisherIsRevoked." - Error that will be received if an attempt is made to modify the Verified Publisher properties when the publisher verification status was marked as Fraudulent, internally by Microsoft.
216
-
217
-
- “verifiedPublisher properties cannot be set during Application creation.” - Error that will be received if an attempt is made to set the VerifiedPublisher properties during application create.
218
-
219
-
- “This operation requires the presence of both a user and an application.” - Error that will be received if an attempt is made to update the VerifiedPublisher properties using an App-Only authentication flow (as both a user and application must be present to modify these properties).
203
+
## Next steps
220
204
221
-
- “No other properties may be modified when VerifiedPublisher properties are being modified.” - Error that will be received if an attempt is made to update VerifiedPublisher properties while also attempting to modify any other Application property.
205
+
If you have reviewed all of the above information and are still receiving an error from Microsoft Graph, gather as much of the following information as possible related to the failing request and contact Microsoft support.
222
206
223
-
- “Authorization_RequestDenied” - Error that will be received if an attempt is made to update VerifiedPublisher properties by an application or user that does not have the elevated permissions required to do so.
224
-
## Next steps
225
-
Learn about [publisher verification](publisher-verification-overview.md)
0 commit comments