Skip to content

Commit 83d9bd4

Browse files
committed
Merge branch 'pv-initial' of https://github.com/rwike77/azure-docs-pr into pv-initial
2 parents 24b4783 + 9aee05f commit 83d9bd4

File tree

1 file changed

+60
-70
lines changed

1 file changed

+60
-70
lines changed

articles/active-directory/develop/troubleshoot-publisher-verification.md

Lines changed: 60 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,53 @@ ms.custom: aaddev
1414
ms.reviewer: jesakowi
1515
---
1616

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:
1919

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
2121

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
2323

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)
2525

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.
2727

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.
3458

3559
## Making Microsoft Graph API calls
3660

3761
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.
3862

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).
4064

4165
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).
4266

@@ -47,11 +71,11 @@ Here are examples of some useful requests:
4771
Request
4872

4973
```
50-
POST /applications/0cd04384-0d91-4e52-9eb3-6b3971b7ebec/setVerifiedPublisher
74+
POST /applications/0cd04273-0d11-4e62-9eb3-5c3971a7cbec/setVerifiedPublisher
5175
5276
{
5377
54-
"verifiedPublisherId": "5335224"
78+
"verifiedPublisherId": "12345678"
5579
5680
}
5781
```
@@ -66,37 +90,36 @@ Note: verifiedPublisherID is your MPN ID.
6690

6791
Request:
6892
```
69-
POST /applications/0cd04384-0d91-4e52-9eb3-6b3971b7ebec/unsetVerifiedPublisher
93+
POST /applications/0cd04273-0d11-4e62-9eb3-5c3971a7cbec/unsetVerifiedPublisher
7094
```
7195

72-
7396
Response
7497
```
7598
204 No Content
7699
```
77100
### Get Verified Publisher info from Application
78101

79102
```
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
81104
82105
HTTP/1.1 200 OK
83106
84107
{
85-
"id": "0cd04384-0d91-4e52-9eb3-6b3971b7ebec",
108+
"id": "0cd04273-0d11-4e62-9eb3-5c3971a7cbec",
86109
87110
...
88111
89112
"verifiedPublisher" : {
90113
"displayName": "myexamplePublisher",
91-
"verifiedPublisherId": "5335224",
114+
"verifiedPublisherId": "12345678",
92115
"addedDateTime": "2019-12-10T00:00:00"
93116
}
94117
}
95118
```
96119

97120
### Get Verified Publisher info from Service Principal
98121
```
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
100123
101124
HTTP/1.1 200 OK
102125
@@ -107,119 +130,86 @@ HTTP/1.1 200 OK
107130
108131
"verifiedPublisher" : {
109132
"displayName": "myexamplePublisher",
110-
"verifiedPublisherId": "5335224",
133+
"verifiedPublisherId": "12345678",
111134
"addedDateTime": "2019-12-10T00:00:00"
112135
}
113136
}
114137
```
115-
116-
## HTTP Error Reference
117138

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
119140

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.
121142

122-
HTTP 400
143+
### MPNAccountNotFoundOrNoAccess
123144

124145
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.
125146

126147
### MPNGlobalAccountNotFound
127148

128-
HTTP 400
129-
130149
The MPN ID you provided (<MPNID>) is not valid. Provide a valid MPN ID and try again.
131150

132151
### MPNAccountInvalid
133152

134-
HTTP 400
135-
136153
The MPN ID you provided (<MPNID>) is not valid. Provide a valid MPN ID and try again.
137154

138155
### MPNAccountNotVetted
139156

140-
HTTP 400
141-
142157
The MPN ID (<MPNID>) you provided has not completed the vetting process. Complete this process in Partner Center and try again.
143158

144159
### NoPublisherIdOnAssociatedMPNAccount
145160

146-
HTTP 400
147-
148161
The MPN ID you provided (<MPNID>) is not valid. Provide a valid MPN ID and try again.
149162

150163
### MPNIdDoesNotMatchAssociatedMPNAccount
151164

152-
HTTP 400
153-
154165
The MPN ID you provided (<MPNID>) is not valid. Provide a valid MPN ID and try again.
155166

156167
### ApplicationNotFound
157168

158-
HTTP 404
159-
160169
The target application (<AppId>) cannot be found. Provide a valid application ID and try again.
161170

162171
### B2CTenantNotAllowed
163172

164-
HTTP 400
165-
166173
This capability is not supported in an Azure AD B2C tenant.
167174

168175
### EmailVerifiedTenantNotAllowed
169176

170-
HTTP 400
171-
172177
This capability is not supported in an email verified tenant.
173178

174179
### NoPublisherDomainOnApplication
175180

176-
HTTP 400
177-
178181
The target application (<AppId>) does must have a Publisher Domain set. Set a Publisher Domain and try again.
179182

180183
### PublisherDomainIsNotDNSVerified
181184

182-
HTTP 400
183-
184185
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
186186

187-
HTTP 400
187+
### PublisherDomainMismatch
188188

189189
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.
190190

191191
### NotAuthorizedToVerifyPublisher
192192

193-
HTTP 403
194-
195193
You are not authorized to set the verified publisher property on application (<AppId>)
196194

197195
### MPNIdWasNotProvided
198196

199-
HTTP 400
200-
201197
The MPN ID was not provided in the request body or the request content type was not "application/json".
202198

203199
### MSANotSupported
204200

205-
HTTP 400
206-
207201
This feature is not supported for Microsoft consumer accounts. Only applications registered in Azure AD by an Azure AD user are supported.
208202

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
220204

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.
222206

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)
207+
- Timestamp
208+
- CorrelationId
209+
- ObjectID or UserPrincipalName of signed in user
210+
- ObjectId of target application
211+
- AppId of target application
212+
- TenantId where app is registered
213+
- MPN ID
214+
- REST request being made
215+
- Error code and message being returned

0 commit comments

Comments
 (0)