Share via

unauthorised subscription access using Api

Jusiah Katumba 41 Reputation points
2022-05-13T16:34:12.27+00:00

Happened to see an authorized access to my pay as you go subscription .
they scheduled Microsoft.CostManagement/scheduledActions/dailyanomalybyresourcegroup

should i be worried of any malicious damage and how can i block them fro accessing my subscription

Cost Management
Cost Management

A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.

0 comments No comments

Answer accepted by question author

Sadiqh Ahmed 49,571 Reputation points Microsoft External Staff Moderator
2022-05-16T16:37:06.107+00:00

@Jusiah Katumba Thank for contacting us and I apologize for the delayed response!

You mentioned that you noticed an unauthorized access on your Pay-As-You-Go subscription and wanted to know if the access can blocked.

This action "Microsoft.CostManagement/scheduledActions/dailyanomalybyresourcegroup" can only be performed by user who has appropriate access to the subscription. For example: The user must be an owner or contributor.
Doc references: Scheduled Actions - Create Or Update and Scheduled Actions - Delete

You might want to check what is your access level at the subscription as well as at directory level. Also check who else has "Owner" or "Contributor" access to the subscription.
Refer to - https://techcommunity.microsoft.com/t5/itops-talk-blog/what-s-the-difference-between-azure-roles-and-azure-ad-roles/ba-p/2363647

Update:
Was thinking perhaps i deploy a blueprint for billing and Global administrator. My only worry is wont it lock my colleagues out too. A read only policy.
-If you completely block all users then yes it does. You can use RBAC - https://learn.microsoft.com/en-us/azure/role-based-access-control/overview to define required roles for each user to avoid unauthorized access to resources.

Hope this helps!

----------------------------------------------------------------------------------------------------------------------

If the response helped, do "Accept Answer" and up-vote it

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.