Blocking Extended events
This query is run by Management Studio. I have checked this Microsoft SQL Server Management Studio(13.0.11000.78).

In recent releases ability to connect to Azure SQL Database been added to SSMS and looks like SSMS executes this query when ever we change focus to any tab or click in SSMS tab. 

So now when we switch table from session 1 (which creates blocking) to session 2, below query is getting executed for the session 1. You can check this by running DBCC InputBudder(&lt;>).


  DECLARE @edition sysname; SET @edition =
  cast(SERVERPROPERTY(N'EDITION') as sysname); select case when @edition
  = N'SQL Azure' then 2 else 1 end as 'DatabaseEngineType'


And hence when blocked process report captures event it get this query from Session 1.

Now we may think that why this is not the case for Session 2. But this is not case as while query in session 2 is executing, SSMS not fire above query.