I create an Azure IoT Hub with Powershell cmdlets, using New-AzIotHub, somewhat similar to this.
I want to use managed identity (system assigned) for my endpoints, and I can configure it properly in the Azure Portal:
Looking through the docs, I couldn't find anything, how to activate managed identity for my iot hub via Powershell? Has anyone an idea how to achieve that or where to find infos for that?
Related
Azure Automation Account using Managed Identity across Multiple subscription.
I have tried using Azure Automation but it's not working across subscription.
I tried fetching using Get Az Subscription but it's not working.
I tried searching over the documentation but not helped.
Anyone having idea to implement Azure Automation Runbook across subscription(Other than RunAs Account as it's going to be deprecated)
Runas account getting depreciated so managed identity using.
Refer link below to add multiple subscription.
https://learn.microsoft.com/en-us/answers/questions/1035007/azure-automation-account-using-managed-identity-ac.html
I have an existing Azure Kubernetes Cluster and I'm having a look at Azure Container Apps to see if it could be a good move for me.
With AKS, I'm heavily using Managed Identity for management tasks and also using pod-identity to allow applications to connect to other azure resources without storing credentials.
I tried to find some related documentation for Azure Conter Apps but didn't find anything ? Is it something that is not documented, not supported at the moment ?
Since Container Apps went GA, it is now available: Managed identities in Azure Container Apps.
both system-assigned and user-assigned are available.
I have attempted to connect a service principle through azure devops using powershell scripts to deploy apis and manage updates on Azure APIM (Consumption SKU) and I get authorization failures. I have checked the service principle and the permissions associated with the resource group for the apim and everything appears to be correct. I am able to do this using the Developer SKU of the Azure APIM without issue but I am wondering if this is a limitation of the Consumption SKU
Use powershell to connect service principle is related to Azure AD authentication. But you can refer to this tutorial, it shows us APIM in Consumption SKU doesn't support Azure AD integration.
Found the issue was a malformed resource group name in the url posted. Resolved that and the Azure DevOps integration worked as expected.
I need to create Azure Service Connection, I can create the same using UI in Azure DevOps portal. But I need to know if I can create the same using some Az command or ARM Template or any Powershell script ?
Did you take a look at https://learn.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints/create?view=azure-devops-rest-6.0 ?
Here, You can manage Azure services using Azure REST API.
You can create service endpoint via REST API or Azure DevOps CLI.
REST API:
POST https://dev.azure.com/{organization}/{project}/_apis/serviceendpoint/endpoints?api-version=5.1-preview.2
Azure DevOps CLI:
az devops service-endpoint create
I am developing some Provider Hosted add-ins for my SharePoint online tenant, and the Provider Hosted add-ins contain WCFs to implement Remote Event Receivers. Now I know that inside Azure subscription account, i can create a new Service Bus, to use it inside my visual studio projects, for debugging and testing my remote event receivers and workflows. For example inside my Azure web portal i have created this service bus:-
then inside the visual studio's Provider Hosted add-ins Project i entered the service bus information, as follow:-
This allowed me to debug and test my Remote Event Receivers code (actually i did not find any other way to debug my Remote Event Receivers, rather than specifying an Azure Service Bus). now my question is, if we chose to have an Azure Virtual Machine, instated of Azure subscription. will we still be able to create an Azure service bus or similar functionality inside IIS? or this option is only provided as part of Azure subscription account?
If the answer, is No (i can not create a service bus inside Azure VM), then is there a way i can debug and test my Remote Event Receivers code, without using Azure service BUS?
Thanks
Azure Service Bus is a hostess on azure service. You can't "create" or "emulate" it on premises or VM.
if we chose to have an Azure Virtual Machine, instated of Azure subscription. will we still be able to create an Azure service bus inside IIS? or this option is only provided as part of Azure subscription?
Through Azure subscription you get access to services and they're resources. Such as VMs and Azure Service Bus. To use a VM you don't have to use Azure subscription as you could soon one on your machine if you'd like. But you can't run your own Service Bus. IIS or not. For that you'll need to have an acute subscription and create a namespace under Service Bus.
If the answer, is No (i can not create a service bus inside Azure VM), then is there a way i can debug and test my Remote Event Receiver, without using Azure service BUS??
As mentioned above, you could use a namespace for testing purposes from a VM as long as that VM has access to the internet.