developer
270 TopicsFollow-up: Microsoft Word - Getting rid of unused fields in equations (small dotted squares)
Dear All, This is a follow-up from post https://techcommunity.microsoft.com/t5/microsoft-365/microsoft-word-getting-rid-of-unused-fields-in-equations-small/m-p/4269588#M54220 (which I believe is not seen anymore since a first solution was proposed)) Apparently due to an Apr 2024 bug in Word, "placeholder" boxes in Word equations are displaying when printed or converted to PDF when they did not used to. I'm trying to get a working macro to detect such empty fields and delete them (or at least, populate them with an empty space " " so that the small dotted squares don't show anymore). I'm trying to have a working macro, unfortunately without success yet. Equations are indeed detected, if I display them I see their fields (all in 1 MsgBox). Now, the eq itself will not be "empty", some of of the eq fields might be. I cannot find a way to go through each field of each equation, and then delete (or assign " ") to each empty field. Your opinion and help on this would be most welcome! Thank you! Sub SearchEmptyFields() Dim eq As OMath 'Trying to define a range to go through eq fields Dim r As Range For Each eq In ActiveDocument.OMaths 'This displays all fields of the current eq MsgBox ("Found: " & eq.Range.Text) 'Trying to get through each field of the current eq... without success 'For Each r In eq.Rang."element???" ' MsgBox ("Range: " & eq.Range.element.Text) ' Do a "delete" or put field value to " " 'Next r Exit Sub Next eq54Views0likes0CommentsMicrosoft 365 Developer Program - Subscription Issue
I deleted my profile more than 60 days ago. Today, when I tried to create a new developer subscription, it turned out that the old one is still in the system even though it should have been deleted. I want to remove the old one and create a new one.447Views0likes4CommentsAccessing Microsoft 365 E5 Sandbox in the Developer Program (Constco)
Hello Microsoft Tech Community, I'm encountering difficulties accessing the E5 sandbox in the Microsoft 365 Developer Program using my personal account. Although I've successfully accessed Azure Free Tier and other free services which have expired (not sure if related but included relevant information?), I can't seem to activate or access the E5 sandbox that I've seen other developers use to access theConstco Tenant. Steps I've Taken: Completed the initial setup for the Developer Program. Searched for specific guidance on accessing the E5 sandbox with a personal account in official documentation, community posts, and YouTube. Tried signing up with different Microsoft accounts, each with a separate phone number, but faced the same access issues. Questions: What are the exact steps needed to access the E5 sandbox in the Developer Program? Are there any specific requirements or limitations for personal accounts that might affect access? Whom can I contact within Microsoft for direct assistance with this issue? I appreciate any advice or resources you can provide to help clarify these issues. Thank you in advance for your support! Edit: Apparently this information is probably why I cannot gain access:https://devblogs.microsoft.com/microsoft365dev/stay-ahead-of-the-game-with-the-latest-updates-to-the-microsoft-365-developer-program/ I am wondering if anyone else has had this issue or was able to successfully gain access. Thanks!296Views0likes1CommentCustom Forms do not sync in Outlook with O365
Hello, In my company, we use the Developer Tool to create custom forms for Contacts and Tasks, which generate new pages in the contact items within Outlook. We use these custom fields to keep our contacts updated, filter them, and perform various other tasks. These items are saved in Outlook as IPM.Contact.[custom_name] in the "Custom Forms Library" folder. The issue we're encountering is that, although our contacts are stored in our contact list, when they call us through Teams, the contacts do not synchronize, so we are unable to identify the caller. Additionally, when we use Outlook Web, we cannot see any contacts that were not created using the default Contact or Task items in Outlook. Any items created with the Developer Tool do not synchronize. We suspect that the problem might be related to one of the Exchange connectors, which could be configured to only synchronize contacts that use the default M365 form. However, we are unsure how to modify this setting. Thank you!190Views0likes0CommentsData Retention information for Microsoft O365 Message Trace
The REST API I am currently using for O365 Message Trace for my integration is:https://reports.office365.com/ecp/reportingwebservice/reporting.svc/MessageTrace[?ODATAoptions] While exploring the API, I found that the API is returning the data from past 10days to the max. Exceeding this, it is giving me server error with 500 response code. Is there is any possible way to obtain the data more than this range, as mentioned that the data retention is 30 days according to:https://learn.microsoft.com/en-us/previous-versions/office/developer/o365-enterprise-developers/jj984335(v=office.15)#data-granularity-persistence-and-availability353Views0likes1CommentSystem.InvalidCastException: The COM object of the type “Outlook.ApplicationClass” cannot be convert
Hello everyone, We have an Outlook addon that communicates with our application. Our application used to be 32 bit. However, we changed it to 64 bit. We use the Microsoft.Office.Interop.Outlook DLL to create emails, appointments and so on. Recently we have been having problems with creating objects and unfortunately we do not know what exactly the problem is. We always get an exception like this: System.InvalidCastException: Das COM-Objekt des Typs "Outlook.ApplicationClass" kann nicht in den Schnittstellentyp "Outlook._Application" umgewandelt werden. Dieser Vorgang konnte nicht durchgeführt werden, da der QueryInterface-Aufruf an die COM-Komponente für die Schnittstelle mit der IID "{00063001-0000-0000-C000-000000000046}" aufgrund des folgenden Fehlers nicht durchgeführt werden konnte: Element nicht gefunden. (Ausnahme von HRESULT: 0x8002802B (TYPE_E_ELEMENTNOTFOUND)). bei System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease) bei Outlook.ApplicationClass.GetNamespace(String Type) or System.InvalidCastException: Das COM-Objekt des Typs "Microsoft.Office.Interop.Outlook.ApplicationClass" kann nicht in den Schnittstellentyp "Microsoft.Office.Interop.Outlook._Application" umgewandelt werden. Dieser Vorgang konnte nicht durchgeführt werden, da der QueryInterface-Aufruf an die COM-Komponente für die Schnittstelle mit der IID "{00063001-0000-0000-C000-000000000046}" aufgrund des folgenden Fehlers nicht durchgeführt werden konnte: Fehler beim Laden der Typbibliothek/DLL. (Ausnahme von HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)). bei System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease) bei Microsoft.Office.Interop.Outlook.ApplicationClass.get_Session() The only solutions we found online were to repair Office, which we and our customers did. Unfortunately, it only works for a few days or weeks and then the problem reappears. We tried to reproduce the problem with a powershell script and we could. This is the script: $Outlook = New-Object -ComObject Outlook.Application $Mail = $Outlook.CreateItem(0) # 0 steht für MailItem $Mail.Subject = "Test E-Mail von PowerShell" $Mail.Body = "Dies ist eine Test-E-Mail, die mit PowerShell erstellt wurde." $Mail.Display() Write-Host "Das E-Mail-Fenster wurde angezeigt." [System.Runtime.Interopservices.Marshal]::ReleaseComObject($Mail) | Out-Null [System.Runtime.Interopservices.Marshal]::ReleaseComObject($Outlook) | Out-Null What is the problem? Could the problem be related to Windows group policies? If so, which ones? We have a lot of customers that have this problem so we need help asp. Thanks and best regards854Views0likes1CommentDeeplinking to an msteams app inside outlook
We recently upgraded our teams app to the new manifest and it's now available inside Outlook. I can't find any documentation on deeplinking to the app in Outlook like you can inside teams. Is this kind of functionality available in Outlook?271Views0likes1CommentUnable to create a new E5 Developer subscription
Hi all! I'm trying to apply for a free E5 Developer subscription, to try out an MS Teams apps and MS 365 add-ins development workflow, while my employer evaluates whether to get into the market. I've joined the MS 365 Developer Program with my personal account, and they say, I should see a big blue "Set up E5 subscription" button on my dashboard. The problem is - I have nothing in its place. Does anybody know if this program is still continued? Maybe I did something wrong in configuring my account? Any suggestions would be greatly appreciated. Cheers, Andrey3.4KViews0likes9Comments