Microsoft.Migrate: The properties "tags" and "identity" does not exist in the resource or type definition
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 108
- Forks
- 44
- Avg merge
- 18h 53m
- Merged PRs (30d)
- 29
Description
### Resource Type
Microsoft.Migrate/migrateProjects
### Api Version
2020-05-01
### Issue Type
Type is unavailable
### Other Notes
```
C:\repos\azure-migrate\bicep\main.bicep(158,3) : Warning BCP187: The property "tags" does not exist in the resource or type definition, although it might still be valid. If this is a resource type definition inaccuracy, report it using https://aka.ms/bicep-type-issues. [https://aka.ms/bicep/core-diagnostics#BCP187]
C:\repos\azure-migrate\bicep\main.bicep(159,3) : Warning BCP187: The property "identity" does not exist in the resource or type definition, although it might still be valid. If this is a resource type definition inaccuracy, report it using https://aka.ms/bicep-type-issues. [https://aka.ms/bicep/core-diagnostics#BCP187]
```
### Bicep Repro
```bicep
resource migrateProject 'Microsoft.Migrate/migrateProjects@2020-05-01' = {
name: migrateProjectName
location: location
tags: migrateTags
identity: {
type: 'SystemAssigned'
}
properties: {
publicNetworkAccess: 'Enabled'
}
}
```
Note: https://github.com/Azure/bicep-types-az/issues/2685 mentions the `tags `property
### Confirm
- [x] I have read the troubleshooting guide and looked for duplicates.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start with the type definition for Microsoft.Migrate/migrateProjects@2020-05-01 and compare it with the Bicep repro in the issue, focusing on the tags and identity properties. Confirm the result by checking that the reported BCP187 warnings no longer appear for the supplied resource definition.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 57/100