Home
%3CLINGO-SUB%20id%3D%22lingo-sub-835297%22%20slang%3D%22en-US%22%3EAzure%20Event%20Hubs%20support%20for%20Azure%20Active%20Directory%20based%20access%20control%20is%20now%20generally%20available!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-835297%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20pleased%20to%20share%20that%20Azure%20Active%20Directory%20(AD)%20managed%20Role-based%20access%20control%20for%20Azure%20Event%20Hubs%20is%20now%20generally%20available.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EEnterprises%20can%20now%20grant%20fine%20grained%20control%20over%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CEM%3Emanagement%20and%20data%3C%2FEM%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eendpoints%20for%20Azure%20Event%20Hubs%20to%20any%20security%20principal%20%E2%80%93%20specific%20users%2C%20applications%20or%20service%20identities%20from%20their%20Azure%20AD%20tenant%20using%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fevent-hubs%2Fauthorize-access-azure-active-directory%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Active%20Directory%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EEvent%20Hubs%20offers%20shared%20access%20signatures%20and%20Azure%20Active%20Directory%20integration%20(to%20provide%20role%20based%20access%20control)%20for%20fine-grained%20control%20over%20a%20client%E2%80%99s%20access%20to%20resources.%20By%20default%2C%20all%20Event%20Hubs%20resources%20are%20secured%2C%20and%20are%20available%20only%20to%20the%20account%20owner.%20You%20can%20use%20either%20shared%20access%20signatures%20or%20Azure%20Active%20Directory%20integration%20as%20your%20authorization%20strategy%20to%20grant%20clients%20access%20to%20Event%20Hubs%20resources.%20Microsoft%20recommends%20using%20Azure%20AD%20when%20possible%20for%20maximum%20security%20and%20ease%20of%20use.%3C%2FP%3E%0A%3CP%3EWhen%20a%20security%20principal%20attempts%20to%20access%20an%20Event%20Hubs%20resource%2C%20the%20access%20must%20be%20authorized.%20With%20Azure%20Active%20Directory%20(Azure%20AD)%2C%20access%20to%20a%20resource%20is%20a%20two-step%20process.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EThe%20client%20application%20authenticates%20to%20the%20Azure%20AD%20token%20issuance%20endpoint%20and%20requests%20an%20access%20token.%3C%2FLI%3E%0A%3CLI%3EThe%20Azure%20AD%20token%20issuance%20endpoint%20issues%20the%20access%20token.%3C%2FLI%3E%0A%3CLI%3ENext%2C%20the%20token%20is%20passed%20as%20a%20part%20of%20the%20request%20to%20Event%20Hubs%20service%20to%20authorize%20access%20to%20the%20specified%20resource%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EThus%20with%20Azure%20AD%20to%20authenticate%20users%20and%20services%2C%20enterprises%20can%20leverage%20all%20capabilities%20that%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20AD%20provides%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ealong%20with%20the%20two-factor%20authentication%2C%20identity%20protection%2C%20conditional%20access%20and%20more.%20Enterprises%20can%20also%20use%20Azure%20AD%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fprivileged-identity-management%2Fpim-configure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EPrivileged%20Identity%20Management%20(PIM)%3C%2FA%3E%26nbsp%3Bto%20assign%20%E2%80%9Cjust-in-time%E2%80%9D%20roles%20to%20reduce%20the%20security%20risk%20of%20standing%20administrative%20access.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fmanaged-identities-azure-resources%2Foverview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EManaged%20Identities%20for%20Azure%20resources%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ealso%20help%20customers%20applications%20to%20securely%20access%20Event%20Hubs%20resources%20without%20having%20to%20manage%20application%20secrets.%3C%2FP%3E%0A%3CP%3EAzure%20Event%20Hubs%20defines%20a%20set%20of%20built-in%20roles%20that%20encompass%20common%20set%20of%20permissions%20used%20to%20access%20event%20hub%20data%20and%20you%20can%20also%20define%20custom%20roles%20for%20accessing%20the%20data.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EImportant%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EOur%20preview%20supported%20adding%20Event%20Hubs%20data%20access%20privileges%20to%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EOwner%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eor%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EContributor%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Erole.%20However%2C%20data%20access%20privileges%20for%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EOwner%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eand%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EContributor%3C%2FSTRONG%3Erole%20are%20no%20longer%20honored.%20If%20you%20are%20using%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EOwner%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eor%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EContributor%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Erole%2C%20switch%20to%20using%20the%20Azure%20Event%20Hubs%20Data%20Owner%20role.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAzure%20provides%20the%20following%20built-in%20RBAC%20roles%20for%20authorizing%20access%20to%20Event%20Hubs%20data%20using%20Azure%20AD%20and%20OAuth%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Frole-based-access-control%2Fbuilt-in-roles%23azure-event-hubs-data-owner%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Event%20Hubs%20Data%20owner%3C%2FA%3E%3A%20Use%20this%20role%20to%20give%20complete%20access%20to%20Event%20Hubs%20resources.%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Frole-based-access-control%2Fbuilt-in-roles%23azure-event-hubs-data-sender%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Event%20Hubs%20Data%20sender%3C%2FA%3E%3A%20Use%20this%20role%20to%20give%20the%20send%20access%20to%20Event%20Hubs%20resources.%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Frole-based-access-control%2Fbuilt-in-roles%23azure-event-hubs-data-receiver%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Event%20Hubs%20Data%20receiver%3C%2FA%3E%3A%20Use%20this%20role%20to%20give%20the%20consuming%2Freceiving%20access%20to%20Event%20Hubs%20resources.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20following%20list%20describes%20the%20levels%20at%20which%20you%20can%20scope%20access%20to%20Event%20Hubs%20resources%2C%20starting%20with%20the%20narrowest%20scope%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EConsumer%20group%3C%2FSTRONG%3E%3A%20At%20this%20scope%2C%20role%20assignment%20applies%20only%20to%20this%20entity.%20Currently%2C%20the%20Azure%20portal%20doesn't%20support%20assigning%20an%20RBAC%20role%20to%20a%20security%20principal%20at%20this%20level.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EEvent%20hub%3C%2FSTRONG%3E%3A%20Role%20assignment%20applies%20to%20the%20Event%20Hub%20entity%20and%20the%20consumer%20group%20under%20it.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ENamespace%3C%2FSTRONG%3E%3A%20Role%20assignment%20spans%20the%20entire%20topology%20of%20Event%20Hubs%20under%20the%20namespace%20and%20to%20the%20consumer%20group%20associated%20with%20it.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EResource%20group%3C%2FSTRONG%3E%3A%20Role%20assignment%20applies%20to%20all%20the%20Event%20Hubs%20resources%20under%20the%20resource%20group.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ESubscription%3C%2FSTRONG%3E%3A%20Role%20assignment%20applies%20to%20all%20the%20Event%20Hubs%20resources%20in%20all%20of%20the%20resource%20groups%20in%20the%20subscription.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EThese%20role%20assignments%20can%20be%20made%20through%20the%20Azure%20portal%20or%20through%20tools%20like%20Azure%20PowerShell%2C%20Azure%20CLI%2C%20or%20Azure%20Resource%20Manager%20templates.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMicrosoft%20Azure%20provides%20integrated%20access%20control%20management%20for%20resources%20and%20applications%20based%20on%20Azure%20Active%20Directory%20(Azure%20AD).%20Azure%20Event%20Hubs%20now%20completely%20supports%20authorizing%20to%20Event%20Hubs%20resources%20using%20Azure%20Active%20Directory.%20Microsoft%20recommends%20using%20Azure%20AD%20with%20your%20Event%20Hubs%20applications%20when%20possible.%3C%2FP%3E%0A%3CP%3EDevelopers%20are%20encouraged%20to%20evaluate%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fmanaged-identities-azure-resources%2Foverview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EManaged%20Identities%20for%20Azure%20resources%3C%2FA%3E%26nbsp%3Bto%20authenticate%20applications%20in%20Azure%20or%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fdevelop%2Fhowto-create-service-principal-portal%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20AD%20service%20principals%3C%2FA%3E%26nbsp%3Bfor%20apps%20running%20outside%20Azure.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENote%3A%20Today%20Event%20Hubs%20integration%20with%20Azure%20Active%20Directory%20to%20provide%20role-based%20access%20control%20is%20scoped%20only%20to%20Event%20Hubs.%20In%20the%20near%20future%20we%20will%20extend%20this%20support%20to%20Event%20Hubs%20for%20Kafka.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EHave%20questions%3F%20Email%20us%20at%20askeventubs%40microsoft.com%3C%2FLI%3E%0A%3CLI%3ELearn%20more%20about%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fevent-hubs%2Fauthorize-access-azure-active-directory%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSTRONG%3EAuthorize%20access%20to%20Azure%20Event%20Hubs%20resource%20using%20Azure%20Active%20Directory%3C%2FSTRONG%3E%3C%2FA%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3EHave%20comments%3F%20We%20would%20love%20to%20hear%20from%20you%2C%20please%20leave%20your%20comments%20below.%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-835297%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20pleased%20to%20share%20that%20Azure%20Active%20Directory%20(AD)%20managed%20Role-based%20access%20control%20for%20Azure%20Event%20Hubs%20is%20now%20generally%20available.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EEnterprises%20can%20now%20grant%20fine%20grained%20control%20over%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CEM%3Emanagement%20and%20data%3C%2FEM%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eendpoints%20for%20Azure%20Event%20Hubs%20to%20any%20security%20principal%20%E2%80%93%20specific%20users%2C%20applications%20or%20service%20identities%20from%20their%20Azure%20AD%20tenant%20using%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fevent-hubs%2Fauthorize-access-azure-active-directory%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Active%20Directory%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EEvent%20Hubs%20offers%20shared%20access%20signatures%20and%20Azure%20Active%20Directory%20integration%20(to%20provide%20role%20based%20access%20control)%20for%20fine-grained%20control%20over%20a%20client%E2%80%99s%20access%20to%20resources.%20By%20default%2C%20all%20Event%20Hubs%20resources%20are%20secured%2C%20and%20are%20available%20only%20to%20the%20account%20owner.%20You%20can%20use%20either%20shared%20access%20signatures%20or%20Azure%20Active%20Directory%20integration%20as%20your%20authorization%20strategy%20to%20grant%20clients%20access%20to%20Event%20Hubs%20resources.%20Microsoft%20recommends%20using%20Azure%20AD%20when%20possible%20for%20maximum%20security%20and%20ease%20of%20use.%3C%2FP%3E%0A%3CP%3EWhen%20a%20security%20principal%20attempts%20to%20access%20an%20Event%20Hubs%20resource%2C%20the%20access%20must%20be%20authorized.%20With%20Azure%20Active%20Directory%20(Azure%20AD)%2C%20access%20to%20a%20resource%20is%20a%20two-step%20process.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EThe%20client%20application%20authenticates%20to%20the%20Azure%20AD%20token%20issuance%20endpoint%20and%20requests%20an%20access%20token.%3C%2FLI%3E%0A%3CLI%3EThe%20Azure%20AD%20token%20issuance%20endpoint%20issues%20the%20access%20token.%3C%2FLI%3E%0A%3CLI%3ENext%2C%20the%20token%20is%20passed%20as%20a%20part%20of%20the%20request%20to%20Event%20Hubs%20service%20to%20authorize%20access%20to%20the%20specified%20resource%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EThus%20with%20Azure%20AD%20to%20authenticate%20users%20and%20services%2C%20enterprises%20can%20leverage%20all%20capabilities%20that%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20AD%20provides%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ealong%20with%20the%20two-factor%20authentication%2C%20identity%20protection%2C%20conditional%20access%20and%20more.%20Enterprises%20can%20also%20use%20Azure%20AD%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fprivileged-identity-management%2Fpim-configure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EPrivileged%20Identity%20Management%20(PIM)%3C%2FA%3E%26nbsp%3Bto%20assign%20%E2%80%9Cjust-in-time%E2%80%9D%20roles%20to%20reduce%20the%20security%20risk%20of%20standing%20administrative%20access.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fmanaged-identities-azure-resources%2Foverview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EManaged%20Identities%20for%20Azure%20resources%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ealso%20help%20customers%20applications%20to%20securely%20access%20Event%20Hubs%20resources%20without%20having%20to%20manage%20application%20secrets.%3C%2FP%3E%0A%3CP%3EAzure%20Event%20Hubs%20defines%20a%20set%20of%20built-in%20roles%20that%20encompass%20common%20set%20of%20permissions%20used%20to%20access%20event%20hub%20data%20and%20you%20can%20also%20define%20custom%20roles%20for%20accessing%20the%20data.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EImportant%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EOur%20preview%20supported%20adding%20Event%20Hubs%20data%20access%20privileges%20to%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EOwner%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eor%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EContributor%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Erole.%20However%2C%20data%20access%20privileges%20for%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EOwner%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eand%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EContributor%3C%2FSTRONG%3Erole%20are%20no%20longer%20honored.%20If%20you%20are%20using%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EOwner%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eor%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EContributor%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Erole%2C%20switch%20to%20using%20the%20Azure%20Event%20Hubs%20Data%20Owner%20role.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAzure%20provides%20the%20following%20built-in%20RBAC%20roles%20for%20authorizing%20access%20to%20Event%20Hubs%20data%20using%20Azure%20AD%20and%20OAuth%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Frole-based-access-control%2Fbuilt-in-roles%23azure-event-hubs-data-owner%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Event%20Hubs%20Data%20owner%3C%2FA%3E%3A%20Use%20this%20role%20to%20give%20complete%20access%20to%20Event%20Hubs%20resources.%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Frole-based-access-control%2Fbuilt-in-roles%23azure-event-hubs-data-sender%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Event%20Hubs%20Data%20sender%3C%2FA%3E%3A%20Use%20this%20role%20to%20give%20the%20send%20access%20to%20Event%20Hubs%20resources.%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Frole-based-access-control%2Fbuilt-in-roles%23azure-event-hubs-data-receiver%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Event%20Hubs%20Data%20receiver%3C%2FA%3E%3A%20Use%20this%20role%20to%20give%20the%20consuming%2Freceiving%20access%20to%20Event%20Hubs%20resources.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20following%20list%20describes%20the%20levels%20at%20which%20you%20can%20scope%20access%20to%20Event%20Hubs%20resources%2C%20starting%20with%20the%20narrowest%20scope%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EConsumer%20group%3C%2FSTRONG%3E%3A%20At%20this%20scope%2C%20role%20assignment%20applies%20only%20to%20this%20entity.%20Currently%2C%20the%20Azure%20portal%20doesn't%20support%20assigning%20an%20RBAC%20role%20to%20a%20security%20principal%20at%20this%20level.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EEvent%20hub%3C%2FSTRONG%3E%3A%20Role%20assignment%20applies%20to%20the%20Event%20Hub%20entity%20and%20the%20consumer%20group%20under%20it.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ENamespace%3C%2FSTRONG%3E%3A%20Role%20assignment%20spans%20the%20entire%20topology%20of%20Event%20Hubs%20under%20the%20namespace%20and%20to%20the%20consumer%20group%20associated%20with%20it.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EResource%20group%3C%2FSTRONG%3E%3A%20Role%20assignment%20applies%20to%20all%20the%20Event%20Hubs%20resources%20under%20the%20resource%20group.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ESubscription%3C%2FSTRONG%3E%3A%20Role%20assignment%20applies%20to%20all%20the%20Event%20Hubs%20resources%20in%20all%20of%20the%20resource%20groups%20in%20the%20subscription.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThese%20role%20assignments%20can%20be%20made%20through%20the%20Azure%20portal%20or%20through%20tools%20like%20Azure%20PowerShell%2C%20Azure%20CLI%2C%20or%20Azure%20Resource%20Manager%20templates.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CDIV%20id%3D%22lia-teaserTinyMceEditorclipboard_image_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMicrosoft%20Azure%20provides%20integrated%20access%20control%20management%20for%20resources%20and%20applications%20based%20on%20Azure%20Active%20Directory%20(Azure%20AD).%20Azure%20Event%20Hubs%20now%20completely%20supports%20authorizing%20to%20Event%20Hubs%20resources%20using%20Azure%20Active%20Directory.%20Microsoft%20recommends%20using%20Azure%20AD%20with%20your%20Event%20Hubs%20applications%20when%20possible.%3C%2FP%3E%0A%3CP%3EDevelopers%20are%20encouraged%20to%20evaluate%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fmanaged-identities-azure-resources%2Foverview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EManaged%20Identities%20for%20Azure%20resources%3C%2FA%3E%26nbsp%3Bto%20authenticate%20applications%20in%20Azure%20or%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fdevelop%2Fhowto-create-service-principal-portal%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20AD%20service%20principals%3C%2FA%3E%26nbsp%3Bfor%20apps%20running%20outside%20Azure.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENote%3A%20Today%20Event%20Hubs%20integration%20with%20Azure%20Active%20Directory%20to%20provide%20role-based%20access%20control%20is%20scoped%20only%20to%20Event%20Hubs.%20In%20the%20near%20future%20we%20will%20extend%20this%20support%20to%20Event%20Hubs%20for%20Kafka.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EHave%20questions%3F%20Email%20us%20at%20askeventubs%40microsoft.com%3C%2FLI%3E%0A%3CLI%3ELearn%20more%20about%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fevent-hubs%2Fauthorize-access-azure-active-directory%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSTRONG%3EAuthorize%20access%20to%20Azure%20Event%20Hubs%20resource%20using%20Azure%20Active%20Directory%3C%2FSTRONG%3E%3C%2FA%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3EHave%20comments%3F%20We%20would%20love%20to%20hear%20from%20you%2C%20please%20leave%20your%20comments%20below.%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-TEASER%3E

We are pleased to share that Azure Active Directory (AD) managed Role-based access control for Azure Event Hubs is now generally available.

 

Enterprises can now grant fine grained control over management and data endpoints for Azure Event Hubs to any security principal – specific users, applications or service identities from their Azure AD tenant using Azure Active Directory.

 

Event Hubs offers shared access signatures and Azure Active Directory integration (to provide role based access control) for fine-grained control over a client’s access to resources. By default, all Event Hubs resources are secured, and are available only to the account owner. You can use either shared access signatures or Azure Active Directory integration as your authorization strategy to grant clients access to Event Hubs resources. Microsoft recommends using Azure AD when possible for maximum security and ease of use.

When a security principal attempts to access an Event Hubs resource, the access must be authorized. With Azure Active Directory (Azure AD), access to a resource is a two-step process.

  • The client application authenticates to the Azure AD token issuance endpoint and requests an access token.
  • The Azure AD token issuance endpoint issues the access token.
  • Next, the token is passed as a part of the request to Event Hubs service to authorize access to the specified resource

Thus with Azure AD to authenticate users and services, enterprises can leverage all capabilities that Azure AD provides along with the two-factor authentication, identity protection, conditional access and more. Enterprises can also use Azure AD Privileged Identity Management (PIM) to assign “just-in-time” roles to reduce the security risk of standing administrative access.

Managed Identities for Azure resources also help customers applications to securely access Event Hubs resources without having to manage application secrets.

Azure Event Hubs defines a set of built-in roles that encompass common set of permissions used to access event hub data and you can also define custom roles for accessing the data.

 

 

Important

Our preview supported adding Event Hubs data access privileges to Owner or Contributor role. However, data access privileges for Owner and Contributorrole are no longer honored. If you are using the Owner or Contributor role, switch to using the Azure Event Hubs Data Owner role.

 

Azure provides the following built-in RBAC roles for authorizing access to Event Hubs data using Azure AD and OAuth:

 

The following list describes the levels at which you can scope access to Event Hubs resources, starting with the narrowest scope:

  • Consumer group: At this scope, role assignment applies only to this entity. Currently, the Azure portal doesn't support assigning an RBAC role to a security principal at this level.
  • Event hub: Role assignment applies to the Event Hub entity and the consumer group under it.
  • Namespace: Role assignment spans the entire topology of Event Hubs under the namespace and to the consumer group associated with it.
  • Resource group: Role assignment applies to all the Event Hubs resources under the resource group.
  • Subscription: Role assignment applies to all the Event Hubs resources in all of the resource groups in the subscription.

These role assignments can be made through the Azure portal or through tools like Azure PowerShell, Azure CLI, or Azure Resource Manager templates.

 

Microsoft Azure provides integrated access control management for resources and applications based on Azure Active Directory (Azure AD). Azure Event Hubs now completely supports authorizing to Event Hubs resources using Azure Active Directory. Microsoft recommends using Azure AD with your Event Hubs applications when possible.

Developers are encouraged to evaluate Managed Identities for Azure resources to authenticate applications in Azure or Azure AD service principals for apps running outside Azure.

 

Note: Today Event Hubs integration with Azure Active Directory to provide role-based access control is scoped only to Event Hubs. In the near future we will extend this support to Event Hubs for Kafka.