Azure penetration testing rules of engagement and scope: what you can test and what you cannot
Your Azure test scope is set by two things: Microsoft's rules of engagement and the tenants, subscriptions and workloads your organization owns or is explicitly authorized to test. If a compliance framework, a customer security review, a product launch or an insurer has asked for an Azure penetration test, the first deliverable is a written scope that sits inside both limits. Most scoping failures are not technical. They happen when a buyer assumes a tester may touch anything reachable from a client's account, or when a third party's systems, logs or credentials get pulled into the test without anyone checking who owns them. DeployOpen tests its clients' own Azure environments and prepares the evidence for their assessments, but it does not issue audit reports or attestations; independent auditors and certification bodies do that.
Microsoft's published Microsoft Security Testing Rules of Engagement apply equally to the resource owner and to anyone acting for them, including a third-party security consultancy. That means the authorization you give a tester is not a loophole, and the tester carries the same prohibitions as you. The rules prohibit accessing tenants, systems, logs or storage accounts you do not own or have explicit permission to test, and they prohibit using credentials or secrets that are not your own, including those found publicly. In practice, scope should name each subscription and tenant by identifier, list the Entra ID objects and service principals in play, and state who signed off for each. Ask the provider to confirm in writing how they will handle any credential discovered during the test and where a finding touches a shared or third-party resource.
Some activities are excluded regardless of authorization. Denial of service testing is prohibited, Microsoft states that DDoS attacks are prohibited under all circumstances, and network-intensive fuzzing or automated testing that generates excessive traffic is also off limits. Phishing or social engineering of Microsoft employees is prohibited. Microsoft may interrupt an attack in progress, and violating the rules or service terms can lead to suspension or termination of your services. Build these exclusions into the contract, set rate limits on any automated tooling, and agree a stop condition. If the test finds a vulnerability in a Microsoft online service rather than your own configuration, the rules require reporting it to the Microsoft Security Response Center and forbid any action beyond initial proof of concept. Confirm with your provider how that report will be made and who receives it. Test accounts or trial tenants are encouraged for cross-tenant scenarios, and the rules suggest including the string MSOBB in account or tenant names to mark them as security testing.
What can be in scope for an Azure penetration test
An Azure test is only as clear as its boundaries. Microsoft's rules of engagement apply to the resource owner and to any authorized agent, so every subscription, tenant and identity in scope needs a documented owner and a written permission before testing starts.
Subscriptions and resource groups
Name each subscription and resource group in the contract by ID, and confirm that the client owns it or holds explicit permission to test it. Resources that look like part of the estate but belong to a parent company, a shared service or a managed provider should be listed separately as excluded until authorization is confirmed. Ask the client to produce the subscription inventory and check it against the tenant before work begins, since scope drift is the most common source of out-of-bounds testing.
Microsoft rules of engagementTenants and cross-tenant scenarios
Testing a tenant you do not own is prohibited, so cross-tenant scenarios need their own footing. The rules encourage test accounts or trial tenants for these cases, which keeps the boundary between the client's tenant and anything external explicit. Put the tenant IDs, the test account names and the owner of each in the scope document, and confirm who holds the credentials created for the engagement.
Workloads and identities
List the applications, virtual machines, App Services, storage accounts and Entra ID-connected identities that are in scope by name. Identities deserve their own line: testing must use credentials that belong to the test, not secrets that are leaked, shared by others or simply found. Record which service principals and user accounts the tester may use, their roles, and when they will be disabled after the test.
Marking security testing with MSOBB
The rules suggest including the string MSOBB in account or tenant names where possible, so that Microsoft can identify activity as security testing. Agree the naming convention in the contract and apply it to every test subscription, account and tenant the engagement creates. Where a name cannot carry the string, record the resource IDs in the rules of engagement so the client and the provider can show what was authorized.
Permitted services and standard tests
Name the Azure services and the standard tests that are permitted under the rules directly in the contract, rather than referring to the policy in general terms. Each service should appear with its resource type and the test categories allowed against it. Anything not listed is out of scope by default, which protects both sides if a tester later wants to examine a service the client did not expect to be touched.
Microsoft pen testing guidanceExcluded tests and prohibited activity
Write the prohibited activities into the scope document as exclusions, not as assumptions. Denial of service and DDoS testing are not permitted under any circumstances, and network-intensive fuzzing or automated tests that generate excessive traffic are also excluded. Confirm with the client that no social engineering of Microsoft staff is in scope, and agree how any finding in a Microsoft-operated service is reported to the Microsoft Security Response Center.
How an Azure scope is agreed before testing starts
The sequence turns a request for an Azure penetration test into a written scope that stays inside Microsoft's rules of engagement, and it ends with a findings report and a retest of the fixes.
Define the business goal and target assets
The buyer and the provider list what the test must answer, such as a customer security review, a framework requirement or a release check, and name the Azure subscriptions, resource groups, applications and APIs in question. The tester confirms who owns each subscription and tenant, because the rules of engagement apply equally to the resource owner and to authorized agents such as third-party consultancies. The step is done when every target has a named owner and a stated purpose.
Confirm ownership and written authorization
The client confirms in writing that it owns or has explicit permission to test each tenant, subscription and resource in the list, and the provider confirms it will not use credentials, secrets or accounts it does not hold. Any shared, customer-owned or third-party tenant is either excluded or brought in under its own written permission. The output is a signed authorization letter that names the in-scope resources and the testing window.
Check the plan against Microsoft's published rules
The provider maps each planned activity against Microsoft's Cloud penetration testing rules of engagement and the Azure penetration testing guidance on Microsoft Learn. Denial of service, DDoS, network-intensive fuzzing, excessive automated traffic, phishing or social engineering of Microsoft staff, and access to data or tenants outside the scope are removed from the plan. Activities that Microsoft's rules say must be handled differently, such as reporting Microsoft-side findings, are written into the contract. The output is a rules check that a reviewer can read line by line.
Write the scope and rules of engagement
The parties write the scope document: permitted test types, excluded services and tests, test accounts or trial tenants where cross-tenant scenarios are needed, and the account naming convention the rules suggest, which includes the string MSOBB where possible. The document also states who may run tests, what the client team must do if a test triggers an alert, and how a test stops if something unexpected happens. The step is complete when the client's security lead and the provider's engagement lead have both signed the scope.
Test only within the agreed boundaries
The testers run the approved activities against the approved resources, using the test accounts agreed in the scope. They log each session, keep request volume at the level the plan allows, and stop and report to the client if a finding suggests access beyond the agreed boundary. Microsoft may interrupt attacks in progress, and violations of the rules or service terms can lead to suspension or termination of services, so the provider keeps the client informed during the test. The step closes with a session log that matches the scope.
Handle vulnerabilities in Microsoft services
If a test finds a weakness in a Microsoft online service rather than in the client's configuration, the provider stops at initial proof of concept, makes no further action, and reports it to the Microsoft Security Response Center as the rules require. The client is told the finding exists and how it was reported. The output is a record of the report and a note in the findings that the issue sits with Microsoft and is outside the client's remediation work.
Report findings against the agreed scope
The provider writes the report using the NIST SP 800-115 approach to technical testing and the OWASP testing guides where web or API work is involved. Each finding gives the affected resource, the weakness category, the evidence at a level the client can verify without repeating attacks, the risk rating and a recommended fix. The report states which parts of the scope were tested, which were excluded and why. The step is done when the client has accepted the report and the scope record matches what was run.
Retest fixes and close the engagement
The client applies fixes, and the provider retests the findings under the same written scope and authorization, recording whether each one is resolved, partly resolved or still open. The closing record lists resolved items, accepted risks and any findings that depend on Microsoft action. The output is a retest report that the client can give to its auditor or customer, with the wording of its scope and limits kept unchanged.
What Microsoft prohibits and how to write it into the contract
Microsoft's rules of engagement prohibit denial of service testing and state that DDoS attacks are prohibited under all circumstances. No client approval, business justification or contract term changes that position, so a contract should never list DoS or DDoS as an in-scope activity, even as a "resilience check." Resilience questions belong in a separate exercise that Microsoft's own load and simulation rules govern, or in a tabletop review of the client's runbooks. Scope wording should name the prohibition directly and avoid vague terms such as "stress testing" or "availability testing," which can be read as permission for traffic that causes an outage.
- Name the prohibition: state that denial of service and DDoS activity is excluded in all circumstances.
- Remove load terms: delete "stress," "load" or "availability" tests unless they are defined and approved separately.
- Cover tooling: exclude scripts or scanners that can produce floods as a side effect.
- Record the interruption right: note that Microsoft may interrupt attacks in progress and that the client accepts the consequences.
Ask the tester to confirm in writing how their tools are configured to avoid flooding, and treat any request to test availability as a separate, non-penetration engagement.
Microsoft prohibits network-intensive fuzzing and automated testing that generates excessive traffic. Fuzzing is not banned as a technique, but fuzzing that drives high request volume against shared Microsoft infrastructure is outside the rules. For a contract, the practical problem is that automated tools default to high concurrency, and a tester can breach the rules without intending to. The scope should set limits on request rates, concurrency and the types of automated tests allowed, and it should say which findings must be confirmed manually rather than by volume.
- Limit concurrency: write maximum request rates and parallel connections into the statement of work.
- Name the tool classes: list permitted scanners and fuzzers, and state whether network-intensive fuzzing is excluded.
- Require throttling evidence: ask the tester how rate limits are set in each tool profile.
- Assign ownership of tooling: make the tester responsible for any tool that exceeds the agreed limits.
Check whether the tester's methodology describes manual verification of findings and whether the limits in the contract match the tools the tester plans to run.
Microsoft's rules prohibit phishing or social engineering of Microsoft employees. A client's own staff can be in scope for social engineering under the client's own authority, but the contract must make clear that the target population is the client's workforce and never Microsoft personnel. This matters for cloud-hosted email, support channels and any engagement that involves contacting Microsoft support or account teams. Scope wording should separate the client's identity and social engineering exercises from any contact with the provider.
- Define the population: name the client's employees, contractors or systems that are targets.
- Exclude provider contacts: state that no Microsoft employee, account manager or support agent is a target.
- Limit support escalations: prohibit testers from using Microsoft support channels to test staff or processes.
- Plan for simulated events: if phishing is in scope, align the test with the client's own communications and approval chain.
Confirm with the tester that social engineering is a separate, documented activity with its own rules of engagement and sign-off.
The rules prohibit accessing or testing tenants, systems, logs or storage accounts that the tester does not own or have explicit permission to test. This is the most common source of a scope dispute, because testers often discover neighboring resources through misconfigured identity, shared storage, cross-tenant trust or public endpoints. The contract should describe the exact subscriptions, tenants, resource groups and storage accounts in scope and state that any discovered resource outside the list is out of bounds until written approval is given. Cross-tenant scenarios need a dedicated test tenant. Microsoft's rules encourage test accounts or trial tenants for those cases and suggest including the string MSOBB in account or tenant names to mark them as security testing.
- List resources by identifier: name subscriptions, tenants and storage accounts, not just environments.
- Address discovered assets: require the tester to stop and notify the client when an out-of-scope resource appears.
- Use test tenants: place cross-tenant work in a dedicated test or trial tenant.
- Mark test accounts: include MSOBB in account or tenant names where possible.
Check whether the client's own logs and storage are covered by the agreement, since accessing logs requires the same explicit permission.
The rules prohibit using credentials or secrets that are not the tester's own, and that explicitly includes credentials that have been leaked publicly. A tester who finds a usable key in a public repository or paste site must not use it, even to prove impact. Scope wording should state which credentials the tester may use, where they come from and how they are issued and revoked. In practice, this means the client issues named test identities with defined roles, and the contract requires the tester to report any exposed secret without using it.
- Specify credential sources: state that only test identities issued by the client may be used.
- Prohibit found secrets: forbid use of leaked, scraped or third-party credentials, including public leaks.
- Set revocation dates: define when each test identity expires and who revokes it.
- Require disclosure: oblige the tester to report exposed secrets to the client promptly so they can be rotated.
Ask the tester how credentials are stored during the test and confirm that they are destroyed or disabled at the end of the engagement.
Which weakness categories an Azure scope should cover
This table lists the weakness categories an Azure test can examine inside Microsoft's rules of engagement, what each looks like in your own subscriptions and tenant, and why it matters. Read each row as a question to put to the tester: is this category in the agreed scope, and which of your resources would be examined. The main takeaway is that most high-value findings sit in your configuration and identity estate, which you own and can authorize, rather than in Microsoft's platform.
| Weakness category | What it looks like in your Azure estate | Why it matters |
|---|---|---|
| Identity and role assignments | Over-broad Azure RBAC roles at subscription or management group scope, standing owner rights, guest accounts with write access, and service principals with unused permissions | Excess rights let an attacker who compromises one identity move laterally or change configuration across the subscription |
| Network exposure | Public IP addresses, storage or database endpoints reachable from the internet, network security group rules open to any source, and management ports exposed | Exposed services widen the external attack surface and are often the first entry point a test demonstrates |
| Storage access configuration | Blob containers with anonymous read access, storage accounts allowing shared key access, overly permissive SAS tokens, and public network access left enabled | Misconfigured storage is a common route to sensitive data exposure and is checked against the CIS Microsoft Azure Foundations Benchmark at 6.0.0 |
| Logging gaps | Activity log or diagnostic settings not exported, resource logs disabled, short retention, and no alerting on role changes or key use | Without logs, a test can show a weakness but you cannot show detection, and assessors will ask for this evidence |
| Secrets handling | Credentials in application settings, scripts or pipeline variables, unrotated keys, and secrets stored without Key Vault access policies or managed identities | Secrets that are not yours to use are out of bounds, so your own secrets must be inventoried and authorized for testing |
| Serverless and API entry points | Function apps, App Service endpoints and API Management gateways with weak authentication, input handling flaws, or verbose error output | These are the internet-facing entry points most likely to be tested, and they need explicit authorization in the scope document |
| SSRF to metadata services | Application features that fetch user-supplied URLs and can reach the Azure Instance Metadata Service at 169.254.169.254 | Metadata access can expose managed identity tokens, so this is a high-impact category that the OWASP API Security Top 10 lists as API7:2023 |
Which compliance programs expect Azure testing and what they look for
Which compliance programs require evidence of penetration testing on Azure?
No single rule applies to every Azure environment, so the answer depends on your regulator, your customers and the framework your auditor uses. Many programs ask for evidence of security testing rather than a named test type, and a penetration test is one way to meet that expectation. Confirm the exact requirement with your assessor or regulator before buying, because the wording of a control determines what evidence is accepted. DeployOpen prepares the testing and evidence for compliance assessments, but the framework owner or independent auditor decides whether the evidence is sufficient.
What evidence do auditors usually expect from an Azure penetration test?
Auditors typically look for four things that trace back to Microsoft's rules of engagement: a written scope, documented authorization, a findings report and evidence of retest. The scope should name the subscriptions, tenants and services in play and state what was excluded. Authorization should show that the resource owner approved the work, and that any third-party tester acts as an authorized agent. The report should record severity, affected assets and reproduction steps at a level a reviewer can follow. Retest evidence shows that fixes were checked, not just reported.
How do Microsoft's rules of engagement shape the evidence a test produces?
The rules of engagement set boundaries that appear directly in your evidence. Denial of service testing and network-intensive fuzzing are prohibited, so your scope document must show that these were excluded. Testing of tenants, logs or storage you do not own is prohibited, so the authorization record should list only owned or explicitly permitted resources. Any vulnerability found in Microsoft's online services must be reported to the Microsoft Security Response Center, and action beyond initial proof of concept is prohibited, so your report should stop at proof of concept for those issues. Keeping these limits in writing gives an assessor a clear trail that the work stayed within bounds.
Does DORA require penetration testing for financial entities?
DORA's ICT risk management standard, Commission Delegated Regulation (EU) 2024/1774, does not name penetration testing as the control to run. It does set two cadences that are separate from penetration testing. Article 10 requires automated vulnerability scanning of relevant assets at least weekly, and Article 21 requires access rights to be reviewed at least every 6 months for systems that support critical or important functions. A penetration test is a point-in-time assessment that complements these recurring activities, so it should not be presented as a substitute for weekly scanning or access reviews. Read the Commission Delegated Regulation (EU) 2024/1774 on EUR-Lex and confirm with your supervisor how it applies to your entity.
How does a customer security review differ from a formal compliance audit?
A customer security review asks whether you can show your Azure environment was tested, while a formal audit asks whether a named control was operating and evidenced. Customers often request the latest test summary, the scope statement and a list of open findings, sometimes under a non-disclosure agreement. Auditors need more detail, including the authorization trail and retest results. Decide in advance which version of the evidence you will share with each audience, and avoid sending raw findings outside the agreed distribution. DeployOpen can prepare the evidence pack, but it does not issue audit reports, attestations or certifications.
Can our internal team prepare the Azure testing evidence instead of an outside provider?
An internal team can prepare much of the evidence, but the independence and authorization questions need careful handling. Your team can maintain the scope register, keep authorization records and track remediation. An outside tester adds independence and a documented method, which assessors often weigh. Whichever route you choose, the rules of engagement still apply to anyone who runs tests against Azure resources, including internal staff acting on the organization's behalf. Ask your assessor what level of independence they expect before deciding who performs the test.
What should we ask a provider to include in compliance evidence?
Ask for a written scope that lists subscriptions, services, excluded activities and testing windows, plus a statement that the work follows Microsoft's rules of engagement. Request an authorization record that names the resource owner and any authorized agents. Ask for a findings report with severity, affected resources and remediation guidance, and a retest plan with dates agreed in writing. Confirm how the provider will handle any issue that touches Microsoft's own services, including the reporting path. Most engagements are fixed-scope, so these items should be agreed before work starts.
How often should we repeat Azure testing to keep compliance evidence current?
The right frequency depends on your framework, your change rate and what your assessor accepts, so confirm it before setting a schedule. Re-testing is usually needed after significant architecture changes, new internet-facing services or a major platform update. Recurring activities such as weekly vulnerability scanning under DORA Article 10 and six-monthly access reviews under Article 21 run between penetration tests. DeployOpen offers retainers for ongoing support and continuous testing when a fixed-scope engagement is not enough.
What the client receives from a scoped Azure engagement
A scoped Azure engagement ends in a set of records that show what was authorized, what was tested, what was found and whether fixes worked. Each card below is one part of that package, and together they let your security team, your customers and your auditors trace every finding back to an agreed boundary.
Scope and authorization record
The first section of the report restates the subscriptions, tenants, resource groups and services that were tested, along with the named accounts, test identities and any third-party authorization. It also records what was excluded under Microsoft's rules of engagement, such as denial of service and testing of tenants you do not own. Check that the tester's written authorization names the resource owner and the exact subscriptions in scope.
Microsoft rules of engagementMethodology and test coverage
This section explains the phases the tester followed, the tools used and the Azure services exercised, so a reader can judge what the test did not reach. Ask whether tool use stayed within the traffic and fuzzing limits in Microsoft's rules. Coverage gaps should be written down as exclusions, not left implicit.
Findings with severity ratings
Each finding should state the affected resource, the weakness category, the conditions needed to exploit it, the business impact and a severity rating with the method used to assign it. Findings from the Azure configuration review and from attack-path testing should be kept distinct so the reader can see which were proven in the environment. Ask for the severity criteria in writing before the test starts.
Evidence limited to proof of concept
Evidence should show that a weakness exists, using the minimum data needed, such as a redacted configuration value or a screenshot of a permission. Microsoft's rules prohibit any action beyond initial proof of concept on its services, so a report that includes data extraction or persistence beyond that point is a scoping problem. Confirm how sensitive values, logs and storage contents are redacted before the report leaves the tester.
MSRC referral record
If the test finds a vulnerability in a Microsoft online service rather than in the client's own configuration, the report should record that the issue was reported to the Microsoft Security Response Center, when, and what proof of concept was provided. This record is separate from the client's findings and shows that the tester stopped where the rules require. Ask who holds the Microsoft-facing communication and whether the client is copied.
Reporting rulesRemediation guidance and retest result
Remediation guidance should give a specific fix for each finding, such as a role assignment to remove or a storage setting to change, with an owner suggested for each. The retest section records which findings were verified as closed, which remain open and which were accepted as risk. Ask whether the retest is included in the fixed fee or priced separately.
How Azure scope differs by architecture
When the workload sits entirely in one subscription that your organization owns, the scope question is mostly about resources. The tester may examine the virtual machines, load balancers, storage accounts, databases and network paths you have placed in that subscription, provided the subscription owner authorizes the work. Microsoft's rules apply the same way to the resource owner and to any authorized agent, so a third-party consultancy needs the same written permission as your own staff. Confirm which resource types are in the client's own scope and which are platform services that Microsoft runs, because those carry different limits. Microsoft's penetration testing guidance on Microsoft Learn is the place to check current service-specific notes before the contract is signed.
- Owned resources: Name the subscriptions, resource groups and resource IDs in the statement of work, so the tester cannot drift into a neighboring subscription.
- Excluded activities: Denial of service, DDoS and network-intensive fuzzing are prohibited under all circumstances, so state them in the contract.
- Owner authorization: Record who signed for the subscription and confirm they hold the authority to approve testing.
- Shared networks: Peered virtual networks or hub resources owned by another team need their own approval.
- Platform services: Confirm with Microsoft's current rules whether a given managed service needs notice or has its own limits.
Before signing, check that every resource named in scope belongs to the subscription the signing party controls.
Many Azure workloads trust Microsoft Entra ID for sign-in, service identities and role assignments. A test of these workloads reaches across the identity boundary, which makes the scope more complicated than a subscription test. Your tenant can be in scope, but accounts, groups and applications that belong to other tenants or to partners are not yours to test. Identity-focused work should be written so that the tested objects are clearly listed, including app registrations, managed identities and conditional access policies that your organization administers. Anything outside that list, including a partner's tenant or a shared directory, needs explicit permission from its owner.
- Tenant ownership: Confirm that the tenant ID in scope is the one your organization administers.
- Test identities: Use accounts you created for the test rather than real user credentials, and never use credentials that are not your own, including any found in public sources.
- Role assignments: Define which roles the tester may hold and how long they may hold them.
- Guest and partner accounts: Treat these as belonging to another organization unless that organization has agreed in writing.
- Logging impact: Agree how sign-in and audit logs will be handled, since the test will generate events that your security team must distinguish from real activity.
Ask your identity team to produce the list of tenants, applications and roles in scope, then compare it with the signed statement of work.
Serverless workloads expose entry points such as HTTP-triggered functions and API gateways, and these are often the first place a tester probes. AWS publishes a list of services that customers may test without prior approval, and that list includes API Gateway and Lambda. Azure has no matching list in the sources used here, so the Azure equivalents need a different treatment. For this topic, scope should cover Azure Functions and Azure API Management endpoints that your organization owns and operates, and the scoping conversation should confirm what Microsoft's current rules say about each service before testing begins. Also decide whether the test covers the function's execution identity and its access to downstream services, since that identity often grants more reach than the endpoint itself.
- Named endpoints: List each function app and API Management instance by name, with its hostname and environment.
- Downstream reach: Define which storage accounts, databases and key vaults the function's managed identity may touch during the test.
- Metadata services: Confirm the tester may check for server-side request forgery against instance metadata endpoints, and that any finding stops short of using retrieved credentials.
- Rate limits: Agree request volumes in writing, because automated bursts can look like the prohibited traffic patterns.
- Service confirmation: Verify with Microsoft's current guidance that each named service is permitted before testing.
Confirm each serverless endpoint and its identity in writing, and check the service-specific rules for every item on the list.
Some tests involve a service that your organization uses but does not own, or a SaaS product your customers run in their own Azure tenants. In these cases the owner of each tenant, subscription and storage account must authorize the test, and the tester must not reach into data or resources that belong to someone else. Microsoft's rules encourage using test accounts or trial tenants for cross-tenant scenarios. Where possible, name those test tenants with the string MSOBB so that the security activity is clearly marked. The test itself should prove that controls hold between tenants without ever accessing another customer's data, logs or storage.
- Test tenants: Use a dedicated test or trial tenant for cross-tenant scenarios, and include MSOBB in its name where possible.
- Customer data: Prohibit access to any tenant, system, log or storage account that the tester does not own or have explicit permission to test.
- Multi-party authorization: Obtain written permission from every party whose tenant or resources the test could touch.
- Abuse handling: Agree who is notified if Microsoft interrupts or suspends activity, since the rules allow Microsoft to stop attacks in progress.
- Vulnerability reporting: Plan how a finding in a Microsoft service is reported to the Microsoft Security Response Center, and stop after initial proof of concept.
Before testing, confirm that each tenant in the diagram has a named owner who has approved the work in writing.
What the client prepares before the Azure test starts
The client's first job is to put the authorization in writing. Before any testing begins, the resource owner should sign a scope and authorization letter that names the Azure subscriptions and Entra ID tenants in play, the test window, the permitted techniques and the named individuals who approve changes to scope. Microsoft's rules of engagement apply equally to the resource owner and to authorized agents such as a third-party consultancy, so the letter is what separates an authorized test from a prohibited one if a provider's activity is questioned. Where cross-tenant scenarios are involved, the client should also decide whether to provision test accounts or trial tenants instead of using production identities. Microsoft's guidance suggests including the string MSOBB in those account or tenant names to mark them as security testing, so the client should confirm that naming convention with the provider before creation.
The client also needs to name the people who keep the test running and stop it when needed. A technical contact should hold the subscription and tenant details, approve any network or identity change, and answer questions from the provider within an agreed time. The client should confirm a change freeze window so that no unrelated deployment alters the target mid-test, and should tell the security operations team when testing starts and ends so alerts are triaged as known activity rather than escalated as an incident. Because Microsoft may interrupt attacks in progress, and because violating the rules or service terms can lead to suspension of the account or services, the client should agree a stop rule in advance: which conditions halt work, who may call a halt, and who at Microsoft or at the provider is contacted. Confirm that escalation path with the provider before testing begins, not during the first incident.
What to check in an Azure testing provider before signing
Microsoft's rules of engagement set the boundaries for any Azure test, but they bind the provider only if your contract says so. The cards below cover the terms to confirm before signing, from authorization and MSRC reporting to retesting and the standards the provider works to. Verify every claim a provider makes, including any Microsoft partner or certification status, against the provider's own documentation.
Named rules of engagement in the contract
Confirm the contract names Microsoft's Cloud penetration testing rules of engagement as a governing document, not just a general reference to Azure terms. The rules apply equally to the resource owner and to authorized agents such as a third-party consultancy, so the provider's obligations should be written as your agents' obligations. Ask the provider to list the prohibited activities it has agreed to avoid, including denial of service and network-intensive fuzzing, and to confirm how it will handle any conflict between your scope and those rules.
Read the rulesWritten authorization for third-party work
Ask who signs the authorization for each Azure subscription, tenant and resource in scope, and how the provider proves it holds that authority. The rules prohibit accessing tenants, systems, logs or storage you do not own or have explicit permission to test. Require a scope schedule listing subscriptions and resources by identifier, and a process for adding assets mid-engagement that does not start until written approval arrives.
Credential and secret handling
Confirm the provider will use only credentials and secrets issued for the engagement, and never material found in public repositories or leaked dumps. Ask how test identities are created, scoped and removed at the end, and whether the provider will use test accounts or trial tenants for cross-tenant scenarios. Clarify where credentials are stored during the test and how they are destroyed afterward.
MSRC reporting and proof of concept limits
Check the provider's process for vulnerabilities found in Microsoft's own online services. The rules require reporting these to the Microsoft Security Response Center and prohibit any action beyond initial proof of concept. Ask the provider to stop and escalate when it reaches that boundary, to name who in your organization is told, and to confirm it will not pivot further into a Microsoft service to demonstrate impact.
Retest and remediation terms
Ask whether the quoted price includes a retest of findings after your fixes, how many retest rounds are included, and within what period it must be requested. Retests should confirm each fix against the original finding, and the report should state which findings were closed and which remain open. Agree in advance how retesting works if a fix changes Azure configuration that the provider must test again.
Public standards and verification
Ask which public standards the provider names for method and benchmark coverage, such as NIST SP 800-115 for testing and the CIS Microsoft Azure Foundations Benchmark for configuration checks, and how it maps findings to them. Verify any Microsoft partner status, certification or reference the provider claims by asking for evidence and checking it yourself. DeployOpen is not a Microsoft partner or certified provider unless it states otherwise in writing, so ask for the same proof from every bidder.
Azure penetration testing scope questions buyers ask
Do I need to notify Microsoft before an Azure penetration test?
Confirm this against Microsoft's current rules before you sign, because the answer depends on what you plan to test. Microsoft's unified rules of engagement set the boundaries for testing Microsoft cloud services, and they apply equally to the resource owner and to any authorized agent, such as a third-party consultancy. Your contract should name the subscriptions, tenants and services in scope, state who holds authority to test them, and record which activities are excluded. Ask your provider to show how each planned test fits the published rules and to flag any test that needs a different process.
Is DDoS testing ever allowed in an Azure penetration test?
No. Microsoft's rules of engagement prohibit DDoS attacks under all circumstances, so a test should not include denial of service, network-intensive fuzzing or automated traffic that generates excessive load. Resilience to volumetric attacks is a separate question that needs a separate, planned exercise with the provider's approval, not a side task inside a penetration test. Write this exclusion into the statement of work so the team running tools knows the limit, and ask the provider how they check load-generating tools before they run.
What drives the cost and duration of an Azure penetration test?
The main drivers are the number of subscriptions, tenants and services in scope, the mix of application, identity and configuration work, and how much of the test depends on authorization steps, excluded activities and cross-tenant scenarios. Fixed-scope work is priced from a written scope, so the clearer the boundaries, the easier the quote. No public rate for Azure testing is published in these sources, so compare quotes on the same scope, not on headline numbers. Ask for the hours or phases behind each price, the assumptions about test accounts, and the cost of any retest.
What does my team need to provide before an Azure test starts?
Your team should provide written authorization from the owner of each subscription or tenant in scope, a list of in-scope resources and their owners, and the contact people for testing windows and emergencies. Test accounts or trial tenants are preferred for cross-tenant scenarios, and Microsoft suggests including the string MSOBB in account or tenant names where possible to mark them as security testing. Provide network and identity details the tester needs, and confirm which credentials are approved for use. The tester should never use credentials that are not their own, including any found publicly.
Can my own team run an Azure penetration test instead of a third party?
Yes, your own staff can test resources you own, as long as they stay inside Microsoft's rules of engagement and your own authorization. The rules apply equally to the resource owner and to authorized agents, so internal teams carry the same prohibitions as an external consultancy. Internal testing often covers routine checks well, but compliance reviewers and customers usually expect an independent tester with a written report. Decide early who will sign off findings, who owns remediation and how the results will be shown to auditors or customers.
What happens if the test finds a vulnerability in a Microsoft service?
Report it to the Microsoft Security Response Center as the rules of engagement require. Any action beyond the initial proof of concept is prohibited, so the tester should stop, document what was observed and avoid accessing data beyond what is needed to show the issue. Agree this process in the contract, including who notifies MSRC, how your team is told and how the finding is handled in your report. Microsoft may also interrupt attacks in progress, and violations can lead to suspension or termination of accounts or services, so the stop process should be tested before work begins.
How does retesting work after an Azure penetration test?
Retesting checks whether the findings you chose to fix are actually closed, and it is usually scoped and priced separately from the original test. The retest scope should list the findings to verify, the resources they affect and any changed configuration since the first test. Ask the provider whether retesting uses the same authorization and rules of engagement, whether it requires a new window, and how the updated report will record the status of each finding. Keep the retest in the original contract if your auditor or customer will ask for proof of closure.
How DeployOpen scopes, tests, reports and retests Azure environments
DeployOpen treats Microsoft's rules of engagement as a boundary set before any testing starts, then writes that boundary into the scope so every test step can be checked against it. The work covers the Azure environments you own or are authorized to test, with findings and fixes documented for your security, compliance and customer review teams.
How we scope
- Engagements are fixed-scope, with subscriptions, services, tests and exclusions agreed in writing before work starts.
- The written scope names which Azure resources, tenants and storage accounts you own or are explicitly permitted to test.
- We record prohibited activities such as denial of service, network-intensive fuzzing and phishing of Microsoft staff in the scope document.
How we build
- We confirm who signs the authorization and that every test account or trial tenant belongs to your organization.
- Testing runs only against the agreed subscriptions, with credentials you provide or that are issued to the engagement.
- Any Microsoft service vulnerability found is stopped at proof of concept and routed to your team for reporting to MSRC.
How we hand over
- You receive a findings report with severity, affected Azure resources, evidence and a clear fix for each issue.
- The report records the scope and rules applied, so your auditor or customer can see what was and was not tested.
- We document any items that need Microsoft or provider involvement, so ownership of follow-up is explicit.
How we support
- After fixes are applied, we retest the affected findings and update the report to show their status.
- Ongoing support, upgrades and continuous testing are available as a retainer for environments that change frequently.
- Before commissioning, ask us to confirm the scope, deliverables and retest terms in writing as part of the quote.

