Skip to content

Commit e8851a1

Browse files
authored
Merge pull request #327 from msewaweru/freshness-troubleshooting
Freshness pass for the troubleshooting article
2 parents 7510539 + 4e96ee9 commit e8851a1

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

microsoftgraph/docs-conceptual/get-started.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,5 +158,6 @@ Disconnect-MgGraph
158158

159159
## Next steps
160160

161-
- [Learn how to navigate the SDK](navigating.md)
162-
- [Use app-only authentication with the Microsoft Graph PowerShell SDK](app-only.md)
161+
- Work around the [Unverified publisher known issue](troubleshooting.md#unverified-publisher-known-issue).
162+
- [Learn how to navigate the SDK](navigating.md).
163+
- [Use app-only authentication with the Microsoft Graph PowerShell SDK](app-only.md).
-52.4 KB
Loading

microsoftgraph/docs-conceptual/troubleshooting.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ title: "Error handling and troubleshooting cmdlets"
33
description: "Learn how to diagnose common errors in Microsoft Graph PowerShell"
44

55
ms.topic: troubleshooting
6-
ms.date: 05/22/2023
6+
ms.date: 08/08/2023
77
ms.author: eunicewaweru
88
manager: CelesteDG
99
author: msewaweru
10-
reviewer: maisarissi,peombwa
10+
reviewer: carolkigoonya,peombwa
1111
---
1212

1313
# Troubleshooting common errors in Microsoft Graph PowerShell
@@ -58,6 +58,16 @@ Alternatively, use [New-MgServicePrincipalAppRoleAssignment](/powershell/module/
5858

5959
For more info, see [App-only authentication](app-only.md).
6060

61+
## Unverified publisher known issue
62+
63+
`Unverified publisher` error message occurs during Microsoft Graph PowerShell app consent.
64+
65+
To remove this error, you can use an app registration of your own, on which you can set yourself as the verified publisher. You'll need to go through the [publisher verification process](/azure/active-directory/develop/publisher-verification-overview), and use the app registration to consent to the permissions required by Microsoft Graph PowerShell, as shown below:
66+
67+
```powershell
68+
Connect-MgGraph -AppId "{your-own-app-id}" -Scopes "scope"
69+
```
70+
6171
## Using -Debug
6272

6373
The **-Debug** parameter provides a powerful way to examine a script while it's running in order to identify and correct errors in the script. The following are the important parts of a **-Debug** output:

0 commit comments

Comments
 (0)