microsoftgraph / microsoftgraph/msgraph-bicep-types
Add the ability to specify MPN IDs when creating app registrations
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.