We have a mail-enabled public folder called Accounting which has an auto-generated e-mail address Accounting@havit.onmicrosoft.com. We use this folder to archive all the accounting-related communication (e.g. by Bcc/Cc-ing all e-mails to Accounting@havit.onmicrosoft.com).
Few days ago we started using Microsoft Teams where we created a new team called Accounting.
Now whenever we try to send anything to Accounting@havit.onmicrosoft.com we get an error:
Remote Server returned ‘532 5.3.2 STOREDRV.Deliver; Missing or bad mailbox Database property’
We renamed the Microsoft Teams team to something else (Accounting, Administration) and the issued disappeared immediately.
…there has to be some weird bug in Office365/Exchange which breaks the message routing when there is a team and public folder name collision.
There might be a situation where
- you have an existing Azure Subscription associated with your Microsoft Account,
- you want to manage the subscription using your Organizational Account(s) (Azure AD),
- you don’t want to or cannot transfer the ownership of the subscription to the Organizational Account – e.g. it is a sponsored subscription where the sponsorship is related to a specific Microsoft Account (Microsoft Partner Network, MSDN Subscription, MVP Sponsorship, etc.).
The trick here is to change the directory of the subscription to your Azure AD directory. Changing the subscription directory is a service-level operation. It doesn’t affect your subscription billing ownership, and the Account Admin still remains the original Microsoft Account.
There are only a few simple steps to follow:
1. Invite the Microsoft Account to your Azure AD as a guest user
To be able to change the directory, your Microsoft Account owning the subscription must exist in the target Azure AD. To associate the MSA with the AAD:
- Login to Azure Portal as the Azure AD administrator of the target AAD.
- Open the Azure Active Directory blade.
- Go to the Users section.
- Click the + New guest user button at the top of the blade.
- Invite your Microsoft Account to the Azure Active Directory.
2. Accept the invitation of your Microsoft Account to AAD
Now you have to accept the invitation…
- You will receive an invitation e-mail to the mailbox associated with your Microsoft Account.
- Do not click the Accept Invitation button from your e-mail client as it usually opens the web page in your browser where you are logged in using your Organizational Account and the invitation acceptance will fail.
- Instead, copy the target URL of the button and open it in a New incognito window (or In-private window or whatever it is called in your browser). (Alternatively you can sign out from your Organizational Account.)
- Login using your Microsoft Account when asked for the credentials.
- After accepting the invitation you will probably end up at the Applications page of the AAD (often empty), which might be a little confusing, but the association is done. You can close this browser window.
3. Change the directory of the subscription
Now you can change the directory of the subscription:
- Sign in to Azure Portal using your Microsoft Account.
- Navigate to your subscription and open the Subscriptions blade (you can type “subscription” in the search box).
- Click the Change directory button in the top-row of the blade.
- In the Change the directory panel you should have an option to select your Azure AD as a target directory for your subscription.
- Confirm the change (Change button below).
Now you have to wait up to 10 minutes for the change to take effect.
4. Add permissions to your Organizational Account
To be able to manage the subscription by your Organizational Account, you have to add permissions to it (still signed in with the original Microsoft Account).
- In the Subscription blade switch to the Access control (AIM) section.
- Add your Organizational Account with an Owner role to the subscription level.
- Right-click the Organizational Account added and click Add as co-administrator in the context menu. (An optional step for legacy scenarios where the co-administrator privilege is still needed).
- Sign-out from your Microsoft Account and sign up using your Organizational Account to verify you are able to manage your subscription from there.
My iTunes (currently 188.8.131.52) consumes ~25-30% CPU whenever I listen to any music.
The only trick I found to resolve this is to switch it to the “Miniplayer mode”, e.g. using
Ctrl+Shift+M keyboard shortcut (use the same shortcut to switch back).
It has to be a weird glitch in iTunes, but the CPU usage almost immediately drops to 1-2% CPU.
Recording from the fourth lesson (13/Mar 2018) of Cloud Applications Development course (NSWI152) for MMF UK (LS 2017/2018). It is published on our HAVIT YouTube Channel.
- Azure Storage Account
- Azure Storage – Blobs
- Azure Storage – Queues
You can find the labs instructions on GitHub (LAB4 + LAB5).
Currently the only way is to use the forgot password feature on the SendGrid login page. The reset-password link is delivered to the mailbox associated with your SendGrid account (be sure to set this e-mail in advance).
SendGrid is currently one of the few possibilities you have in Azure to send e-mails from your application. If you create your SendGrid account from Azure you can start with a free plan with 25 000 free e-mails per month.
For SendGrid accounts created in Azure there used to be an option for Changing/Resetting your password:
…which is unfortunately not available any more.
Azure Support’s reply to my question:
Passwords and other secrets associated with Windows Azure Store are managed exclusively by the provider (like Sendgrid). Please request the reset/change of the password directly with SendGrid. Support contact information is almost always found on the provider’s web site main page.
Unfortunately, if you log-in to your SendGrid account created from Azure, the option to “edit” username/password is disabled (they do not have a separate UI for changing the password and they don’t want to allow you to change the username which associates the account with Azure):
Currently the only way to change your password for your SendGrid account created from Azure is to use the “forgot password” feature from SendGrid login page:
Please note that you’ll need to enter the account username (not email address) for this form to work.
The reset-password link is delivered to the mailbox associated with your SendGrid account (be sure to set this e-mail in advance in Account Details).
This method usually outputs
Can you imagine a situation where it outputs
static bool Test(out int x, out int y)
x = 123;
y = 45;
return (x == y);
You can find the solution in .NET Fiddle.
Recording from the second lesson (27/Feb 2018) of Cloud Applications Development course (NSWI152) for MMF UK (LS 2017/2018). It is publish on our HAVIT YouTube Channel.
- Azure App Service
- Creating simple Web Site
- Deployment from Visual Studio
- Deployment from GitHub
- Web Jobs – Creating & Deployment
- Azure SQL database – Creating & Accessing from Visual Studio 2017
- Azure SendGrid mail service
You can find the labs instructions on GitHub (LAB1 + LAB2).