microsoftgraph / microsoftgraph/msgraph-bicep-types

Add the ability to specify MPN IDs when creating app registrations

Open
#206 4 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

enhancement graph-platform triaged
Dominant language
TypeScript
Stars
80
Forks
15
Avg merge
1h 21m
Merged PRs (30d)
3

Description

Is your feature request related to a problem? Please describe.
We're currently reviewing the manual steps required for creating app registrations. We've managed to remove the vast majority of manual steps, however two prominent steps remain - setting a logo (covered by #153) and setting our MPN ID on the registration. Currently we get the following error when attempting to do this:

{
  "code": "DeploymentFailed",
  "target": "/subscriptions/<id>/resourceGroups/DS-Infrastructure/providers/Microsoft.Resources/deployments/test",
  "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.",
  "details": [
    {
      "code": "Forbidden",
      "message": "verifiedPublisher properties cannot be set during Application creation. Graph client request id: 802f3c5e-18df-46aa-85b9-cb522bf1c7a9. Graph request timestamp: 2024-12-18T03:38:24Z."
    }
  ]
}

with the following Bicep file:

extension microsoftGraphV1_0

resource appReg 'Microsoft.Graph/applications@v1.0' = {
  uniqueName: 'test-registration'
  displayName: 'Test Reg'
  verifiedPublisher: {
    verifiedPublisherId: '<id>'
  }
}

Describe the solution you'd like
It would be great to be able to specify the MPN ID on our registrations in the Bicep script.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.