Close Azure Security Center Alerts via Script/API - azure

Is there a way to close a Azure Security Center Alert via a programmatic method such as PowerShell, Cli, C#, Python... or via API?
will really appreciate your assistance.
Searched online as well stack overflow, couldn't find an answer

As far as I know, the security alert is generated according to the security policy. So if you want to close one of the alert, you need to disable the corresponding policy.
You can disable it by rest api, please refer to this tutorial: https://learn.microsoft.com/en-us/azure/security-center/tutorial-security-policy#configure-a-security-policy-using-the-rest-api
And below is the policy name for your reference:

Related

Azure b2c Custom email verification doesn't work

I have several days trying to customize the email verification of my project but it's been impossible to change anything.
I followed many times:
https://learn.microsoft.com/en-us/azure/active-directory-b2c/custom-policy-get-started
https://learn.microsoft.com/en-us/azure/active-directory-b2c/custom-email-sendgrid
https://learn.microsoft.com/en-us/azure/active-directory-b2c/custom-email-mailjet
I uploaded the new custom policies B2C_1A_TrustFrameworkBase and B2C_1A_TrustFrameworkExtensions with all the changes described in the manual, but I still don't know why I can't even generate an application error and the default Microsoft email verification keeps working normally, is there any way to track what I might be missing?
You can refer to the troubleshoot documentation about turning the B2C engine into developer mode and tracking the B2C engine itself.
There is a separate documentation and technical profiles explaining how to use application insights to track user behavior during user journeys. You can discover more about this here: https://learn.microsoft.com/en-us/azure/active-directory-b2c/analytics-with-application-insights

Unable to add permissions to App on Azure Portal

I have created an app on Azure Portal to access some information via Microsoft Graph API but I am not able to add any permissions to it. It was working earlier but not any more. I also tried to register a new app, the app gets register but yet again the permissions could not be added.
As soon as I press the button to add the selected permissions these two popup notifications come up ..
1. Your session will end in a few minutes. You will have to refresh your browser to start a new session.
2. The portal is having issues getting an authentication token. The experience rendered may be degraded.
Additional information from the call to get a token:
Extension: Microsoft_AAD_RegisteredApps
This is happening since last 3 days now. I also searched on Google and found that people had similar issues earlier as well. Though I have raised a ticket on the portal for this but haven't received any reply yet.
Any help here would be very much appreciated. Also is there any way to check any logs on the portal itself. I did try to check the network logs via browser developer tools but they aren't much help.
It seems to be an issue with the Azure Portal for your region.
As #Hury Shen suggested, you should contact Azure Support for further investigation.
See how to open a support ticket on Azure portal.
Seems like there was an issue with my account address. I changed the address to one of US and it worked for me.
#Allen Wu Thanks for the suggestions. I had already asked them about it but no one replied.

Azure Full Screen URL Dashboard

I'd like to put some Azure portal dashboards into Rotisserie which works, but I'd like to get the URL to full screen the Azure dashboards by default.
If you log into the Azure management portal at portal.azure.com, click Dashboard, and then click the Full Screen button you'll see a nice full screen dashboard. I have a few of these to rotate through and while I can use the direct URL to do so, it is not in full screen mode. I'm hoping there's a URL for direct access to the full screen mode for these dashboards.
I haven't been able to find any magic URL yet, and I'm hoping its something simple like adding ?kiosk=true or ?chromeless=1 to the end of the URL for the dashboard.
Thanks for your help!
There is an existing feature request for this functionality. If you think this would be useful please take the time to vote on it:
Fullscreen query string Option: https://feedback.azure.com/forums/223579-azure-portal/suggestions/31757251-fullscreen-query-string-option
This is Adam Abdelhamed from the Azure portal team. We don't currently support this. It's a good idea though.
found 2 solutions:
for a dashboard, just add '/embed' at the end
for queries, just use '?fullScreen=true'
regards

Azure Login on my Website

Hey Guys i just quickly wanted to double check – as far as i know there is no way to implement the Microsoft Azure Login into an existing Website / Style – is this correct or is there any kind of work-around?
It really is annoying that customers need to "jump of" our page to azure to login in.
You can choose e.g. the background image. But, of course you can do the authentication back-end yourself, using the Microsoft Authentication libraries. See here for more info: https://learn.microsoft.com/en-us/azure/active-directory/develop/active-directory-authentication-scenarios

Create B2C Policies via Graph API?

Can I create/update/delete policies via the graph api?
I've reviewed this sample and I don't see anything about policies.
No not yet, but we recently just started working on this capability. If you are interested in helping us test this functionality when it eventually becomes available in preview, please send mail describing your scenario to AADB2CPreview#microsoft.com. (we might have a private preview that we would need to enable on your test tenant specifically, or we might go straight to public preview)

Resources