Azure / Azure/bicep-types-az

Microsoft.Migrate: The properties "tags" and "identity" does not exist in the resource or type definition

Open
#2,707 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

inaccuracy
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

  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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.