MS Graph API Evaluation mode capacity has been exceeded

Brass Contributor

Hello I have a registered app with protectedAPIs permissions granted, I am trying to fetch all the chat and channel messages from our company tenant but I am taking the following message as response

 

{'error': {'code': 'PaymentRequired', 'message': 'Evaluation mode capacity has been exceeded. Use a valid billing model. Visit https://docs.microsoft.com/en-us/graph/teams-licenses for more details.',

 

 

I searched the Azure AD and Azure Dashboard to change the billing model of our registered app but I can not find where I can pay in order to have more requests

16 Replies
@christosjubile- We are looking into this I will get back to you soon.
Do you want more details from me? my account username ? the app id?
FYI I have a support request with ID: 2203200050000288

@christosjubile -

  1. Please follow this document for billing/payment: https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/create-subscription
  2. Evaluation model should only be used for testing the API. You cannot use evaluation mode once you reach the evaluation quota for that month. You will need to choose from either Model A or Model B. Model A is license based model and Model B is consumption based model. The requirements for the different models are specified in this document: https://docs.microsoft.com/en-us/graph/teams-licenses
Thank you for your help I have created a subscription but when I am trying to buy/try one of the prerequisites of model A i.e Microsoft 365 E5/A5 your service it does not allowing me to login because i have to be on a company account!

@christosjubile - We are checking it internally and let you know once we get any updates.

FYI my personal account is under the email Email address removed

@christosjubile -Could you please elaborate the above point?
Yes the registered app I am referring to is one I have registered with my personal account (gmail) and NOT from my company account which the representative of the account I am writing you this post if you want I can write you the app id to check it out because this forum is rejecting to write any mails
@christosjubile - We are discussing it internally and let you know once we get any updates.
Hello Guys, I manage to register another app with my company account I have activated a pay-as-you-go subscription but after a short number of messages I fetch I was again witnessed the same problem, can you tell me how can I navigate to azure account to activate model-A or model-B?
@christosjubile - Sorry for the delay, We are checking it with the internal team and let you know once we get any update.
@christosjubile- We got the information through internal team. You needs to be Global or Billing admin to be able to purchase licenses. More details here --> https://docs.microsoft.com/en-us/microsoft-365/commerce/licenses/buy-licenses?view=o365-worldwide
Yes a colleague of yours from Azure Support helped me solved the problem, I had to add "?model=B" to the API call parameters! thank you very much!

Hi  @Sayali-MSFT - how can we choose a model or change a model for registered application? Can you point me to the right direction? Thanks.

@Andrius Valatavicius - Model A is license based model and Model B is consumption based model. The requirements for the different models are specified in this document: https://docs.microsoft.com/en-us/graph/teams-licenses