-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
automate-intune-documentation-azure/ #14
Comments
Hey Aaron, thanks for this article, always good to try to automate the Intune environment. In the last step of the pipeline I receive an error with the Convert markdown to PDF step. ##[error]Bash wrote one or more lines to the standard error stream. Can you point me in the right direction to fix this? Thanks! Kind regards, |
Can you see |
Hi Aaron, thanks for the quick reply! When I remove the prod-as-built.md from the .gitignore file, it gets greated after running the pipeline (without any errors), but the .md file isn't being converted to an pdf-file. Any ideas left? ;) |
Hi Aaron, thanks for your article. I currently have an issue with the conversion of the markdown. If there are large image files in the backup I run into a RangeError. Tried shortening the lines by adding a cut command to the pipes but that didn't help. Can you suggest a solution to this problem? |
@SHellSys not something I've run into. What are the image files or what configuration are they stored in? |
I am rolling out corporate identity wallpapers on several OS (e.g. iOS Wallpaper JPEG in a configuration profile). They create a 612.000 column wide configuration block in the md file. Not just the image data but the whole configuration block is now that size, resulting in huge areas of whitespace. |
Hi Aaron, I just fixed the problem I mentioned by adding the parameter --maxlength=5000 to the IntuneCD-startdocumentation command. I also had to mark the two conversion steps to not fail on Stderr since md-to-pdf is printing a deprecation warning to the error channel. |
When using provided YML for pipeline creation in Azure DevOps, the pipeline fails with:
In PUBLISH section, step PULL ORIGIN. Any ideas what is going on and how YML/pipeline should be modified to get rid of this error? Thanks! |
ignore it..seems to be working on next run |
In the initial |
Not sure which particular pipeline step you mean? But the red error icon is only in the mentioned step. Anyway, if some change is made in the Intune environment and new pipeline run is being invoked, the problem is fixed...But on the next run (no change in the Intune is made) I again receive this error... I've customized the TAG name in my YML. Can this be related? |
You could try remove the |
Seems this helped thanks! |
Hey Aaron, i'm very interested to get this working in my environment but I do not seem to get it up and running. I get an error when te backup starts. Can you suggest a solution to this problem?
|
Hey Aaron, when I exclude the assignments IntuneCD-startbackup Almost everything works as expected. The pdf artifact is corrupt |
@hugo-kreuk the first error looks like an issue with IntuneCD, so you may need to log an issue on the IntuneCD repo. For the second issue, open the markdown in VSCode or similar, and see what that looks like. It will be a big file, but it might give some indication as to what the issue is. You can try a PDF conversion locally, and see what the generated file is like. |
Automate Microsoft Intune As-Built Documentation on Azure DevOps | Aaron Parker
Using Azure Pipelines to automate the backup of Microsoft Intune and generate an as-built document.
https://stealthpuppy.com/automate-intune-documentation-azure/
The text was updated successfully, but these errors were encountered: