Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bing Resource Provider is registering automatically without my permission (hitting register button) in one of the scenario #95959

Closed
HeysaiHari opened this issue Jul 20, 2022 · 6 comments

Comments

@HeysaiHari
Copy link

I have 4 Subscriptions: Development, Production, Test Subscription and UAT.
Only in UAT, the Microsoft.Bing resource provider was registered - as you can see in the below Gif:

BingResourceProviders

After checking in the bing resource create window, remaining subscriptions are automatically registered to the Microsoft.Bing resource provider without my hit/press on register button.

AutomaticallyRegisteredforothersubsAzure


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@SwathiDhanwada-MSFT
Copy link
Contributor

@krishnaHC43 Some resource providers are registered by default. For a list of resource providers registered by default, see Resource providers for Azure services.

Other resource providers are registered automatically when you take certain actions. When you create a resource through the portal, the resource provider is typically registered for you. When you deploy an Azure Resource Manager template or Bicep file, resource providers defined in the template are registered automatically. However, if a resource in the template creates supporting resources that aren't in the template, such as monitoring or security resources, you need to manually register those resource providers.

For other scenarios, you may need to manually register a resource provider.

Can you please clarify that the Microsoft.Bing is automatically registered without creating bing resource? Please correct me if misunderstood.

@HeysaiHari
Copy link
Author

Yes, it is automatically registered without creating the resource and by traversing to the pricing tiers in resource creation page as you can see in my 2nd Gif Clip.

@SwathiDhanwada-MSFT
Copy link
Contributor

@krishnaHC43 I have verified your scenario. You are indeed right. It seems that without creating the resource, the resource provider is being registered.
image

@tfitzmac Can you please clarify does "Certain actions" include this resource within the statement "Other resource providers are registered automatically when you take certain actions"?

@tfitzmac
Copy link
Contributor

Yes, in this case, it seems the resource provider needs to be registered to query the available pricing tiers. The portal launches the registration before creating the resource.

We could add some clarification that registration may happen before deploying the resource.

@HeysaiHari
Copy link
Author

Hello @SwathiDhanwada-MSFT
In my observation, I have tested for APIM, Storage account instances:
In UAT Subscription, those are unregistered by default and automatically registering when the resources are creating.

As of now, Microsoft.Bing resource provider is registering automatically before creation of the resource.

@SwathiDhanwada-MSFT
Copy link
Contributor

@krishnaHC43 Thanks for the feedback! I have fixed the referenced change, and the change should reflect on the doc once approved by content author. We will now proceed to close this thread. If there are further questions regarding this matter, please revert and we will gladly continue the discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants