Apple Push Notification (APN) Certificate Renewal for Microsoft Intune Using PowerShell

Swahela Mulla 95 Reputation points
2023-07-20T13:32:24.57+00:00

Hello,

I am seeking assistance in automating the renewal process of Apple Push Notification (APN) certificates for Microsoft Intune using PowerShell. Unfortunately, despite extensive searching, I have not been able to find a specific solution that provides complete guidance on how to achieve this task.

Could someone with expertise in Microsoft Intune and PowerShell kindly guide me through the step-by-step process or share a PowerShell script that can help automate the renewal of the Apple Push Notification certificate for Microsoft Intune?

Your valuable assistance would be greatly appreciated.

I found two links there we have Graph API and PS Command to fetch APN certificate details.

https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.devicemanagement.administration/get-mgdevicemanagementapplepushnotificationcertificate?view=graph-powershell-1.0

https://github.com/microsoftgraph/powershell-intune-samples/blob/master/AppleEnrollment/APNS_Get.ps1

Thank you in advance!

Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Intune | Other
Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Lu Dai-MSFT 28,501 Reputation points
    2023-07-21T02:11:59.69+00:00

    @Swahela Mulla Thanks for posting in our Q&A.

    For this issue, it is more related to develop scope. The links you provided are only used to get the current Apple Push Notification (APN) Certificate.

    Based on my research, there is no direct PowerShell script provided to renew an Apple Push Notification (APN) Certificate.

    Given this situation, it is suggested to create an online support ticket to find if there is any helpful information. Here is the support link:

    https://learn.microsoft.com/en-us/mem/get-support


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.