Using EWS Managed Api2.0 How to Get Mailbox Quota ?

Hi,

I am using Exchange server 2013.
API to get the information from the MailBox quato this?

Another question
API has problems using the eDiscovery.

This error message is returned.
"The caller has not assigned any of the RBAC roles requested in the management role header."

Do not know how to solve this problem.
Please help me.


September 13th, 2013 5:27am

No EWS doesn't provide access to the Mailbox Quotas you need to use either LDAP and access Active Directory directly or use Remote powershell to get that information for the user. You can use MailTip is EWS to see if a Mailbox is full.

To use EDiscovery you need to be given the Discovery Management RBAC role

Cheers
Glen 

Free Windows Admin Tool Kit Click here and download it now
September 13th, 2013 9:11am

thank Glen.

Discovery Management RBAC role using the power shell? Or Exchange Ecp use?

Which one do I use?


September 13th, 2013 11:32am

I'd suggest you use the EAC http://technet.microsoft.com/en-us/library/jj150562(v=exchg.150).aspx its pretty easy point and click. Just remember it can take up to 15 minutes for the permission to apply.

cheers
Glen

Free Windows Admin Tool Kit Click here and download it now
September 13th, 2013 2:18pm

Thank you Glen.

Is another question

 1. Search in OWA using another method? Or use th

September 15th, 2013 9:17pm

1 . Sorry I don't understand your question can you elaborated a little on what you actually asking ?

2. The EWS Managed API doesn't surface the Get Attachment operation directly (it does get used when you call Load on an Attachment). So if you want to use it you either need to use WSDL proxy code or Raw soap eg

            ExchangeServiceBinding esb = new ExchangeServiceBinding();
            esb.Credentials = new NetworkCredential("user@domain.com", "password");
            esb.Url = service.Url.ToString();
            esb.RequestServerVersionValue = new RequestServerVersion();
            esb.RequestServerVersionValue.Version = ExchangeVersionType.Exchange2012;

            GetAttachmentType gaType = new GetAttachmentType();
            gaType.AttachmentIds = new RequestAttachmentIdType[1];
            gaType.AttachmentIds[0] = new RequestAttachmentIdType();
            gaType.AttachmentIds[0].Id = "AZ+E=............";
            GetAttachmentResponseType gaResponse = esb.GetAttachment(gaType);
            if (gaResponse.ResponseMessages.Items[0].ResponseClass == ResponseClassType.Success) { 
Cheers
Glen
Free Windows Admin Tool Kit Click here and download it now
September 15th, 2013 11:28pm

thank Glen :)

1. The question was wrong......sorry

2. Inline Attachments How do I get a case?

I generate a URL by InlineImageUrlTemplate used, but image is not displayed.

It came out to OWA login page After you connect to the URL.

After it was sign, image came out.

I want to know whether it is possible to OWA authentication of asp.net.



September 16th, 2013 2:07am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics